I saw this question in some other forum.How to do this without conversion?
-----------------------------------------------------------
Hi , i just want a select statement can bring me a date, but "DATETIME" !. I need it because later i want to perform other calculation with these dates.
select client_id,anydate from CLIENTS
and i got something like 1 2002-03-19 18:00
How can i simply get a date? (not a varchar).
----------------------------------------------------------
thanks
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
-----------------------------------------------------------
Hi , i just want a select statement can bring me a date, but "DATETIME" !. I need it because later i want to perform other calculation with these dates.
select client_id,anydate from CLIENTS
and i got something like 1 2002-03-19 18:00
How can i simply get a date? (not a varchar).
----------------------------------------------------------
thanks
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)