update fields.

Danden

Registered User.
Local time
Today, 13:45
Joined
Jun 10, 2013
Messages
26
Hello,
I have a fields in column "description" which are empty and I want to update them with the data for example "D2".

Why this does not work?

update dbo_Zones set description ='D2' where description=""
 
Try


update dbo_Zones set description ='D2' where description Is Null
 
Thank you for tip.
 
Danden: happy to help

ChristopherL: That would only work if the field contained a single space, which would be unusual in my experience. Most common would be Null or a ZLS ("").
 

Users who are viewing this thread

Back
Top Bottom