I am using CLASSIC ASP with a stored procedure, the stored procedure has a date field that is not required.
I am trying to insert when there is no date entered on my form.
I have tried "", Null, NULL, vbNull.
edit: I am setting DOB to "" in the function call for this:
DOB = ""
if DOB = "" then
DOB = ????
End if
Set paramId = cmdStoredProc.CreateParameter("@DOB", adDBDate, adParamInput,0,DOB)
cmdStoredProc.Parameters.Append paramId
This with sql server 2008.
Any help is appreciated.