pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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"

view thread (4+ messages)  latest in thread

Message-ID: <ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com>
Permalink:  ../ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com/
Also on:    postgresql.org/message-id/ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com

 · 

reply

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