|
-
Apr 27th, 2013, 12:58 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Create Table
Hi
I am creating table through coding , i want active field should have default value = "Y"
sql = " CREATE TABLE Test" & "" _
& " (tcode nvarchar(10) NOT NULL Primary Key, " _
& " tname nvarchar(100) NULL," _
& " active nvarchar(1) NULL," _
& ")"
cnn.Execute (sql)
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|