Viewing 15 posts - 2,656 through 2,670 (of 3,348 total)
Chris Cradock (9/1/2010)
Given that 'having' should be executed after the aggregate has been formed, and code2 isn't in the column list, I don't see why the line is even valid
Why...
September 1, 2010 at 4:37 am
webrunner (8/31/2010)
August 31, 2010 at 12:59 pm
webrunner (8/31/2010)
August 31, 2010 at 8:26 am
brazumich (8/31/2010)
August 31, 2010 at 7:01 am
Toby Harman (8/30/2010)
Nice. Helps if I remember that 6 > 5 :blush:
:laugh: I feel your pain. I managed to miss the point as well - on my own question! :w00t:
Thanks...
August 31, 2010 at 1:13 am
Carlo Romagnano (8/30/2010)
nisan.al (8/29/2010)
The while statement dont not stop because @i will never be equal to 1
So how come the following select return...
August 30, 2010 at 1:46 am
cwcridindirty (8/27/2010)
Table variables can be truncated.
Are you sure?
DECLARE @Vendors TABLE
(VendorPK int,
VendorName varchar(50),
VendorStatus char(1));
TRUNCATE TABLE @Vendors;
Msg 102, Level 15, State...
August 27, 2010 at 4:03 pm
Casper101 (8/26/2010)
There are many constraints on this table as well.
What...
August 27, 2010 at 1:16 am
dogramone (8/26/2010)
This really highlights why I don't like SQL Server's implicit data type conversion.
Good point. Always ensure your types match, or use explicit conversion when they don't.
(Though the empty string...
August 27, 2010 at 1:07 am
frodriguez.im (8/26/2010)
what is an empty value? AFAIK, NULL is the only way to leave a field empty!
For string columns and variables, the empty string is an often-used synonym for the...
August 27, 2010 at 12:41 am
sku370870 (8/24/2010)
Is the trigger below correctly written? The reason I ask is that when I look in the Audit tables I often see what look like duplicated entries.
It is not...
August 26, 2010 at 2:33 am
Last comment, and then I'll shut up (for now)
Open Minded (8/26/2010)
August 26, 2010 at 2:21 am
stewartc-708166 (8/25/2010)
August 26, 2010 at 2:18 am
da-zero (8/26/2010)
I do not really understand how the scope of the type variable works. It seems you can define it over and over again, without an error being thrown?
and
martin.whitton (8/26/2010)
August 26, 2010 at 2:15 am
Viewing 15 posts - 2,656 through 2,670 (of 3,348 total)