Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Create a SQL Database Programmatically

, 24 Oct 2008 CPOL
In this article, I will explain how to use Microsoft SQL Management Objects (SMO) to create a Microsoft SQL database from C# code.
createdb.zip
CreateDB
bin
Debug
CreateDB.exe
CreateDB.vshost.exe
CreateDB.vshost.exe.manifest
Release
CreateDB.vshost.exe
CreateDB.vshost.exe.manifest
Properties
Settings.settings

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Moustafar
Architect Genetic Thought Software Inc.
Canada Canada
Over 20 years of experience developing software solutions, leading the Architecture, Design, and Refactoring of many large projects. At FCT led the architecture for several project in parallel, Motion (Releases 7, 8 and 9), Integrating with 3rd party providers (PPSA/Chattel Project) and the identity management initiative among others. At Bell/ Sympatico MSN web modernization project led the BizTalk development team, delivered the solution architecture, developed the core framework, mentored and supported the team members on the Solution and BizTalk technical issues. At Siemens led the architecture, design and implementation of the Real time server and Newscaster for the HiPath Pro (A CRM System). Holds IEEE/CSDP, MCSD (6.0, and .Net) and Oracle certifications. Act as a referee for the IEEE Software magazine. With International and US experience in Financial, Insurance, Retail, Marketing and Telecommunications services automation.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.1411022.1 | Last Updated 24 Oct 2008
Article Copyright 2008 by Moustafar
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid