Skip to Main Content

Oracle Developer Tools for VS Code

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

An error occurs when using the ‘Execute All’ feature to run the following code

henry_hooAug 30 2024 — edited Aug 30 2024

An error occurs when using the ‘Execute All’ feature to run the following code, but it works perfectly fine with sqlplus:
DEFINE MODULE = INVENT
DEFINE LU = InvPartNissReqLine
DEFINE VIEW = INV_PART_NISS_REQ_LINE
COMMENT ON TABLE &VIEW
IS 'LU=&LU^PROMPT=Inv Part Niss Req Line^MODULE=&MODULE^';

Error:

SQL> DEFINE MODULE = INVENT

SQL> DEFINE LU = InvPartNissReqLine

SQL> DEFINE VIEW = INV_PART_NISS_REQ_LINE

SQL> COMMENT ON TABLE &VIEW
2 IS 'LU=&LU^PROMPT=Inv Part Niss Req Line^MODULE=&MODULE^';
COMMENT ON TABLE &VIEW
*
ERROR at line 4:
ORA-00903: invalid table name
https://docs.oracle.com/error-help/db/ora-00903/

This post has been answered by Christian.Shay -Oracle on Aug 30 2024
Jump to Answer

Comments

Arnoschots-Oracle Apr 22 2020 — edited on Apr 22 2020

Hi,

The "sudo al-config -s" doesn't work on my Autonomous Linux instance.

Command output:

[opc@opsserver ~]$ sudo al-config -s

/sbin/al-config: illegal option -- s

Configure OCI notification service topic OCID:

  Usage:

    al-config -T [topic OCID]

  Options:

    -T [topic OCID] OCI notification service topic OCID

Configure OCI CLI profile:

  Usage:

    al-config -u [user OCID] -t [tenancy OCID] -k [key file]

  Options:

    -u [user OCID] OCI User OCID

    -t [tenancy OCID] OCI Tenancy OCID

    -k [key file] from which we obtaion the API private key

    -p [key passphrase file] from which we obtain API key passphrase. Provide

       this if API private key is encrypted. If not provided, user will be

       prompted to enter passphrase.

1 - 1

Post Details

Added on Aug 30 2024
3 comments
125 views