问题
I am trying to reverse engineer parts of a 2012 SQL Server into Microsoft Visio 2010. The views option is greyed out. The views are integral to the processes I am trying to document, and the diagram will be useless without them. Does anyone have an easy work-around other than manually inputting the views?
回答1:
You are probably using "wrong" data provider to reverse engineer the database, and that is the reason why views are disabled. There are some issues with Visio not being updated to support newer SQL server versions. Try the following:
- Start "reverse engineer" wizard
- Select Generic OleDb data provider (not the "Microsoft SQL Sver"). Click Next.
- The dialog pops up, select SQL Native Client there, then (on the "Connection" tab) your server, and your database. Click OK.
- Now the "views" checkbox should be enabled.
来源:https://stackoverflow.com/questions/27573931/i-cannot-add-views-when-reverse-engineering-my-database-in-visio