Viewing 15 posts - 1 through 15 (of 31 total)
Stewart "Arturius" Campbell (9/19/2013)
bclavier (9/19/2013)
SQL server 2005Msg 139, Level 15, State 1, Line 0
Cannot assign a default value to a local variable.
<snip>
this will be expected pre SQL2008. for...
September 19, 2013 at 2:09 am
Interesting.
I failed because I didn't remember the discussion about the QOTD from the other day. There it were made abundantly clear that the declaration and assignment were made in two...
September 19, 2013 at 1:37 am
Hugo Kornelis (9/7/2013)
+1
Also: I didn't have any trouble ending up with NULL in @X. As Hugo states, but in other words:
If you set a variable, you have to...
September 9, 2013 at 12:24 am
Nadrek (3/21/2013)
DELETE FROM + Reset Identity
and
DROP TABLE(etc.) + CREATE TABLE(etc.)
For me, the clincher was...
March 22, 2013 at 1:48 am
Dave62 (1/19/2013)
Here is the exact text. "How many row(s) are affected by the following code in the estimated execution plan?"
As you can see, the estimated execution plan is clearly stated....
January 21, 2013 at 12:52 am
Hugo Kornelis (1/11/2013)
I don't really agree with the answer marked as correct.<snip the arguments for brevity>
+1
I have gotten used to the OUTER JOIN version myself, and for much the same...
January 11, 2013 at 3:00 am
I concur with many here. It were somewhat of a disappointment to end up with some alias-stuff after spending quite some time looking for the column not being aggregated, or,...
January 9, 2013 at 7:49 am
Argh!
I did read the docs, but I got too focused on the index creation itself, which will fail if numeric_roundabort is on, but the info on update/insert etc. didn't really...
December 17, 2012 at 12:46 am
I agree with Koen. Those are statements. As the estimated execution plan doesn't know better it will divide this up into 8 parts. Why the quoted_identifier setting always will go...
November 28, 2012 at 12:36 am
Damn!
Got the go part right, but didn't read the select closely enough.
But good to remember this way to create an exponentially rising number of records in a hurry.
Thank you for...
September 18, 2012 at 12:40 am
Bronzo (9/13/2012)What I found most interesting is in SSMS the change to the batch seperator option is not picked up immediately by your open windows. You actually need to open...
September 14, 2012 at 12:31 am
Argh!.
Returning to some old questions, I thought I would just check out this one.
I were hazy on what I could do with snapshots, so I ended up on the referenced...
August 28, 2012 at 3:37 am
Nice question. Thanks.
I have in fact been bitten by this behaviour on occasion, so I could recognize the pattern of possibilities.
August 27, 2012 at 5:54 am
Viewing 15 posts - 1 through 15 (of 31 total)