dev-exchange.com logo

dev-exchange.com topic RSS feed

Book mark: Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your delicious account Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your digg account Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your blinklist account Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your reddit account Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to Dzone Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your furl account Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your stumble account Add http://www.dev-exchange.com/viewtopic.php?t=135&start=0&postdays=0&postorder=asc&highlight=&sid=09c33e78bfe47ab767560a6c4d1546bd to your Yahoo myweb account
creata a table at run time

 
Post new topic   Reply to topic   printer-friendly view    dev-exchange.com Forum Index -> Microsoft SQL SERVER
View previous topic :: View next topic  
Author Message
Jacobs
Contributing Member
Contributing Member


Joined: 14 Feb 2007
Posts: 184

PostPosted: Tue Feb 27, 2007 3:32 pm    Post subject: creata a table at run time Reply with quote

hi,

i need to create a sql server table from an application.
There are two fields(ID , NAME) for table called 'VIEWDATA'. id field is auto number.
please show me create table statement for this.

Confused
thanks
Back to top
View user's profile Send private message
net guru
Contributing Member
Contributing Member


Joined: 14 Feb 2007
Posts: 241
Location: New Delhi

PostPosted: Tue Feb 27, 2007 3:54 pm    Post subject: Reply with quote

You should be able to do this. something like.

Create table VIEWDATA(ID Int not null IDENTITY Primary key,
NAME varchar(55));



i havent tested this but you can play around with this and get it working.
_________________
Thanks

NET GURU
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    dev-exchange.com Forum Index -> Microsoft SQL SERVER All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


© 2008 dev-exchange.com
Powered by phpBB. Theme DEVPPL.