Skip site navigation (1) Skip section navigation (2)

New-B Question #2

From: cbraden <cbraden(at)douglasknight(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: New-B Question #2
Date: 2005-08-22 20:46:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice

Thanks so much for all your help.  Many people quickly replied to my 
question with the information I needed.

What I would like to do, use PostgreSQL and PHP, is list all the columns 
for a given table.  (Having finally choked the list of tables from 
postgre).  In MySQL it is something like this "SHOW COLUMNS FROM 
{tablename} FROM {databasename}".  I'm assuming I'm missing something 
obvious and bonehead, but I can't seem to translate that into postgreSQL 
to save my bacon.


Char-Lez Braden


pgsql-novice by date

Next:From: Steve PoeDate: 2005-08-23 01:37:39
Subject: Re: How to list all databases?
Previous:From: Philip HallstromDate: 2005-08-22 19:33:43
Subject: Re: How to list all databases?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group