Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

creating the database

Status
Not open for further replies.

akshita

Programmer
Mar 26, 2002
25
0
0
IN
hi friends,


i am creating database through code in vb.now when i create table i want to give a particular field should have "allow zero length" to be true .i.e it should accept null values

for example in this suppose i want that recdate should accept null values.

strTable = "create table tdialogic1("
strTable = strTable & " srno varchar(50),name varchar(40)NULL,disdate datetime,dudate datetime ,recdate varchar(20)NULL )"
Conn.Execute (strTable)


how can i do it

akshita

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top