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

Re: to count no of columns in a table

From: Juris <bubliks(at)gmail(dot)com>
To: AKHILESH GUPTA <akhilesh(dot)davim(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: to count no of columns in a table
Date: 2006-02-16 09:34:50
Message-ID: 4f31e3850602160134g4734e31s@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-sql
Create view/storedproc on  pg_class & pg_attribute  tables

2006/2/16, AKHILESH GUPTA <akhilesh(dot)davim(at)gmail(dot)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"
>

In response to

pgsql-sql by date

Next:From: A. KretschmerDate: 2006-02-16 09:37:17
Subject: Re: to count no of columns in a table
Previous:From: AKHILESH GUPTADate: 2006-02-16 09:13:43
Subject: to count no of columns in a table

pgsql-general by date

Next:From: A. KretschmerDate: 2006-02-16 09:37:17
Subject: Re: to count no of columns in a table
Previous:From: AKHILESH GUPTADate: 2006-02-16 09:13:43
Subject: to count no of columns in a table

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