Unanswered: how to copy database structure only from one server to another
I tried generating a sql script from enterprise manager (selected ALL options), then created a blank db on the target server. However, the source server has several filegroups associated with it and it seems to be causing a problem when I run the script against the target server.
Do I have to create every filegroup on the target server or is there a way to automate this?
Try using the DTS Package wizard to copy the structure of one database to another. Mare sure that u dont copy the data, as DTS is designed to import / export data. Moreover deselect the logins, users while transfering between databases using DTS.