364,111 Members | 2029 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

postgre query

bala r
P: 1
1.query to retrieve the last column from the table?


2.query to retrieve the structure of the table?
if i am use /d command means than the below error will come
ERROR: syntax error at or near "/"
LINE 1: select /d errorlog
^

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

ERROR: syntax error at or near "/"
SQL state: 42601
Character: 8

or
if iam use \d

ERROR: syntax error at or near "/"
LINE 1: /d tran_1216_2216;
^


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

ERROR: syntax error at or near "/"
SQL state: 42601
Character: 1
Dec 19 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Help answer this question



Didn't find the answer to your PostgreSQL Database question?

You can also browse similar questions: PostgreSQL Database