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.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 unable to insert NULL for ' '

Author  Topic 

arunsqladmin
Yak Posting Veteran

74 Posts

Posted - 2008-04-30 : 05:09:16
i have a table which has a column with datetime datatype... there is an application which inserts a blank space '' but gets inserts the value 1/1/1900 in that table. . is there any way which inserts a NULL into the table

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-04-30 : 05:11:37
NULLIF(@Param, '')



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -