Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

identify default min value

$
0
0

hi all,

i have a table call 'transaction' and structure is like bellow

TransactionDateTime

2012-08-10 22:00:00.000

2014-01-01 20:15:00.000

2013-01-01 11:00:00.000

1753-01-01 00:00:00.000

if you look at the last row ..it looks like this row was populated  in to default min date value because SQL is not allowed insert null values to datetime fields,

so how do i write a select statement if the row value has  sql min value then should return   empty string ....

could some one help on this please

thanks

regards

suis

  


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>