469,579 Members | 1,157 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,579 developers. It's quick & easy.

year month date format?

nirmalsingh
218 100+
hai all,
i would like to have a sql server date function to fetch my datetime field as yyyy-mm-dd. ur assistance is appreciated. thanx in advance.
Jun 30 '07 #1
1 1943
ck9663
2,878 Expert 2GB
hai all,
i would like to have a sql server date function to fetch my datetime field as yyyy-mm-dd. ur assistance is appreciated. thanx in advance.

check the datepart() function
Jul 2 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by John Hunter | last post: by
1 post views Thread by manning_news | last post: by
5 posts views Thread by Kasrav | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.