This procedure is useful to copy diagrams from a DataBase to another. The script create the procedure “sp_ImportDiagram” in a DB (called First); you can then import diagrams from any other DB (called Second) in the same server. It’s not difficult to make possible import from other servers. To do this you need only pass two parameters:

  • the name of the DB source,
  • the name of the diagram.

The operation is aborted if already exists a diagram with the same name in the DB First or if none or more than one diagram with the given name are retrived in the DB Second.

Author: Flavio Valentini

Download Script:

We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
“as -is”, without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose…

Disclaimer Continued

Back to Database Journal Home

Get the Free Newsletter!

Subscribe to Cloud Insider for top news, trends & analysis

Latest Articles