Book a Demo

Author Topic: Bringing in a SPARX model into SQL  (Read 5211 times)

Nosipho

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Bringing in a SPARX model into SQL
« on: June 13, 2016, 08:40:09 pm »
Hello people,

Is there a way to bring in a SPARX model into SQL??


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Bringing in a SPARX model into SQL
« Reply #1 on: June 13, 2016, 08:49:39 pm »
Project|Data Management|Project Transfer
(if that is what you are asking :-\)

Geert

Nosipho

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Bringing in a SPARX model into SQL
« Reply #2 on: June 15, 2016, 05:00:05 pm »
Yes thank you, but now I'm getting the "Error -2147217865 "Invalid Object name '#<table name>' " error , how can I handle this because I tried to search what the cause is and how to deal with it but the answers are rather vague

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Bringing in a SPARX model into SQL
« Reply #3 on: June 15, 2016, 05:09:49 pm »
Have you created the database structure before trying to transfer?

Geert

Nosipho

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Bringing in a SPARX model into SQL
« Reply #4 on: June 15, 2016, 05:15:42 pm »
I created a database, is my target project supposed to have the same structure as my source project??

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Bringing in a SPARX model into SQL
« Reply #5 on: June 15, 2016, 05:17:04 pm »
Perhaps watch the following webinar video.  The first several minutes walks through the process of creating a new MySQL database, creating the table structure and then performing the initial data transfer.
http://www.sparxsystems.com/resources/demos/team-modeling/setting-up-a-team-modeling-environment.html

Steps may vary slightly depending upon the specific database type you are working with, but refer to the EA help for more specific instructions.
http://www.sparxsystems.com/enterprise_architect_user_guide/12.1/the_model_repository/settingupdatabasemodelfile.html

SQL scripts for creating the required table structures on each supported DBMS can be found here:
http://www.sparxsystems.com/resources/corporate/index.html#sql_scripts