Hello togehter,
im build up a prozedure and want to create it. But ther comes en error
Could not execute 'CREATE PROCEDURE <schmea_name>.UPSERT_TABLE (IN p_source_schema_name NVARCHAR(200), IN ...' in 125 ms 195 µs .
SAP DBTech JDBC: [1310] (at 3269): scalar type is not allowed: line 81 col 7 (at pos 3269)
In this line i had declar a cursor:
CURSOR source_tableFOR
SELECT column_name,
data_type_name,
length,
scale,
is_nullable
FROM :v_source_schema_tablename_variable_stmt
the variable is
v_source_schema_tablename_variable_stmt NVARCHAR(250) := :p_source_schema_name || '.' || :p_source_table_name;
thx for your help