Pages - Menu
(Move to ...)
Home
About Us
Contact Us
▼
Tuesday, 6 May 2008
using convert function filter time or date only from datetime column
SELECT
convert
(
char
(
11
),
getdate
(),
109
)
May 6 2008
SELECT
convert
(
char
(
8
),
getdate
(),
108
)
12:51:32
and so on u can change according input different char length and style value
1 comment:
Mushtaque
26 July 2008 at 23:39
i want to change year in date field in sql 2005
Reply
Delete
Replies
Reply
Add comment
Load more...
‹
›
Home
View web version
i want to change year in date field in sql 2005
ReplyDelete