pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Juris <bubliks@gmail.com>
To: AKHILESH GUPTA <akhilesh.davim@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: to count no of columns in a table
Date: Thu, 16 Feb 2006 11:34:50 +0200
Message-ID: <4f31e3850602160134g4734e31s@mail.gmail.com> (raw)
In-Reply-To: <ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com>
References: <ad39daf90602160113u710dbdafq56359adfe8aee572@mail.gmail.com>

Create view/storedproc on  pg_class & pg_attribute  tables

2006/2/16, AKHILESH GUPTA <akhilesh.davim@gmail.com>:
> 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: <4f31e3850602160134g4734e31s@mail.gmail.com>
Permalink:  ../4f31e3850602160134g4734e31s@mail.gmail.com/
Also on:    postgresql.org/message-id/4f31e3850602160134g4734e31s@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: bubliks@gmail.com, akhilesh.davim@gmail.com
  Subject: Re: to count no of columns in a table
  In-Reply-To: <4f31e3850602160134g4734e31s@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