After defining the link please test the connection before you try to run the migration:
select count(*) from from UC4_SOURCE.ae.dbo.OH
I'll address your feedback internally.
Original Message:
Sent: Mar 27, 2024 10:46 AM
From: Peter Grundler
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Thank you Markus!
It would be helpful - if possible - to discuss a correct and working procedure regarding MSSQL. Following the steps described in the documentation is currently not working.
best regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Mar 27, 2024 10:30 AM
From: Markus Embacher
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Hi Peter,
this is the command for Oracle. Let me find out the correct commands for MS-SQL and get back to you.
Regards, Markus
Original Message:
Sent: Mar 27, 2024 10:07 AM
From: Peter Grundler
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Hi Markus,
the error message is
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'PUBLIC'.
I have checked the Microsoft documentation (https://learn.microsoft.com/en-us/sql/t-sql/statements/grant-database-permissions-transact-sql?view=sql-server-ver16) and in fact, this command is not listed/supported.
best regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Mar 27, 2024 08:20 AM
From: Markus Embacher
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Servus Peter :-)
What exactly is the issue with that command? Any error messages?
thank you!
Regards, Markus
Original Message:
Sent: Mar 27, 2024 08:14 AM
From: Peter Grundler
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Servus Markus,
It's GRANT CREATE PUBLIC DATABASE LINK TO <destination DB user>
Best regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Mar 27, 2024 03:48 AM
From: Markus Embacher
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Hi @Peter Grundler,
what is the command you are struggling with?
Regards, Markus
Original Message:
Sent: Mar 26, 2024 10:53 AM
From: Peter Grundler
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Hi Michael,
which database are you using? I'm currently struggling with MSSQL because of a prerequisite (a required command does not run on MSSQL 2022).
regards,
Peter
------------------------------
Automic Certified Professional/Expert & Broadcom Knight
For AUTOMIC trainings please check https://www.qskills.de/qs/workshops/automic/
Original Message:
Sent: Feb 26, 2024 05:44 AM
From: Michael A. Lowry
Subject: Problems with Package.UTF8.DB.Migration v1.0.2
Automic Automation v24.0.0 was released a bit over a week ago. Version 24 adds support for UTF-8, and Broadcom helpfully provided a migration tool, Package.UTF8.DB.Migration, to help migrate AE databases that use other character sets to the UTF-8 character set.
I'd like to advise anyone contemplating such a migration to wait until an update for the tool is released. The tool (v1.0.2) currently has bugs that can prevent a successful DB migration.
During the weekend, we tried to use Package.UTF8.DB.Migration v1.0.2 to complete migration of a database to UTF-8. The online portion of the migration completed successfully, but the offline portion of that finalizes the migration did not go so well. Among other problems, we found that all of the ALTER TABLE … ADD CONSTRAINT
statements in the 1st generated SQL script were invalid and could not be executed without modification/correction.
We opened a support ticket with Broadcom.