E. van der Poll
Member²
To make our application more flexible we want to leave out schemanames by calling:
ALTER SESSION SET CURRENT_SCHEMA=OURDATAOWNER
This works OK for queries, but when calling stored procedures and/or functions leaving out the schemaname is not accepted. I get exceptions saying the object is not known. As soon as I prefix the schemaname before the stored procedure name everything works again.
I am using TOraclePackage.CallXXXFunction and TOraclePackage.CallProcedure. Is current_schema not supported for this ?
ALTER SESSION SET CURRENT_SCHEMA=OURDATAOWNER
This works OK for queries, but when calling stored procedures and/or functions leaving out the schemaname is not accepted. I get exceptions saying the object is not known. As soon as I prefix the schemaname before the stored procedure name everything works again.
I am using TOraclePackage.CallXXXFunction and TOraclePackage.CallProcedure. Is current_schema not supported for this ?