Hello, I've read the FAQ but couldn't see the answer there. Not much luck googling either.
The question is simple. How do I pass a NULL value to a stored procedure that's expecting a datetime value?
![[elephant2] [elephant2] [elephant2]](/data/assets/smilies/elephant2.gif)
graabein
The question is simple. How do I pass a NULL value to a stored procedure that's expecting a datetime value?
Code:
cmd.ActiveConnection = myConnection
cmd.CommandType = adCmdStoredProc
cmd.CommandText = "usp_StoredProc"
cmd.Parameters.Append cmd.CreateParameter("@Number", adInteger, , , nIntValue)
cmd.Parameters.Append cmd.CreateParameter("@Date", adDate, ...
![[elephant2] [elephant2] [elephant2]](/data/assets/smilies/elephant2.gif)
graabein