I have a database that I want to re-create on another machine. I went to Enterprise Manager, right-clicked on the database, did a generate sql script and selected to script all objects. On the formatting tab I selected all the options except the one about only scripting 7.0 compatible features. I also selected everything on the options tab. Then I generated the script. I ran it from Query Analyzer on the other machine and it gave me errors. There were about 4 or 5 that said that no rows could be added to the sysdepends table because some stored procedures couldn't be found. What's going on? I'm using SQL Server 2000. Won't it generate the script in such a way that it won't produce errors when the script is run?