Viewing 15 posts - 361 through 375 (of 2,171 total)
There is a comment which deals with NULL and NOT EXISTS.
Read the comments in the link I posted earlier.
July 13, 2009 at 3:06 am
You can decide for yourself and make your mind up be reading about normalization rules
July 13, 2009 at 1:49 am
July 12, 2009 at 12:39 pm
The "trick" is the INTEGER division made up by "/ 7 * 7"
The first division divides by seven and discards the fractional part.
Then the integer part is multiplied by seven.
July 12, 2009 at 12:54 am
And if you also want to reuse the identity values, see
July 11, 2009 at 5:34 am
DECLARE@num NUMERIC(15, 0),
@dt DATETIME
SELECT@num = 20090616052600,
@dt = '20090316 22:27:20'
SELECTDATEDIFF(HOUR, '20090316 22:27:20', '20090616 05:26:00'),
@num,
@dt,
DATEDIFF(HOUR, @dt, STUFF(LEFT(@num, 10), 9, 0 ,' ') + ':0')
July 10, 2009 at 3:04 pm
Is it possible for you to attach the execution plan in "graphical" or xml ?
The *.sqlplan file will do!
From what I can see the two executions plans are different...
July 10, 2009 at 2:19 pm
I have seen various execution plans depending on the order of tables in the FROM part.
In most cases, there will be no difference because SQL Server rearranges them in an...
July 10, 2009 at 1:50 pm
July 10, 2009 at 12:31 pm
Another 4 page rant over here
July 10, 2009 at 11:24 am
If the CHECKSUM is deemed as acceptable function for hashing out values (1 chance in 16,777,215), using this code gives one chance in 3,047,466,240 to get a duplicate value!
DECLARE @Codes...
July 10, 2009 at 8:34 am
Viewing 15 posts - 361 through 375 (of 2,171 total)