Error Message :
U00029108 UCUDB: SQL_ERROR Database handles DB-HENV: 7b5b70 DB-HDBC: 7b6f60
U00003591 UCUDB - DB error info: OPC: 'SQLExecDirect' Return code: 'ERROR'
U00003592 UCUDB - Status: '42S02' Native error: '3701' Msg: 'Cannot drop the procedure 'UC_TEST_Proc', because it does not exist or you do not have permission.'
U00003594 UCUDB Ret: '3590' opcode: 'EXEC' SQL Stmnt: '
U00038068 ABORTING due to error.
The loading process was terminated abnormally. The Database might be in an inconsistent condition. Please contact Automic Support.
The file, check_privileges.sql (location: ...\Automic.Workload.Automation_12.1.0_2017-09-29\Automation.Platform\db\sql_9\12.1), has a case sensitive discrepancy.
The DROP procedure has the "UC_TEST" all in uppercase while the CREATE procedure has it as "UC_Test".
Excerpt: -- Procedure
CREATE PROCEDURE UC_Test_Proc (@text as varchar(20))
WITH EXECUTE AS SELF
as
select @text
GO
EXEC UC_Test_Proc 'testest'
GO
-- Clean up
DROP PROCEDURE UC_TEST_Proc