Viewing 15 posts - 16 through 30 (of 656 total)
it also makes no attempt to validate the string you pass in, soSELECT PARSENAME('x.y.z', 3)
will always return 'x'
ie it's a simple string-parsing method.
Surely...
December 6, 2018 at 2:40 am
also not so easy for anyone who answers based on the actual question 😉
November 22, 2018 at 2:25 am
Personally I would cast everything in sight to a decimal - implicit conversions are a complete pain, explicit casting will guarantee the correct result.
October 19, 2018 at 1:56 am
I don't think that's the right answer. It always returns nvarchar - but if the input is invalid then the nvarchar value is NULL
If you run select...
October 4, 2018 at 4:28 am
Got this right as I was hit by it a while back. Still feels like a bug to me, but Microsoft say not so it can't be 😉
You have...
September 21, 2018 at 1:39 am
Never mind the duplicate answers. Under what circumstances would it be a good idea to have ANSI_NULLS set to OFF?
July 31, 2018 at 10:00 am
July 12, 2018 at 10:18 am
morlindk - Tuesday, July 3, 2018 3:00 AMSo simple. Amazing 32% can get it wrong!
Not that amazing when you consider that the...
July 6, 2018 at 2:15 am
June 15, 2018 at 3:35 am
April 10, 2018 at 9:20 am
Never used the function, but didn't need to know anything about it - there's no where clause, no distinct, so must return 5 rows or give an error, and given...
April 10, 2018 at 2:22 am
If that one is correct, then the first option is also correct 😉
The short lesson for all of these context_info questions is surely not to rely on any...
April 9, 2018 at 9:38 am
March 1, 2018 at 10:13 am
Yup, should definitely be Binary Data, the fact that some other data types get implicitly converted is irrelevant.
February 13, 2018 at 2:09 am
Bit of a strange question, teaching me about something I wasn't aware of but which I won't ever use as it's been deprecated!
February 8, 2018 at 1:56 am
Viewing 15 posts - 16 through 30 (of 656 total)