TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
natchaya khamkuna
NA
31
23.5k
How to handle datetime in query
Dec 22 2011 11:28 AM
Hi , I have problem with datetime , dig around google try but wonder why I can not.
In database keep nvarchar(1) like '20111010' and I'd like the result as date with no time. I try as following...
SELECT convert(datetime,'20111010',103)
the result still
2011-10-10 00:00:00:000
Actually , I want 10/10/2011
Help me please..
Natchaya....
Reply
Answers (
3
)
Columns to rows in sql server 2008
Is there a way to export XML from SQL using a stored procedure?