Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 just pulling the date from date column..

Author  Topic 

eddie
Starting Member

45 Posts

Posted - 2002-02-11 : 10:07:48
How do I pull just the date from a datetime column...I don't want the time.

Thanks,
Eddie

Nazim
A custom title

1408 Posts

Posted - 2002-02-11 : 10:09:44
Check for Convert and Cast functions in BOL.

i think Convert(datetime,columnname,101) should do what you are looking for.


--------------------------------------------------------------
"Happiness is not something you experience, it's something you remember."



Edited by - Nazim on 02/11/2002 10:12:44
Go to Top of Page
   

- Advertisement -