Book a Demo

Author Topic: Reverse engineering a database in to EA  (Read 3391 times)

M Baird

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Reverse engineering a database in to EA
« on: January 21, 2010, 01:43:10 am »
Hi

I'm using EA 7.5 on Windows 7 and have a large table in SQL Server 2008 that I want to being into a database design in EA.  It has lots of fields so I don't want to re-type everything.

In my database design I right click on  "Code Engineering -> Import DB Schema from ODBC" expecting to be able to navigate to my database and table.  However once I click on "Import DB Schema..." nothing happens!

Any ideas on how I can use this feature?

Thanks

Mark

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Reverse engineering a database in to EA
« Reply #1 on: January 21, 2010, 01:51:59 am »
EA is rather specific in which driver you use.
IIRC "OLEDB driver for SQL Server" should work.

Geert

M Baird

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Reverse engineering a database in to EA
« Reply #2 on: January 21, 2010, 02:13:13 am »
Hi

Thanks for getting back to me.

I don't even get an option to select an OLEDB connection.  When I say nothing happens, what I mean is I click on "Import DB Schema...", it closes the menu and goes back to EA.  No windows appear prompting me for database information.

Mark

hd

  • EA Administrator
  • EA User
  • *****
  • Posts: 312
  • Karma: +0/-0
    • View Profile
Re: Reverse engineering a database in to EA
« Reply #3 on: January 21, 2010, 08:11:34 am »
Check you have at least the Professional edition of EA - database engineering is not available in the Desktop edition.

You also need to set up an ODBC driver before you import. For SQL Server 2000, use the SQL Server driver, for SQL Server 2005/2008 use the SQL Native Client.