Author Topic: Import DDL from file  (Read 14467 times)

plelovsky

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Import DDL from file
« on: October 24, 2007, 12:08:13 am »
Hello,

is it possible to import a DDL script from text file (which has been created for example by some database exporting tool)?

Thanks

thomaskilian

  • Guest
Re: Import DDL from file
« Reply #1 on: October 24, 2007, 12:48:47 am »
No. Create the tables and read the database.

Edit: Quite some wanted to have this functionality. Maybe time for a feature request?
« Last Edit: October 24, 2007, 12:50:33 am by thomaskilian »

jock_the_kiwi

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • The weathers here, wish you were beautiful
    • View Profile
Re: Import DDL from file
« Reply #2 on: December 11, 2007, 12:39:25 pm »
I would like this feature and used search before hitting the forums with queations.

I can provide my requirements for a feature request if required.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import DDL from file
« Reply #3 on: December 11, 2007, 03:06:16 pm »
Jock,

I suggest you make the feature request. I'll certainly support this.

We (the forum crowd) bounced this around for a while some time ago, and I suspect (without proof) that Sparx considered it for an unspecified "future version." Since then EA 6 and 7 have come to be, but the ability to create a model via DDL import has yet to see the light of day.

It is high time though, so now it's your turn to ask.

Remember that Sparx isn't likely to devote time to such a feature unless we the users tell them we need it.

David
No, you can't have it!

jock_the_kiwi

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • The weathers here, wish you were beautiful
    • View Profile
Re: Import DDL from file
« Reply #4 on: December 11, 2007, 06:13:36 pm »
I have submitted the request. It is as follows:

Quote
Presently, EA does not allow me to generate a Data Schema from a DDL, only from an ODBC source. However, I cannot use an ODBC source with a file based database such as Foxpro, CSV, Excel and TXT. On the other hand I can generate a DDL using other tools such as AQT.

Often, my role is to integrate one or more datasources from "Point Solution" applications into a single SQL database. I am often dealing with applications written using a variety of tools that may have datasources such as FoxPro, MS Access, MS Excel, CSV, TXT.

For those of us working with "Fringe" applications that may have been built in house with little data integrity, design, etc, the ability to generate a DDL from a number of sources and then import into EA would be very useful.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import DDL from file
« Reply #5 on: December 11, 2007, 06:28:40 pm »
Jock,

I might have been unclear.

Did you reference this thread in your feature request to Sparx?

[No bad if you did not, I just want to know if the loop is complete.]

David
No, you can't have it!

jock_the_kiwi

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • The weathers here, wish you were beautiful
    • View Profile
Re: Import DDL from file
« Reply #6 on: December 11, 2007, 06:32:05 pm »
No I didnt. How do they feel about supplementary Feature Requests?


thomaskilian

  • Guest
Re: Import DDL from file
« Reply #7 on: December 12, 2007, 05:49:40 am »
Sparx? Hard to tell as we have no insight. But at least they try to react on user requests. From my feeling they were more responsive and successful in meeting user requirements in the beginning. Once it was a nice speed boat. Now EA is behaving more like a liner (with all pros and cons).

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import DDL from file
« Reply #8 on: December 12, 2007, 06:43:17 am »
Quote
No I didnt. How do they feel about supplementary Feature Requests?

Jock,

I'd say just go with things the way they are. But if you want to close the loop, I'm sure it wouldn't hurt to put in a second request.

Check your footer setting in your profile. It seems to be broken.

David
No, you can't have it!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Import DDL from file
« Reply #9 on: December 12, 2007, 06:44:50 am »
Quote
...Now EA is behaving more like a liner (with all pros and cons).

Do you mean something like the Love Boat, but filled with streetwalkers and felons? What an interesting metaphor.
No, you can't have it!

thomaskilian

  • Guest
Re: Import DDL from file
« Reply #10 on: December 12, 2007, 07:24:43 am »
Honestly I did not think of the crew complement, but your assumption might prove true (soon?).

jock_the_kiwi

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • The weathers here, wish you were beautiful
    • View Profile
Re: Import DDL from file
« Reply #11 on: December 12, 2007, 11:25:56 am »
Who will be Captain Stubing? And who will be Washington, the token minority, on that wonderful show?


Thomas Mercer-Hursh

  • EA User
  • **
  • Posts: 386
  • Karma: +0/-0
  • Computing Integrity
    • View Profile
Re: Import DDL from file
« Reply #12 on: December 12, 2007, 12:41:45 pm »
FWIW, this kind of import has been implemented for the Progress OpenEdge database (see http://www.oehive.org/node/989 ), but of course it doesn't do you a lot of good since the OpenEdge DDL is proprietary.  Also, unfortunately, PSC has yet to release the source for what they have done (I'm arguing for it), so one can't even see how they did it and adapt it to a more standard DDL.  But, the example demonstrates that it is certainly possible to implement independent of Sparx.

jock_the_kiwi

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
  • The weathers here, wish you were beautiful
    • View Profile
Re: Import DDL from file
« Reply #13 on: December 12, 2007, 12:49:42 pm »
I have no concerns regarding Sparx implementing this. They have implemented features to reverse engineer a database via ODBC to produce a Data Model and generate a DDL from that same data model. Generating a Data Model from a DDL is not likely to be that complex.

A Blonde might ask
Quote
Cant they just reverse the order the code for Package to DDL to make it work
.


DavidM

  • EA User
  • **
  • Posts: 82
  • Karma: +0/-0
    • View Profile
Re: Import DDL from file
« Reply #14 on: September 02, 2016, 02:45:34 pm »
I noticed this was requested in 2007, do we know if it has been implemented yet?

I find it a real pain having to take DDLs sent to me, download databases, run the DDL, then connect Sparx and import.