Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 982
  • Last Modified:

Visio 2010 Reverse Engineering Display Data Types

Can you reverse engineer SQL tables and display the data type using Visio 2010?

This is what I'm doing now:
Click on File - Software & Database - Database Model Diagram - Create
Click on Database - Reverse Engineer - Generic OLE DB Provider
Select SQL Server Native Client 10.0 - Next - enter servername, windws NT, database name- OK
Get msg The default driver was changed to Generic OLEDB provider.  
Uncheck Stored procedures - Next - Choose my tables - Next - Next - Finish

** When I click on reverse engineering and have to select a driver - with Microsoft SQL Server -
I can create a new datasource but it never shows up in the list under Microsoft SQL Server.  
It shows up under ODBC.
Also - the my computer is a 64 bit machine and the software is 32 bit.

Jess
0
jshesek
Asked:
jshesek
  • 2
  • 2
1 Solution
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Usually there's a version of ODBC 32 bit and another one of ODBC 64 bit in a Windows 64 bit machine.
Check which one Vision is using. Maybe it using the wrong one.
0
 
Eugene ZCommented:
try to follow these instructions fro the below article link

Reverse Engineering a SQL Server Database using Visio
http://social.technet.microsoft.com/wiki/contents/articles/25701.reverse-engineering-a-sql-server-database-using-visio.aspx
0
 
jshesekAuthor Commented:
Eugene:  Thanks for your reply.
I've been using the instructions as Eugene suggested and it all comes up as shown in the article.  
One thing I discovered was using the Display Options.  
Under Table -> Data Types -> Show Physical.  This allows the datatypes to show.  

Now the definitions are coming up wrong.  
If I choose a table -> look at properties -> choose Columns -> Edit -> Data Type -> Make a change and click OK - the change doesn't stick.

Vitor:  Thanks for your help.  
I set up a driver thru C:\Windows\SysWOW64\wowreg32.exe  for 32 bit.  When I select the driver a message comes up "You are using a Visio 'ODBC Generic Driver'  driver to connect with 'Microsoft SQL Server' DBMS datasource.'
0
 
Vitor MontalvãoMSSQL Senior EngineerCommented:
Open the ODBC 32 bits and check if there's any SQL Server Native driver. Maybe you only installed the 64 bit client.
You can also verify if in ODBC 64 bits the SQL Server Native driver is there.
0
 
jshesekAuthor Commented:
This is the issue causing the problem.  What my employer has decided is to give me a new computer with Windows 8 64 bit and Software of 32 bit.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now