Book a Demo

Author Topic: Import DB schema from ODBC - lack of schema  (Read 4884 times)

LUCY

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Import DB schema from ODBC - lack of schema
« on: March 04, 2015, 10:35:39 pm »
Hi
I am using EA V12 and MS SQL 2008R2

I am trying to reverse engineer tables from database  MS SQL 2008R2 (Import DB schema from ODBC) to Enterprise Architect.
I have a problem with the lack of schema on the list of schemas.

What conditions must meet the schema to be visible in the list of schemas ?

Can anyone please help me to understand this problem ?

Thanks
« Last Edit: March 05, 2015, 01:50:09 am by LucynaZ »

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Import DB schema from ODBC - lack of schema
« Reply #1 on: March 06, 2015, 06:04:58 am »
You need permissions in the SQL database to view the schema.

Speak to your Database administrator. See also View Definition

[timestamp=1425929662] /me
« Last Edit: March 10, 2015, 06:35:30 am by skiwi »
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

JanNilsson

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Import DB schema from ODBC - lack of schema
« Reply #2 on: March 13, 2015, 11:42:51 pm »
Hi
I tried the same with an Informix databasse. In the ODBC-configuration I have entered the informix user (dba with full access). It seems that EA is  somehow using my userid on my pc to filter the schemaname(owner), only 3 tables are shown and I can see wiht other tools that those three have my userid as owner. No other tables are shown. I can't log in to my computer as the user informix, that userid is only allowed by the dba on the server.

JanNilsson

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Import DB schema from ODBC - lack of schema
« Reply #3 on: March 17, 2015, 08:51:19 pm »
Hi
I got it to work!
It seems that EA regards tables (and other stuff?) in an Informix database as "System objects" in they are created by the user Informix. Just check the box "Include system objects" and the schemaname Informix showed up and all the tables owned by Informix