Viewing 15 posts - 136 through 150 (of 191 total)
For educational purposes, I would genuinely appreciate it if one of the folks who take issue with the "most of the time" factor could illustrate a scenario in which that...
December 21, 2010 at 6:05 am
I'm completely confused by this explanation. Especially this part:
However, since the last insert in the second Transaction was invalid, no rows were inserted into table2. So B not C...
December 20, 2010 at 6:23 am
Excellent question. I came up with five or six possible reasons why the SP might not work, and ruled each of them out in turn. Of course I...
November 18, 2010 at 5:45 am
tommyh (11/16/2010)
Richard Warr (11/16/2010)
November 16, 2010 at 5:49 am
I'll throw in my proper case function just for laughs...
ALTER FUNCTION [cf_ProperCase] (@String varchar(MAX))
RETURNS varchar(MAX)
AS BEGIN
DECLARE @ReturnString varchar(max),
...
October 18, 2010 at 6:19 am
I had to stare at it a long while, but I finally came up with the right answer without running any queries or researching... woo-hoo! :w00t: Nice question!
ron
September 8, 2010 at 5:46 am
I don't claim to be an expert on the subject, but when faced with a query like this:
SELECT field
FROM table
WHERE (field LIKE '%A%') OR (field LIKE '%B%')
I find I get...
August 31, 2010 at 6:06 am
Great question. I was torn between the correct answer and the single record returning 0... I don't mind having gotten it wrong. 😀
ron
August 31, 2010 at 5:57 am
Yep, I've been bitten by that one more than once. Until you learn that int/int "gotcha" it can be nearly impossible to troubleshoot a script that is experiencing it....
August 3, 2010 at 5:35 am
Good question. In retrospect it seems obvious, and I think that's why I didn't go with the obvious answer. Like others I researched the question as far as...
July 15, 2010 at 5:46 am
Tom Garth (7/13/2010)
I've only used semi-colons for multiple short statements on a single line. I've never heard any pros or cons regarding using them or not using them.
As I understand...
July 13, 2010 at 6:40 am
I saw the semicolon, said "well that looks wrong," and then proceeded to ignore it completely and got the answer wrong. Shows how smart I am.
July 13, 2010 at 5:34 am
This is a great question, and I'm proud that I managed to work out the correct answer once I realized the first statement was going to try and cast 'test'...
June 23, 2010 at 5:30 am
Viewing 15 posts - 136 through 150 (of 191 total)