Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
realdrouin
Starting Member
4 Posts |
Posted - 2009-10-16 : 09:10:41
|
| I'm have a file with multiple date fields.When I'm inserting a record, by default, SQL Server set a default date. I don't want it, I want those fields to stay blank. how can I do it ?ThanksReal |
|
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2009-10-16 : 09:25:56
|
you can try to insert NULL as value. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
|
blindman
Master Smack Fu Yak Hacker
2365 Posts |
Posted - 2009-10-16 : 09:42:47
|
| Either you have a default defined on your column, or your application is submitting a default date (likely "0") without your knowledge.________________________________________________If it is not practically useful, then it is practically useless.________________________________________________ |
 |
|
|
realdrouin
Starting Member
4 Posts |
Posted - 2009-10-16 : 10:19:19
|
| Wow, thank you for your help. My SP was assigning blank, not null. It's working fine now. Thanks |
 |
|
|
|
|
|