Pages
Home
React JS
React Native
SQL Server
C#.net
Interview
Videos
Angular
ASP.Net
AJAX
Contact Us
8 January 2014
SQL Query Date in MMM DD YYYY format example
declare
@date
date
set
@date
=
GETDATE
()
print
(
convert
(
char
(
3
),
@date
,
0
)+
' '
+
(
cast
(
day
(
@date
)
as
varchar
))+
' '
+
cast
(
year
(
@date
)
as
varchar
))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment