Is there any way we can sh开发者_JAVA技巧are the SQL Server 2008 database Diagram (Other then capturing the jpeg).
I've used the 2005 version of this tool which did the job very nicely.
EDIT: The original link is dead. However http://devnuggets.blogspot.com/2011/04/script-diagram-really.html seems to be the same person's code for scripting/moving diagrams.
The SQL Server 2008 diagrams are stored in a sysdiagram table in the same database as a binary value. We can copy the binary data and then reinsert them at another databse to recreate them there. But the table structure of the database needs to be there as well. So in this case it is of no important use for sharing.
精彩评论