Wednesday, November 02, 2011

Under the hood: Copy database diagrams in SQL Server 2005

One way to copy database diagrams between databases.

INSERT INTO dbB.dbo.sysdiagrams
SELECT[name],[principal_id],[version],[definition]
FROM dbA.dbo.sysdiagrams

Under the hood: Copy database diagrams in SQL Server 2005

No comments: