GeneCampbell
IS-IT--Management
I am trying to create the below SP:
create procedure core_proddb_s.table_nme3( in p1 char(50), out p2 char(50) )
begin
call DBC.SysExecSql('Select campaign_id from ' || 1);
End;
This is the message that is being returned when I attempt to create the proc:
SPL1078:E(L3), User is not authorized to use the DDL/DCL/Dynamic SQL statement.
create procedure core_proddb_s.table_nme3( in p1 char(50), out p2 char(50) )
begin
call DBC.SysExecSql('Select campaign_id from ' || 1);
End;
This is the message that is being returned when I attempt to create the proc:
SPL1078:E(L3), User is not authorized to use the DDL/DCL/Dynamic SQL statement.