Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Avoid 01-01-1900 00:00:00.000 in my select statement
Message
De
26/12/2008 16:04:22
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/12/2008 13:25:38
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
01369735
Message ID:
01369793
Vues:
10
>I'm using the one that comes with SQL 2005: Query analyzer.

I think you meant SQL server management studio. It does display null dates as nulls. Are you sure your daes are null? Check if it is really null. ie:
select orderID, shippedDate, 
 DateIsNull = case when shippedDate is null then 'YES' else 'NO' end 
 from Northwind..orders 
 order by shippedDate
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform