Author Topic: SQL Database Schema upgrade  (Read 2960 times)

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1311
  • Karma: +120/-10
  • Its the results that count
    • View Profile
SQL Database Schema upgrade
« on: March 03, 2023, 10:41:17 am »
Just started at a new organisation and they have Sparx V51.1 with a SQL Server that appears to have been set up in 2004
Looked at the schema version in about dialog and got this
Quote
Connection / DBMS:  OLEDB - MS SQL Server
Database Version: 7.0
Version Date: Jan-31-2004
Boy thats old I thought.
Had a look at the upgrade scripts on the page https://sparxsystems.com/resources/repositories/index.html
And I see the following
Alter Scripts
  • Schema 1220 to 1558 (between July 2016 and February 2021)
  • Schema 851 to 1220 (between February 2010 and June 2016)
But can't find any scripts that go back to the version mentioned above.
Any suggestions how I can upgrade the schema?
Happy to help
:)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: SQL Database Schema upgrade
« Reply #1 on: March 03, 2023, 08:25:39 pm »
They didn't change too much over the years. You could compare the loaded schema with what you get from Sparx's currently published one. You should be able to figure out the diffs manually.

q.

DeBAAT

  • EA User
  • **
  • Posts: 63
  • Karma: +2/-0
    • View Profile
Re: SQL Database Schema upgrade
« Reply #2 on: March 06, 2023, 05:26:41 pm »
Just a thought:
Would it be possible to create a new repository with the latest schema and use the transfer option to migrate the old model to the new DB instance?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13282
  • Karma: +556/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: SQL Database Schema upgrade
« Reply #3 on: March 06, 2023, 05:56:39 pm »
Just a thought:
Would it be possible to create a new repository with the latest schema and use the transfer option to migrate the old model to the new DB instance?
Yes, I would think so.

You might also be able to upgrade using the upgrade scripts available on the website.

Geert