Quantcast
Channel: Answers for "Rebuilding backup script using set based logic..."
Browsing all 6 articles
Browse latest View live

Answer by jjerome

I usually don't have any issues with using cursors, but here is an example script using a while statement for looping instead of a cursor. I modified it to somewhat to work with your code, but you'll...

View Article



Answer by Matt Whitfield

I really dislike cursors - but to be honest here is one example where they're not actually so bad. Cursors kill performance for large set based data operations. But - when you're running something like...

View Article

Answer by Phil Factor

I reckon that the whole thing can be done a lot simpler in SQL Server 2005/2008 (and 2000 if you don't have that many archives). I couldn't do all the testing as I don't have the archives. CREATE...

View Article

Answer by jjerome

I usually don't have any issues with using cursors, but here is an example script using a while statement for looping instead of a cursor. I modified it to somewhat to work with your code, but you'll...

View Article

Answer by Matt Whitfield

I really dislike cursors - but to be honest here is one example where they're not actually so bad. Cursors kill performance for large set based data operations. But - when you're running something like...

View Article


Answer by Phil Factor

I reckon that the whole thing can be done a lot simpler in SQL Server 2005/2008 (and 2000 if you don't have that many archives). I couldn't do all the testing as I don't have the archives. CREATE...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images