Compilation error for SQL_MACRO in oracle 19C
NickName:Xyz Ask DateTime:2022-02-15T00:05:43

Compilation error for SQL_MACRO in oracle 19C

create or replace function f_get_ids(p_user in nvarchar2)
return nvarchar2 sql_macro(table)
as
begin
  return q'[select id from table1 where user=p_user]';
end;

while executing the above code in oracle 19.0.0.0.0 version getting the below error.

Error(1,27): PLS-00103: Encountered the symbol "(" when expecting one of the following: ; is default authid as cluster order using external deterministic parallel_enable pipelined aggregate result_cache accessible rewrite

Copyright Notice:Content Author:「Xyz」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/71114808/compilation-error-for-sql-macro-in-oracle-19c

More about “Compilation error for SQL_MACRO in oracle 19C” related questions

Compilation error for SQL_MACRO in oracle 19C

create or replace function f_get_ids(p_user in nvarchar2) return nvarchar2 sql_macro(table) as begin return q'[select id from table1 where user=p_user]'; end; while executing the above code in o...

Show Detail

Group By expression in Oracle 19c

I am installing a database schema in Oracle 19c, and the installation scripts have been used repeatedly in Oracle 12 without problems. My problem with 19c is when it runs our views script, it throw...

Show Detail

Oracle 19c Compatible - Powerbuilder

One of our application build by powerbuilder 6.5 and it was currently connected Oracle 11.2.0.4 version. We are planning to migrate the 19c oracle. So will it be compatible 19c Oracle? And we need to

Show Detail

Oracle 19c database silent installation {FATAL] [INS-35954] error

Hi I am trying to install Oracle 19c database using response file and silent installation. Previously when I had oracle 12c my ORACLE_HOME was set to any directory I wanted i.e. "D:\Oracle12c\product\

Show Detail

Oracle DB 19c and java 6

There is any chance to connect to an oracle DB 19c with java 6? I see that the connector is only compatible with jdk8 Whats happens if i use ojdbc6 for connect to a oracle DB 19c? Thanks

Show Detail

Oracle 19c compatibility with jdk7

I would like to know if oracle 19c is compatible with jdk 7. I have found out 2 drivers for oracle 19c ojdbc8 : for jdk8, jdk9 and jdk11 ojdbc10 : for jdk10 and jdk11 I would like to know if ther...

Show Detail

Connect to Oracle 19C Cloud from sqlplus

I am not able to connect to my Oracle 19C Cloud DB, I have downloaded the wallet and placed it in a secured place in my machine(windows). I have installed Oracle 19C Client in my machine, and updated

Show Detail

Is it possible to configure SSL for Oracle Database 19c in DB System - Oracle Cloud?

I am looking for to enable SSL for Oracle Database 19c in DB System - Oracle Cloud. I could not find any document for it. Is it possible to configure SSL for Oracle Database 19c in DB System - Oracle

Show Detail

Compatibility of JDBC driver with Oracle 19c Database

We are currently using ojdc14(Java 1.6) with Oracle 11g Database and want to upgrade the DB to 19c version. I wanted to know which ojdbc jars are compatible with Oracle 19c database?

Show Detail

Oracle 19c connecting to ColdFusion 2018

ColdFusion 2018 on Windows 2016 Server, currently using Oracle 12c. My institution is planning an Oracle upgrade to 19c, I have found nothing in the CF documentation about connections to a 19c data...

Show Detail