Viewing 15 posts - 121 through 135 (of 221 total)
Nice try...
Quite interestingly, not even the link to the supporting MSDN article is correct.
February 8, 2017 at 3:16 am
Russell Shilling (1/10/2017)
The
isnull(left(@b,3),'I ô Char') as ba
will also return the string. The left function of
January 10, 2017 at 11:34 pm
Thank you very much, Uwe!
That was a very enlightening question and explanation. Definitely something to add to the tool belt for those pesky edge cases.
January 5, 2017 at 3:47 am
Not quite sure I agree with the answer. There is a difference between what I must do and what I should do. According to the quoted article you do not...
October 28, 2016 at 12:54 am
barry.mcconnell (10/11/2016)
Interestingly, if you examine Information Schema Columns, the table only has 3 columns.
I'd be a lot more surprised if there were more columns than that. Without a name or...
October 11, 2016 at 7:40 am
Ed Wagner (10/11/2016)
October 11, 2016 at 5:32 am
This is a quite uesful anomaly. It allows for easy cut'n'paste between table creation scripts, without worrying about deleting any trailing commas or having commas between constraints.
October 11, 2016 at 12:38 am
Nice'n'easy!
Funny part in the docs:
[ @language = ] 'language'
Can be any supported language that has been registered by using xxx. language is sysname.
Valid values are 'R'.
How do I invoke xxx?:-P
October 7, 2016 at 12:48 am
Nice question, but the correct answer is as usual: "It depends". In this case on the setting of ANSI_NULLS.
September 26, 2016 at 12:34 am
Good question, but a small nit-pick:
"The syntax of the batch is correct" is not really an output of the batch, but the conclusion of the parser. That message doesn't appear...
September 23, 2016 at 12:23 am
shaneoneillis (9/15/2016)
Interesting how it fails with no error, thanks Steve!
Disregarding the fact that it doesn't, of course...:-P
September 15, 2016 at 2:46 am
Mighty (9/15/2016)
+1Reading this question, it seems logical to assume that there is a record with id 2.
And also assume that it's original value for the HireDate falls within the CHECK...
September 15, 2016 at 1:51 am
Magnus Ahlkvist (9/15/2016)
When I try to update a view (defined using WITH CHECK OPTION) with a value which makes the row fall outside...
September 15, 2016 at 1:34 am
Viewing 15 posts - 121 through 135 (of 221 total)