By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,649 Members | 696 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,649 IT Pros & Developers. It's quick & easy.

postgre query

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

Sign in to post your reply or Sign up for a free account.