Comments posted to this topic are about the item Build a script for CREATE DATABASE/FOR ATTACH
Thank you! looks like a great script. the 150gb database I am working with has 43 files. Hope it works.
Very handy script, saved me a lot of hassle when I realised joining from master.sys.databases to master.sys.master_files to generate this kind of script just wasn't going to be easy enough!!
Viewing 3 posts - 1 through 2 (of 2 total)