Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Avoid 01-01-1900 00:00:00.000 in my select statement
Message
From
26/12/2008 16:04:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/12/2008 13:25:38
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01369735
Message ID:
01369793
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform