ISNULL is a convenient default setter for a string column usually to empty string ''.
With a DateTime column you have to pick a characteristic date like the following:
SELECT ISNULL(<ColumnName>, '1900-01-01') from <TableName>
Happy Coding
Print | posted on Monday, December 04, 2006 5:14 PM |
Powered by:
Copyright © Ram Shankar Yadav