11

I have a database on SQL Azure and want to create a database diagram for that, but don't want to have to install SQL server and copy the database etc. Is there any way that I can do it that anyone knows of?

Colin 't Hart
9,51015 gold badges37 silver badges44 bronze badges
asked Oct 7, 2014 at 11:31
0

2 Answers 2

10

UPDATE: The database diagrams were added back into SSMS 18.1(link)

UPDATE: the database diagram feature

Deprecated and removed features in 18.0 (GA) ... Database Diagrams https://learn.microsoft.com/en-us/sql/ssms/release-notes-ssms

The feature was also removed from Visual Studio 2019 SSDT.

Original Answer

The latest version of SSMS (as of v16) supports creating database diagrams for Azure SQL databases. You can download it here:

https://msdn.microsoft.com/en-us/library/mt238290.aspx

user2652379
5391 gold badge5 silver badges12 bronze badges
answered Sep 19, 2016 at 15:57
4
  • +1, as does v17.x Tends to be quite slow when adding a large number of tables to a diagram, though. Commented Jun 24, 2018 at 11:51
  • Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. (Microsoft SQL Server, Error: 15517) Commented Feb 13, 2019 at 19:35
  • 1
    The database diagrams were added back into SSMS 18.1 Commented Jun 14, 2019 at 5:26
  • I still get same error in 18.1 Commented Aug 14, 2019 at 15:03
4

SQL Azure databases do not support diagrams in the same way 'normal' on premise SQL Servers do, so you are looking at workarounds or third-party tools. For example, you could install SQL Server Data Tools (SSDT), pull your model down, deploy to a local 'normal' dev server, create the diagram there. This would not involve much data so would be lightweight. Alternately use Viso, Powerpoint, dbForge, Erwin, RedGate, Apex ... paper and pencil etc : )

A little additional research shows Red Gate have recently added more support for SQL Azure and have a free trial, and SQL Power Doc which looks useful and could plug into NodeXL for example.

In summary, the tooling hasn't quite caught up but you have a few options.

answered Mar 23, 2016 at 10:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.