Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting NULL dates in SQL Server
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01364610
Message ID:
01364624
Vues:
17
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform