Oracle SqlDeveloper Completion Insight table name with # - oracle

Got following error: if table name contains # (like z#users) code completion does not work.
With normal table names all works fine.
Is there any workarounds? Renaming all tables is not possible.
Sqldeveloper version 4.0.0
Oracle 10.2.0.5

I just tried this with a table called ABC#DEF - with both table and column completion in the worksheet, and it worked with no issues.
I'm on 4.0.2 and 11.2.0.4, so an upgrade to our latest SQL Developer patch might help.

Related

My DataGrip IDE can't find MERGE function even though it is in postgresql 15.1

because of the interest we have in postgresql 15, my team and I would like to migrate to this new version. As we work with docker, I loaded the postgres:15 image instead of the old postgres:13 image and got it on my PC.
Now my problem is that I can't find a way to use Postgres:15 on my DataGrip IDE.
I can still write postgresql 14 code in DataGrip.
select version();
in a query console in DataGrip gets me version 15.1 version response but new commands such as MERGE can't be found by the IDE.
I found out after some research that the old version persisted in a terminal call of psql so i deleted the old cluster because they had the same port and name and now when i call psql in a terminal, I can write in postgresql 15.1 but still not on DataGrip.
There's a plan to implement it from 2023.1: https://youtrack.jetbrains.com/issue/DBE-16310

How to handle toad invalid pointer operation?

I get this error : toad invalid pointer operation , when I want to import data from excel.
Toad version : 12.1
Oracle version :Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
I ve restarted TOAD , even Computer but it does not work.
thanks in advance
I had the same problem and this was my solution (idea from https://support.quest.com/toad-for-oracle/kb/52537):
To quickly remove any hidden formulas in the spreadsheet, I copied all the range of cells with the required data and pasted it into another spreadsheet.
On the following import operation everything worked smoothly.

Empty package <package name> definition (no public members)

I'm facing an issue when trying to run or debug a package where Oracle SQL Developer doesn't display public members (procedures) that don't have input parameters.
There is a couple of procedures, some overloads, but Oracle SQL Developer doesnt display no invoke-able members.
I've tried with following versions of Oracle SQL Developer
4.1.1.19 link to article saying this version solves the issue, but it didn't
4.0.3.16 - same behavior
4.0.0.13 - same behavior
3.2.20.09 - this version actually displayed invokable members, but debugger doesnt work.
This is the Oracle version :
select * from v$version;
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
"CORE 11.2.0.4.0 Production"
TNS for IBM/AIX RISC System/6000: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production
Has anyone successfully resolved similar situation and how?
(Upgrading database is not an option atm)
A bit late, but i could help. There is a SqlDeveloper bug. What I have to do is to "Save" it before Compile it...
Hope it helps
I found 2 possible cause that may cause the no public member problem
1) SQL Developer hit some kind of bugs itself.
This can be resolved by completely close and restarting the SQL developer
2) Some keywords used in your codes (e.g. field name in SQL statements) that works fine in compiled execution , but would ruin the display of function list.
I resolved my problem by applying double quote to the entire packages where a field named “CASE” is used.
i.e.
SELECT table1.case FROM table1
change to
SELECT table1."CASE" FROM table1
Alex
Definitely late , but came across the same issue & thought of posting what helped me .
The proc was contained in a package that belong to another user
&
the grants were not provided for the user which was calling the proc .
Works when the grants are done.
I would recommend to save the stored procedure and then compile. In some cases, after saving the procedure, the table will automatically compile. But, you have to save each and every time you make changes.
I hope this helps you out.

Unable to access a function inside an Oracle package

There is a package in Oracle - dbms_sqltune_util0 which I want to make use of.
When I run
desc dbms_sqltune_util0;
i get the appropriate description.
But when I try to use the functions contained in this package it doesnt work. What does this mean? Should I get a license or something?
The query which I am trying to run is
select dbms_sqltune_util0.sqltext_to_sqlid('select 1 from dual') from dual;
You are trying to use an Oracle 12c package. Your tag says you are using an Oracle 11g database.
As far a I know there is no Express Edition of Oracle 12c yet so the answer is: Yes, you need a licence to use this package.
BTW: Even in Oracle 11g there is not every package available in every edition of the Oracle databases.

ORA-SQL-PLSQL S41 error

We are migrating from Oracle 9i to Oracle 11gr2 and when i open a package in toad i am getting below error.
(891:36) ORA-SQL-PLSQL S41
(S41) Expecting: . # AS CROSS FULL identifier INNER JOIN LEFT NATURAL PARTITION RIGHT SAMPLE SUBPARTITION VERSIONS
The package is getting complied when I try to compile it and it is also seems to be working fine.
Any idea why this error is happening? Will it cause any issue in production?
Note:
Cannot share the source due to copyright issues.
This user on the Oracle Forums seems to have had a similar issue, you could try following their solution.
https://forums.oracle.com/forums/thread.jspa?threadID=604091

Resources