PC Review


Reply
Thread Tools Rate Thread

Creating Schema

 
 
Jack
Guest
Posts: n/a
 
      30th Dec 2005
In ADO.Net, can I create "create table ( ... )", "alter table ..." stuff,
and execute it to create my schema for MS-SQL2000?

Jack


 
Reply With Quote
 
 
 
 
W.G. Ryan - MVP
Guest
Posts: n/a
 
      30th Dec 2005
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.
"Jack" <jack@no_spam.com> wrote in message
news:%23%(E-Mail Removed)...
> In ADO.Net, can I create "create table ( ... )", "alter table ..." stuff,
> and execute it to create my schema for MS-SQL2000?
>
> Jack
>



 
Reply With Quote
 
Sahil Malik [MVP C#]
Guest
Posts: n/a
 
      31st Dec 2005
Yes you can.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
__________________________________________________________


"Jack" <jack@no_spam.com> wrote in message
news:%23%(E-Mail Removed)...
> In ADO.Net, can I create "create table ( ... )", "alter table ..." stuff,
> and execute it to create my schema for MS-SQL2000?
>
> Jack
>



 
Reply With Quote
 
Jack
Guest
Posts: n/a
 
      2nd Jan 2006
Thanks very much

"Sahil Malik [MVP C#]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Yes you can.
>
> - Sahil Malik [MVP]
> ADO.NET 2.0 book -
> http://codebetter.com/blogs/sahil.ma.../13/63199.aspx
> __________________________________________________________
>
>
> "Jack" <jack@no_spam.com> wrote in message
> news:%23%(E-Mail Removed)...
>> In ADO.Net, can I create "create table ( ... )", "alter table ..." stuff,
>> and execute it to create my schema for MS-SQL2000?
>>
>> Jack
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating xml document using schema Mikus Sleiners Microsoft C# .NET 1 26th Jan 2007 08:29 PM
Creating new schema object Brian Higgins Microsoft Windows 2000 Active Directory 6 6th Mar 2005 07:47 PM
Creating XML Schema Mark Broadbent Microsoft C# .NET 0 15th Jun 2004 12:52 PM
Creating xml schema Mark Broadbent Microsoft C# .NET 0 15th Jun 2004 12:46 PM
help MVP!! Creating a soap proxy from Schema AA Microsoft Dot NET 0 23rd Apr 2004 06:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 PM.