Viewing 7 posts - 1 through 7 (of 7 total)
Thank you very much for the link to Sommarskog blog! This is a very informative article.
Tess
July 25, 2011 at 9:38 am
Thank you very much for the helpful response.
All of the database objects are within the same database, and all are under dbo. except for the audit tables, which are under...
July 25, 2011 at 9:36 am
Success!
I got the number of tics right, the conversions right, added another column to make the ordering more unique, and ... voila! It works 😀
Thank you everyone for pointing...
December 16, 2008 at 8:39 am
Thank you. The dynamic SQL version that doesn't use Row_Number()works fine. However, I'm having a problem getting the Row_Number() to work dynamically.
Here's where things break down...
Where I'd like to order...
December 15, 2008 at 4:03 pm
You are correct: the CTE does not return the results consistently. The same data row results with a different Row_Number() just by re-running the query. And the order by is...
December 11, 2008 at 3:14 pm
The largest table is ~8 million rows; other tables are about 3 and 5 million.
For performance, would you recommend using the temp table approach?
Cheers
December 9, 2008 at 12:02 pm
Thank you for the suggestion; I'll run the CTE alone and see what the row number is.
December 9, 2008 at 12:01 pm
Viewing 7 posts - 1 through 7 (of 7 total)