Creating Schema

  • Thread starter Thread starter Jack
  • Start date Start date
J

Jack

In ADO.Net, can I create "create table ( ... )", "alter table ..." stuff,
and execute it to create my schema for MS-SQL2000?

Jack
 
jack:

Are you asking if you can write DDL Statements and Execute them against Sql
Server? If yes, than the answer is yes. Just set the commandtext property
of you SqlCommand object to the DDL Statement and use ExecuteNonQuery
afterward.
 
Back
Top