| View previous topic :: View next topic |
| Author |
Message |
Jacobs Contributing Member


Joined: 14 Feb 2007 Posts: 184
|
Posted: Tue Feb 27, 2007 3:32 pm Post subject: creata a table at run time |
|
|
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.
thanks |
|
| Back to top |
|
 |
net guru Contributing Member

Joined: 14 Feb 2007 Posts: 241 Location: New Delhi
|
Posted: Tue Feb 27, 2007 3:54 pm Post subject: |
|
|
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 |
|
 |
|