dbTalk Databases Forums  

date from datetime

microsoft.public.sqlserver.mseq microsoft.public.sqlserver.mseq


Discuss date from datetime in the microsoft.public.sqlserver.mseq forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
saurabh Saxena
 
Posts: n/a

Default date from datetime - 03-02-2004 , 06:13 PM






Does anybody knows how can i reterive date from datetime
field .i don't want time .Thanx in advance

Reply With Quote
  #2  
Old   
Ray Higdon
 
Posts: n/a

Default Re: date from datetime - 03-02-2004 , 07:23 PM






See cast and convert in BOL

convert(varchar,datecolumn,112)

--
Ray Higdon MCSE, MCDBA, CCNA
---
"saurabh Saxena" <saurabhs (AT) vit (DOT) ac.in> wrote

Quote:
Does anybody knows how can i reterive date from datetime
field .i don't want time .Thanx in advance



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.