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)
 sql date

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-05-26 : 06:58:03
toni writes "I am unable to split a date time into mmddyy format. I have a table that has dates with time for example 2004-04-20 11:04:00 and would like to create a view with the date as 2004-04-20 ignoring the time factor. Please help. "

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2004-05-26 : 07:57:32
select convert(varchar(10), getdate(), 103)
Go to Top of Page
   

- Advertisement -