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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Field To Allow Zero Length Records

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
Hello, using ASP 2.5\ADO I can add new fields to my tables with no problem using syntax such as: ALTER TABLE app ADD COLUMN Item CHAR(25).

How can I programatically set the field so as it WILL allow Allow Zero Length Records?

Thanks, Michael
 
I believe the NULL keyword may be what you are looking for, either that or it will default to allow nulls and you use NOT NULL to specify you don't want 0 length fields, sorry I couldn't be of more assistance, memory's shot
-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...) :p
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top