1

describe syntax is not working in PLSql :

I am using below syntax :

DESCRIBE tblcustomer;

I am getting below exception after executing above query :

ERROR:  syntax error at or near "DESCRIBE"
LINE 1: DESCRIBE tblcustomer;
        ^

********** Error **********

ERROR: syntax error at or near "DESCRIBE"
SQL state: 42601
Character: 1
2

1 Answer 1

1

Use this instead:

\d tblcustomer

or this for more details

\d+ tblcustomer

List available \… commands

\?
Sign up to request clarification or add additional context in comments.

3 Comments

Getting exception : ERROR: syntax error at or near "\" LINE 1: \d tblcustomer; ^ ********** Error ********** ERROR: syntax error at or near "\" SQL state: 42601 Character: 1
are you using the psql command line client?
No. I am using postgres sql browser

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.