X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id ED3509DCC7A for ; Thu, 16 Feb 2006 05:13:46 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 11803-10 for ; Thu, 16 Feb 2006 05:13:47 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by postgresql.org (Postfix) with ESMTP id 7AF429DC9CB for ; Thu, 16 Feb 2006 05:13:44 -0400 (AST) Received: by wproxy.gmail.com with SMTP id i28so127697wra for ; Thu, 16 Feb 2006 01:13:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=kCfiLNIH3JNzHMWxuhUnRLaC8pPmWEk5socujPszzr7OXSC328P55lkRUP9/RpoZbpica/dTz1Y8EtD/K6Sg2CdeJ2flC/HMfYpCT4zMOpCAzshB7UEZSMf8wcXOUwEt9Cq9NxEnYGqhQ3OB4XKdvgrDLYiBFJnix3gy4WW8rgs= Received: by 10.65.155.11 with SMTP id h11mr98514qbo; Thu, 16 Feb 2006 01:13:43 -0800 (PST) Received: by 10.65.98.7 with HTTP; Thu, 16 Feb 2006 01:13:43 -0800 (PST) Message-ID: Date: Thu, 16 Feb 2006 14:43:43 +0530 From: AKHILESH GUPTA To: pgsql-general@postgresql.org, pgsql-sql@postgresql.org Subject: to count no of columns in a table MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_17451_2144618.1140081223917" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.647 required=5 tests=[AWL=-0.299, HTML_10_20=0.945, HTML_MESSAGE=0.001] X-Spam-Score: 0.647 X-Spam-Level: X-Archive-Number: 200602/659 X-Sequence-Number: 91324 ------=_Part_17451_2144618.1140081223917 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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" ------=_Part_17451_2144618.1140081223917 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline hi all,
i just want to know one thing that is there any function in PGSQL which giv= es 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"
------=_Part_17451_2144618.1140081223917--