Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by Wesley Brown Generate CREATE DATABASE FOR ATTACH for all databases on server RE: Generate CREATE DATABASE FOR ATTACH for all databases on server
Luigi Visintin
SSC Eights!
Points: 822
More actions
December 18, 2008 at 2:34 am
#914358
Quite good, but there's a small problem: in a few places where specifying the @dbname you should enclose it in [], to avoid problems when dbname is contains spaces... like [register database] for example.
Cheers
LV