Viewing 15 posts - 1 through 15 (of 215 total)
I got wrong answer. I assume that all these can be converted int only but newid will throw error if we convert into integer.
July 8, 2015 at 5:23 am
Nice question. Confused with first two answers.
November 13, 2014 at 9:53 pm
yes. Is not working. If any body knows samples . please let me know.
March 12, 2014 at 4:06 am
Carlo Romagnano (6/19/2013)
Richard Warr (6/19/2013)
Msg 242, Level 16, State 3, Line 7
The conversion of a varchar data type to a datetime data type resulted in...
June 19, 2013 at 3:04 am
Easy question and more over its fun. I also had done this in many times.
May 27, 2013 at 8:52 am
Multiple Active Result Sets (MARS) set to true
May 23, 2013 at 12:39 pm
You try like this
declare @variable varchar(max)='water call came at 10.00 PM to pay the bill'
select substring(@variable,PATINDEX('%[0-9]%',@variable),8)
GO
declare @variable varchar(max)='water 4.45 PM at to pay the bill'
select substring(@variable,PATINDEX('%[0-9]%',@variable),8)
go
declare @variable varchar(max)='water call 24/12/35...
May 23, 2013 at 11:27 am
Viewing 15 posts - 1 through 15 (of 215 total)