Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

trunc function in sql server Expand / Collapse
Author
Message
Posted Sunday, April 17, 2011 10:15 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Sunday, July 10, 2011 10:10 PM
Points: 5, Visits: 4
Hi All,

I have to convert datetime to date( 2009-06-28 00:00:00.000 to 2009-06-28) how to do this in sql server,please help on this

Thanks
Venki
Post #1094706
Posted Sunday, April 17, 2011 11:24 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 1:12 AM
Points: 43,008, Visits: 36,166
Is this for display purposes?


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1094722
Posted Monday, April 18, 2011 2:32 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Tuesday, September 9, 2014 2:06 AM
Points: 1,949, Visits: 8,318
Please see this link

http://www.karaszi.com/SQLServer/info_datetime.asp




Clear Sky SQL
My Blog
Kent user group
Post #1094778
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse