on a table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sasimca007
    New Member
    • Sep 2007
    • 129

    on a table

    Hello friends,
    May i know how to know the column names of a table in postgresql. I am expecting through query. I have to apply that query in modperl.
  • rski
    Recognized Expert Contributor
    • Dec 2006
    • 700

    #2
    Originally posted by sasimca007
    Hello friends,
    May i know how to know the column names of a table in postgresql. I am expecting through query. I have to apply that query in modperl.
    To be clear, you need to find a query wich show you column names in a given table. If so you can do it for example using information_sch ema
    Code:
    select column_name from information_schema.columns where table_name='put here the table name';
    Is it what you are looking for?

    Comment

    Working...