Viewing 15 posts - 1,756 through 1,770 (of 3,957 total)
Gentlemen,
We are all gentlemen here right? Is it too late to join the party, or skirmish as the case may be?
How's this one stack up in your test harness...
July 3, 2013 at 1:05 am
erikd (7/2/2013)
dwain.c (7/2/2013)
July 2, 2013 at 9:44 pm
Jeff Moden (7/2/2013)
July 2, 2013 at 9:28 pm
Jeff Moden (7/2/2013)
@timscronin,From your initial and follow-up descriptions, it looks like Scott's solution works. Are you all set now or do you still need some help?
Good idea there to...
July 2, 2013 at 9:16 pm
Oh and BTW, I was getting times of around 65000 ms (for PatternSplitCM) on my clocked down laptop against the 1,000,000 rows of random phone numbers I was generating in...
July 2, 2013 at 9:14 pm
You're going to have a bit of a problem if you're using SQL 2005.
You don't need to worry about PatternSplitLoop as it is not the fastest of the methods. ...
July 2, 2013 at 9:11 pm
Erik - Just because your Prod system doesn't have a million rows to test against, doesn't mean you can't test against a million rows!
The test harness in the article demonstrates...
July 2, 2013 at 8:07 pm
erikd (7/2/2013)
I work with a lot of tables, but none of them are very large.
Please don't get me wrong when I say this. That is today. Once...
July 2, 2013 at 7:18 pm
Learner44 (7/2/2013)
I am executing bunch of Insert satements as follows:
use Testing
go
INSERT INTO Table_Update(TableName,StartlastWritten) SELECT 'Students'As Tbl, MAX(LASTWRITTEN) AS StartLastWritten FROM [10.198.68.39]..dbo.Students;
.
.
.
.
.
INSERT INTO Table_Update(TableName,StartlastWritten) SELECT 'teachers'As Tbl, ...
July 2, 2013 at 6:56 pm
Eliot's answer is basically correct but you could use the OUTPUT statement instead of a trigger.
Something like:
CREATE TABLE #StatusChanges (Status1 VARCHAR(20), Status2 VARCHAR(20));
UPDATE YourTable
SET Status = 'Approved'
OUTPUT DELETED.Status, INSERTED.Status
INTO #StatusChanges
WHERE...
July 2, 2013 at 6:50 pm
erikd (7/2/2013)
July 2, 2013 at 6:39 pm
Lynn Pettis (7/1/2013)
I made it to Bagram last night but looks like I get to hang out here another day (at...
July 2, 2013 at 6:15 pm
Sean Lange (6/27/2013)
DataAnalyst011 (6/27/2013)
July 2, 2013 at 12:48 am
Perhaps using an AFTER INSERT TRIGGER?
July 2, 2013 at 12:39 am
dwain.c (6/5/2013)
I was able to get the thing to work by changing this line in the SP:
,@useself='TRUE', @locallogin='myaccount';
To something...
July 2, 2013 at 12:37 am
Viewing 15 posts - 1,756 through 1,770 (of 3,957 total)