From: AKHILESH GUPTA <akhilesh.davim@gmail.com>
To: pgsql-general@postgresql.org
To: pgsql-sql@postgresql.org
Subject: to count no of columns in a table
Date: Thu, 16 Feb 2006 14:43:43 +0530
Message-ID: <ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com> (raw)
hi all,
i just want to know one thing that is there any function in PGSQL which
gives me the total number of columns in a table.
OR
just like we are using count(*), it gives us total number or rows in a
table, just like i want to know the total number of columns present in the
table
plz help me it's urgent
THANKS IN ADVANCE............!
--
Thanks & Regards,
Akhilesh
DAV Institute of Management
Faridabad(Haryana)-INDIA
"FAILURES CAN BE FORGIVEN BUT AIMING LOW IS A CRIME"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: akhilesh.davim@gmail.com, pgsql-general@postgresql.org
Subject: Re: to count no of columns in a table
In-Reply-To: <ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox