paultran00
asked on
How do I get a physical data model from a SQL SERVER 2016 database?
Hi,
I have a SQL SERVER 2016 database. How do I get a physical data model?
I have Visio 2016...doesn't this have the ability to import from SQL SERVER?
When I tried to use SQL SERVER to create the DATA BASE DIAGRAMS, I get the error "You are not logged on as the database owner or system administrator. ... Certain edits require CREATE TABLE permission.
I have a SQL SERVER 2016 database. How do I get a physical data model?
I have Visio 2016...doesn't this have the ability to import from SQL SERVER?
When I tried to use SQL SERVER to create the DATA BASE DIAGRAMS, I get the error "You are not logged on as the database owner or system administrator. ... Certain edits require CREATE TABLE permission.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The structure scripting in SSMS will list PKs and FKs.
INFORMATION_SCHEMA views also contain this information. You may look at
CONSTRAINT_COLUMN_USAGE
CONSTRAINT_TABLE_USAGE
REFERENTIAL_CONSTRAINTS
etc.
All these views are listed in SSMS under Views - System Views.
INFORMATION_SCHEMA views also contain this information. You may look at
CONSTRAINT_COLUMN_USAGE
CONSTRAINT_TABLE_USAGE
REFERENTIAL_CONSTRAINTS
etc.
All these views are listed in SSMS under Views - System Views.
ASKER