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
Ronak Patel
NA
84
13.4k
DateTime Format In SQL
Mar 11 2016 5:05 AM
pls Resolve this Issue..
DECLARE @Stdate varchar(20)
SET @Stdate = CONVERT(VARCHAR(20), '31/03/2016', 111)
SELECT (DATEADD(MONTH, 12 , @Stdate)) AS EndDate
Error
Msg 242, Level 16, State 3, Line 34
The conversion of a varchar data type to a datetime data type resulted in an out-of-range value.
Reply
Answers (
6
)
I am not getting output in JSON format
Php