0
(0)

select 'alter database [' + name + '] set READ_ONLY WITH NO_WAIT
go'
from sys.databases where database_id>4

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.