Is is supported to use execute immediate for ddl with using clause?
Oracle DB 19 EE
I have tried the following:
declare
l_context_name varchar2(10) := 'aaaabbbb';
l_sql varchar2(100);
Begin
l_sql := 'Create or Replace Context ' || ':i_c_name' || ' Using BUD_CACHED_PARAMETERS Accessed Globally';
execute immediate l_sql USING IN l_context_name;
END ;
I then get:
Error report -
ORA-01805: possible error in date/time operation
ORA-06512: at line 6
01805. 00000 - "possible error in date/time operation"
*Cause: The timezone files on client and server do not match.
Operation can potentially result in incorrect results based on
local timezone file.
*Action: Please ensure client and server timezone versions are same.