I am new to Oracle platform (I mainly use MySQL, with a small Postgres and SQL Server). I recently discovered the following position
DESC TABLE_NAME;
will only work in the SQL * Plus tool that I use to validate my queries. It will not work when I use standard PHP functions to connect to the oracle database. I need to use something like
SELECT * FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'TABLE_NAME'
instead.
From what I understand, this is because the "DESC" statute is an add-in to the SQL * Plus application.
My questions
- Do I understand correctly, or is there something more subtle?
- What other special add-ons are there for SQL * Plus?
- Is there a way to disable these special add-ons while I pick up speed for Oracle?
- Any other general recommendations for the Oracle newb from the vetrans platform are welcome.
source share