pelegk1
11-27-2005, 02:33 AM
i have a view which has some select's using inner and outer jjoins
in some of the rows i recive null on the datetime column(which is ik)
the problem is when i am trying to compare something like
select * from v_myview where lastDate >= CONVERT(DATETIME, '10/10/2005', 103))
which give me an error message of ;
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
any idea how can i solve this?how can i add in the wehre or what to add so the rows with the null values will be ignored?
thnaks in advance
peleg
in some of the rows i recive null on the datetime column(which is ik)
the problem is when i am trying to compare something like
select * from v_myview where lastDate >= CONVERT(DATETIME, '10/10/2005', 103))
which give me an error message of ;
The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.
any idea how can i solve this?how can i add in the wehre or what to add so the rows with the null values will be ignored?
thnaks in advance
peleg