Re: AW: [SQL] Table Attribute Help

2000-10-10 Thread Michael Fork
RE > >pg_class.relname = 'xxx' and pg_attribute.attrelid = pg_class.oid > > > >and pg_attribute.attnum>=1 order by pg_attribute.attnum; > > > >xxx is your tablename! > > > > > >-Ursprüngliche Nachricht- > >Von: Brian C. Doyle [mailto:[EMAIL PROTECTED]] > >Gesendet: Montag, 9. Oktober 2000 17:21 > >An: [EMAIL PROTECTED] > >Betreff: [SQL] Table Attribute Help > > > > > >Hello all, > > > >I am trying to find a query to retrive the attributes of a table as in \d > >tablename but as a select command. Is this possible? >

Re: [SQL] Table Attribute Help

2000-10-09 Thread omid omoomi
Hi, >From: "Brian C. Doyle" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: [SQL] Table Attribute Help >Date: Mon, 09 Oct 2000 11:21:21 -0400 > >Hello all, > >I am trying to find a query to retrive the attributes of a table as in \d >tablename

Re: AW: [SQL] Table Attribute Help

2000-10-09 Thread Brian C. Doyle
t; > >-Ursprüngliche Nachricht- >Von: Brian C. Doyle [mailto:[EMAIL PROTECTED]] >Gesendet: Montag, 9. Oktober 2000 17:21 >An: [EMAIL PROTECTED] >Betreff: [SQL] Table Attribute Help > > >Hello all, > >I am trying to find a query to retrive the attributes of a table as in \d >tablename but as a select command. Is this possible?

Re: [SQL] Table Attribute Help

2000-10-09 Thread Jeff Hoffmann
"Brian C. Doyle" wrote: > > Hello all, > > I am trying to find a query to retrive the attributes of a table as in \d > tablename but as a select command. Is this possible? run "psql -E" -- it will echo all of the sql queries that those commands use. -- Jeff Hoffmann PropertyKey.com

[SQL] Table Attribute Help

2000-10-09 Thread Brian C. Doyle
Hello all, I am trying to find a query to retrive the attributes of a table as in \d tablename but as a select command. Is this possible?