SQL/MX 3.1 Database and Application Migration Guide (H06.23+, J06.12+)
Falling Back from SQL/MX Release 3.1
HP NonStop SQL/MX Release 3.1 Database and Application Migration Guide—663853-001
5-6
Preinstallation
Applications that are compiled using the SQL/MX Release 3.1 compiler must be
preprocessed, recompiled, and then linked with an earlier release of the SQL/MX
compiler after the fallback.
The online dumps taken on SQL/MX Release 3.1 cannot be used by TMF recovery
on SQL/MX Release 3.0 or on SQL/MX Release 2.x. HP recommends that you
take new full TMF online dumps immediately after fallback.
If security administrators have granted any privileges on database objects after
upgrading to SQL/MX Release 3.1, you should consider revoking those privileges
before downgrading. Although the privileges granted by security administrators to
database objects will apply in earlier SQL versions, attempts to modify those
privileges through REVOKE on those objects will fail because the security
administrator grants will be viewed as dependent privileges by earlier SQL
versions. You can address this issue in one of the following ways:
1. Prior to falling back to an earlier SQL version, all grants performed by security
administrators must be revoked. For steps to identify and revoke these grants,
see Removing Security Administrator Grants
on page A-1. HP recommends
this method unless you want to retain the existing privileges (for example, for
operational reasons), in which case the following method should be
considered.
2. After falling back, the owner of each object affected by security administrator
grants must GRANT, to the security administrator username (for example,
“SECADMIN.USER1”), the same privileges, WITH GRANT OPTION, that the
security administrator had granted while acting as a Security Administrator
(GRANT ALL ...WITH GRANT OPTION can be used). Alternatively, the super
ID can be used to perform the GRANT instead of the object owner. This action
connects the "orphaned" security administrator grants to the owner. The
reconnected grants can then either be left in place, or removed by the owner
(or the super ID) using the REVOKE statement.
Databases created after upgrading to SQL/MX Release 3.1 can include an
IDENTITY column. You cannot remove an IDENTITY column from a table. You
must remove all tables with IDENTITY columns before downgrading to an earlier
version. You can save the data in tables with a similar layout, but without the
IDENTITY column, and retrieve after a downgrade. However, using the saved
tables instead of those with IDENTITY columns will require changes to the
applications. For steps to identify tables that contain an IDENTITY column, see
Identifying Tables That Contain an IDENTITY Column
on page B-1.
Preinstallation
You must complete the following steps before installing SQL/MX Release 3.0 or
SQL/MX Release 2.x:
Note. Recompiling programs might result in different execution plans, causing a change in
performance.










