Viewing 15 posts - 57,001 through 57,015 (of 59,066 total)
Like I said, unless there is something to force the order of the Task Description (another column, usually), there is no guarantee that the descriptions will come out in the...
January 30, 2007 at 4:42 am
Hi Ryan,
What did you come up with for the largest prime number found and how many prime numbers? I wanna make sure I'm doing it right...
January 29, 2007 at 8:31 pm
DO NOT USE @@IDENTITY because it is not scope sensitive... use SCOPE_IDENTITY() instead.
January 28, 2007 at 10:15 pm
Cool... forgot about the mod. Thanks...
January 26, 2007 at 5:56 pm
Heh... you're right... no underscore... I shouldn't type late at night ![]()
Don't get me wrong... I love BCP! I love it's ability to log,...
January 26, 2007 at 6:41 am
I agree with some of the others... the tone of the article is a bit distracting and takes away from the good technical content.
It would also be nice if...
January 25, 2007 at 10:33 pm
Using joins, create an "UPSERT"...
UPDATE where there's a match... INSERT where there isn't.
January 25, 2007 at 9:30 pm
Might also want to check performance and resource usage of both... statement 2 is a correlated subquery and they can be quite greedy depending on the tables involved.
January 25, 2007 at 8:37 pm
Heh... and I wouldn't do any of it in DTS.
January 25, 2007 at 8:30 pm
This is a different problem... can be more easily done with the GROUPING key word in a group by. But not possible either way unless we know what is the PK...
January 25, 2007 at 8:28 pm
BCP is more robust.
BULK_INSERT is the fastest but not by a lot.
Both are nasty fast but BULK_INSERT can be run through a query without a trip through xp_CmdShell. xp_CmdShell requires...
January 25, 2007 at 8:22 pm
CSDunn,
You can either use the forumla in the following in a UDF or directly...
SELECT DATEADD(yy,[Last Sale Date]/1000-1900,[Last Sale Date]-([Last Sale Date]/1000*1000)-1) AS [Last Sale Date] FROM dbo.tblPaymHistCurrentWeek
January 25, 2007 at 8:17 pm
A view that looks like the following would certainly do it (untested)...
SELECT d.FirstName = MIN(CASE WHEN d.PropertyName = 'FirstName' THEN d.PropertyValue ELSE '' END),
d.LastName = MIN(CASE WHEN d.PropertyName...
January 25, 2007 at 7:29 pm
Wayne,
Whether I agree with the premise of using WITH (NOLOCK) or not, your post did what all good posts are supposed to do... spark pro/con conversation.
Thought I'd reward you...
January 25, 2007 at 8:29 am
Viewing 15 posts - 57,001 through 57,015 (of 59,066 total)