当前位置:
编程学习 >
C#/ASP.NET >>
呵呵。需要的人一定很多。Creating a SQL Server Database Programmatically
答案:
SQL provides statements to create new databases and database objects. You can execute these statements from your program to create databases programmatically. In this article, I抣l show you how to create a new SQL Server database and its objects such as table, stored procedures, views and add and view data. I抣l also show you how to change database table schema programmatically. You抣l see how SQL statement ALTER TABLE is useful when you need to change a database table schema programmatically. Not only that, this article also shows you how to view contents from a database table, stored procedures and views. | Mahesh Chand is the author of A Programmer's Guide to ADO.NET in C# |