Viewing 5 posts - 1 through 5 (of 5 total)
For readability's sake if nothing else, I would probably wrap the RowNumber in a CTE and delete from there. It might even be more efficient, especially in the second...
September 22, 2010 at 3:38 am
Paul White (11/18/2009)
November 19, 2009 at 9:25 pm
Paul White (11/17/2009)
Matt Miller (#4) (11/17/2009)
I understand. And I came off a bit more agressive than I wanted to (sorry about that).
No worries 🙂
Matt Miller (#4) (11/17/2009)
November 17, 2009 at 8:48 pm
Paul White (11/14/2009)
sqlservercentralitgeekry (11/14/2009)
November 16, 2009 at 4:34 pm
Really interesting discussion guys. I do have one complaint about Hugo's alternative method, though.
Here in the relevant bit from Hugo's code.
INSERT INTO @Results(AccountID, Date, TransactionDetailID, Amount,
...
November 14, 2009 at 6:22 am
Viewing 5 posts - 1 through 5 (of 5 total)