Describe table_name is not working in oracle execute snap
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 09:23 AM
Hi,
I am trying to execute the sql query “describe table_name” but it is not working in oracle execute snap.
Getting an error like " Filed to execute query. Reason: ORA-00900: invalid SQL statement , Resolution: Please check sql query"
Any suggestion…?
Regards,
Pankaj
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2020 10:17 AM
describe
is a SQL*Plus
command not a valid SQL command
Try below
select owner, table_name, column_name, data_type, data_length, data_precision
from all_tab_columns
where table_name = ‘XXX’
