...
List all reports owned by this user, the SQL example is the following:
Code Block SELECT "ID", "NAME", "OWNER_ID" FROM "AO_6B9F04_AIO_REPORT" WHERE "OWNER_ID" = '<owner id for that user>';
Update the owner for all the reports identified in the previous step. An example SQL query is below:
Code Block |
---|
UPDATE "AO_6B9F04_AIO_REPORT" SET "OWNER_ID" = '<new owner id>' WHERE "ID" = '<report id>'; |
Update email subscriptions for all the reports with updated owners:
Code Block |
---|
UPDATE "AO_6B9F04_AIO_SCHED_REP_RCPT" SET "RECIPIENT_ID" = '<new owner id>' WHERE "RECIPIENT_ID" = '<old owner id>'; |
Info |
---|
|