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.
N 56°04'39.16"
E 12°55'05.25"
July 13, 2009 at 3:06 am
You can decide for yourself and make your mind up be reading about normalization rules
http://www.datamodel.org/NormalizationRules.html
N 56°04'39.16"
E 12°55'05.25"
July 13, 2009 at 1:49 am
You can use FOR XML EXPLICIT
N 56°04'39.16"
E 12°55'05.25"
July 13, 2009 at 1:48 am
His index problems are answered here
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=129182
N 56°04'39.16"
E 12°55'05.25"
July 13, 2009 at 1:45 am
See http://weblogs.sqlteam.com/peterl/archive/2009/03/19/NULL-NOT-IN-conundrum.aspx
N 56°04'39.16"
E 12°55'05.25"
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.
N 56°04'39.16"
E 12°55'05.25"
July 12, 2009 at 12:54 am
And if you also want to reuse the identity values, see
N 56°04'39.16"
E 12°55'05.25"
July 11, 2009 at 5:34 am
Another reason to use COALESCE instead.
N 56°04'39.16"
E 12°55'05.25"
July 11, 2009 at 5:19 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')
N 56°04'39.16"
E 12°55'05.25"
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...
N 56°04'39.16"
E 12°55'05.25"
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...
N 56°04'39.16"
E 12°55'05.25"
July 10, 2009 at 1:50 pm
July 10, 2009 at 12:31 pm
Another 4 page rant over here
N 56°04'39.16"
E 12°55'05.25"
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...
N 56°04'39.16"
E 12°55'05.25"
July 10, 2009 at 8:34 am
You're welcome.
N 56°04'39.16"
E 12°55'05.25"
July 10, 2009 at 8:24 am
Viewing 15 posts - 361 through 375 (of 2,171 total)