Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting NULL dates in SQL Server
Message
From
29/11/2008 10:38:28
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01364610
Message ID:
01364615
Views:
22
>Hello All:
>
>I am trying to programatically detect and change NULL dates in a SQL Server database. Is there a SQL passthrough command that can be issued to detect just NULL dates and replace them with a default date?
>
>Thanks in advance for any suggestions:

Something like

update yourtable set whatever='' where whatever is null

Unfortunately, you need to supply default values in script (AFAIK - if there's a trick, I'd like to know). There is no BLANK command.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform