Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting NULL dates in SQL Server
Message
 
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:
01364624
Views:
18
You can use IS NULL SQL operator (the same as in VFP) and provide the default date
UPDATE mytable SET DateCol = '<default date>' WHERE DateCol IS NULL
>
>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?
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform