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 |
|
jim65
Starting Member
35 Posts |
Posted - 2006-04-20 : 16:51:43
|
| update dbo.adBorrowerEntityset ContactFYE = '12/31/2005'where ContactFYE = NULLI have a smalldatetime ContactFYE, when I run this, it doesn't work. Thanks. |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-04-20 : 19:38:15
|
[code]update dbo.adBorrowerEntityset ContactFYE = '12/31/2005'where ContactFYE is NULL[/code] KH |
 |
|
|
jim65
Starting Member
35 Posts |
Posted - 2006-04-20 : 20:23:21
|
| got it, Thanks |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-04-21 : 02:17:34
|
| You should always use IS to compare with NULL. Null cant be compared with columns using =MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|