DBCC SHRINKFILE 1 sproc for multiple databases

Posted by user67545 on Stack Overflow See other posts from Stack Overflow or by user67545
Published on 2010-03-30T20:47:31Z Indexed on 2010/03/30 20:53 UTC
Read the original article Hit count: 423

Filed under:
|
|
|

I have a need to execute DBCC SHRINKFILE for multiple db's within the same sproc. I could create multiple sprocs so it runs within the given context, but I was curious if there were alternatives?

© Stack Overflow or respective owner

Related posts about sql

Related posts about sql-server-2008