patternsqlMinor
Deleting NULL results
Viewed 0 times
nulldeletingresults
Problem
Currently I'm just trying to delete objects with the Name column being Null from a temp table with the following...
I've also tried
delete from #PulledData
where #PulledData.Name0 = NULLI've also tried
= 'NULL', = '%NULL%' etc. but nothing seems to work. I'd appreciate some help on the matter.Solution
You need to use
This could be fixed another way to use the
IS NULL.This could be fixed another way to use the
= syntax, but that option is going away soon.Context
StackExchange Database Administrators Q#21031, answer score: 4
Revisions (0)
No revisions yet.