dbTalk Databases Forums  

Re: Date

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


Discuss Re: Date in the microsoft.public.sqlserver.mseq forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ray Higdon
 
Posts: n/a

Default Re: Date - 07-18-2003 , 04:08 AM






Do you mean grab the month in a date? If so you could say

select datepart(mm,datecolumn) from tablename

HTH

Ray Higdon MCSE, MCDBA, CCNA

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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.