|
-
Aug 23rd, 2005, 01:20 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] passing null in a datetime field in my SP.
hi,
How to pass a null value in my StoredProc in DateTime field. If i pass null parameter it give me an error message. Anyone can help me.
Popskie
-
Aug 23rd, 2005, 01:45 AM
#2
Re: passing null in a datetime field in my SP.
A null reference and a null field are two completely different things. To make a database field or parameter null you need to set it to DBNull.Value.
-
Aug 23rd, 2005, 01:58 AM
#3
Thread Starter
Fanatic Member
Re: passing null in a datetime field in my SP.
thanks for your answer Jm it really work great.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|