Viewing 15 posts - 2,581 through 2,595 (of 5,590 total)
Does this do it?
WITH CTE AS
(
SELECT ID, clientID, enrolldate, exitDate, branchID,
RN = ROW_NUMBER() OVER (PARTITION BY clientID ORDER BY exitDate DESC)
FROM...
November 2, 2010 at 2:48 pm
buddy__a (11/2/2010)
November 2, 2010 at 1:55 pm
SeanLange (11/2/2010)
... There are tons of people here willing to help.
Are you looking at my picture and extrapolating? :-D;-):w00t:
November 2, 2010 at 1:50 pm
Learner1 (11/2/2010)
November 2, 2010 at 1:49 pm
blandry (11/2/2010)
So, when you want to know a veteran techie, just ask "Whats a BBS?" I wonder how many SQL Central devotees can answer that question!
This is aging me,...
November 2, 2010 at 1:09 pm
roger.plowman (11/2/2010)
Today? Not...
November 2, 2010 at 1:07 pm
How about moving the correlated subquery into a derived table that you join against (as already specified). If you use an INNER JOIN, if there are no matches then the...
November 2, 2010 at 12:53 pm
Jack Corbett (11/2/2010)
Roy Ernest (11/2/2010)
November 2, 2010 at 12:44 pm
Roy Ernest (11/2/2010)
November 2, 2010 at 12:42 pm
Ninja's_RGR'us (11/2/2010)
Craig Farrell (11/2/2010)
Ninja's_RGR'us (11/2/2010)
Even if it makes no difference here, it should read : IF Object_id('tempdb..#tmp') IS NOT NULLWith tempdb.. missing you'll never have a hit on that id.
Hmmmm....
CREATE...
November 2, 2010 at 12:26 pm
Okay, then how about this. Don't worry about the delimiters yet... first load the file into a staging table. Go through this, counting the number of delimiters. If it's less...
November 2, 2010 at 12:22 pm
george sibbald (11/2/2010)
running every 10 seconds is...
November 2, 2010 at 11:54 am
David Burrows (11/2/2010)
Ooops!Thanks Wayne, forgot about that in my haste. :blush:
Actually, with the OP having close to 200 points, I would have assumed (s)he would have known what one...
November 2, 2010 at 11:30 am
Date field stored as varchar(8000) - what kinds of problems do you see coming up from this OP?
November 2, 2010 at 11:21 am
Are you sure that the dates are stored that way?
Could they be 01/01/2000? (zero padded days/months)
Or 01-01-2000? (zero padded days/months & different separator)
or 01.01.2000? (zero padded days/months & different separator)
or...
November 2, 2010 at 11:16 am
Viewing 15 posts - 2,581 through 2,595 (of 5,590 total)