Create DB in SQL Server based on Visio Data Model

2019-02-16 00:34发布

I have created a database model in Visio Professional (2003). I know that the Enterprise version has the ability to create a DB in SQL Server based on the data in Visio. I do not have the option to install Enterprise. Aside from going through the entire thing one table and relationship at a time and creating the whole database from scratch, by hand, can anyone recommend any tool/utility/method for converting the visio database model into a SQL Script that can be used to create a new DB in SQL Server?

3条回答
欢心
2楼-- · 2019-02-16 00:36

I have not done this, but here it goes.

  1. Convert Visio file to Visio XML format.
  2. Use Dia for Windows and Dia VDX plug-in to convert Visio XML into Dia.
  3. Use tedia2sql to generate SQL.
查看更多
啃猪蹄的小仙女
3楼-- · 2019-02-16 00:42

If you can somehow obtain the type library from the enterprise version you can use VBA to get out the definitions. Secondhand enterprise architect versions of VS 2002 and VS 2003 can be brought from ebay for a few hundred dollars.

查看更多
来,给爷笑一个
4楼-- · 2019-02-16 00:53

For visio 2010 there is nice plugin Visio Forward Engineer:

http://forwardengineer.codeplex.com/

Plugin adds one more tab to Visio

查看更多
登录 后发表回答