sodakotahusker
Programmer
- Mar 15, 2001
- 601
I am using direct sql statements to insert into and update a sql table. When I have a date value where nothing has been input I am sending in an empty string. What gets stored in the database is 1/1/1900. I have been tweaking stored procedures for years changing that to an empty string. There must be a more elegant solution than massaging values. What can I pass to SQL as a value to have it store a null? I assigned a vbnull and it stored as 1/2/1900.