Book a Demo

Author Topic: EA database details?  (Read 3268 times)

Rudy

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
EA database details?
« on: October 26, 2006, 12:05:59 pm »
Can anyone provide me with the details of the EA database, and how the information is stored in the database so I can define my own queries on the database, please?

I need to get a number of reports out of the system in Excel format and EA does not support me in creating these reports.

Thanks in advance.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA database details?
« Reply #1 on: October 26, 2006, 12:23:45 pm »
You can open an EAP file using MS Access. Access might open the file as read-only, but that's OK (or even better than OK if you are a klutz like me). Use Access to examine the file.

If you have experience with SQL it might be easier to download one or more (depending on which flavours of DBMS you are most comfortable with) of the DBMS set up scripts from the Resources section of the Sparx site. Look for the various xxxBaseModel.sql files. These contain the structure of the database as DDL statements.

Another idea is to play around with the EA Advanced Search. Not everyone uses this, but it can be a powerful tool - you can even enter your own SQL statements and save the searches.

You can reach the Search view from the EA main menu via View | Report and Search View. The hot key is Ctrl-Alt-R. There is even a toolbar button, but it is not displayed in the default configuration.

This view comes up in Report mode by default. Click Search View in the Mode radio button to get to the Search pane. Now click the Advanced button and set the Search List dropdown to something other than Simple. Now you're ready to experiment. You can enter SQL fragments in the Search Term box.

HTH, David
No, you can't have it!

Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: EA database details?
« Reply #2 on: October 26, 2006, 01:32:08 pm »
Reverse engineering an EAP file into EA actually helps a lot :-)

Bruno

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA database details?
« Reply #3 on: October 26, 2006, 02:38:05 pm »
That's a much better idea...
No, you can't have it!