Enable SQL Database Diagrams

Enable SQL Database Diagrams

The Code

SQL Database Diagrams are invaluable in understanding the schema. I use them all of the time. Occasionally, I create the database tables and relationships from the diagram designer – try it – it’s great!

Of course, you cannot use database diagrams unless you have things set up correctly. At some point, diagrams stopped working on my databases. I don’t really understand why. However, the fix is simple: –

ALTER AUTHORIZATION ON DATABASE::[DATABASENAMEHERE] TO sa;
Stephen

Hi, my name is Stephen Finchett. I have been a software engineer for over 30 years and worked on complex, business critical, multi-user systems for all of my career. For the last 15 years, I have been concentrating on web based solutions using the Microsoft Stack including ASP.Net, C#, TypeScript, SQL Server and running everything at scale within Kubernetes.