Hi,
I am trying to Copy my Database to a new database along with the diagrams.
The problem I am facing is that when a new database is created, it does not have the required objects to support the MS SQL database diagrams.
If you click on 'Database Diagrams' a prompt asks you if you want to load support for the diagrams.
I have tried adding script for the objects required into the script that creates the new DB and copies the Schema and data but I now have a problem that that they are not created in the correct place.
I need to create these objects in the "System Stored Procedures" folder:
dbo.sp_alterdiagram
dbo.sp_creatediagram
dbo.sp_dropdiagram
dbo.sp_helpdiagramdefinition
dbo.sp_helpdiagrams
dbo.sp_renamediagrams
dbo.sp_upgradediagrams
Plus some tables and a Function
Can someone advise me how I can get these to save into the "System Stored Procedures" folder instead of the "StoredProcedure" folder?
Thanks