Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: extract the Column names of a table

by DBAugie (Beadle)
on Mar 24, 2008 at 11:40 UTC ( #675887=note: print w/ replies, xml ) Need Help??


in reply to extract the Column names of a table

In Oracle, one reveals the column names with
select COLUMN_NAME from ALL_TAB_COLUMNS where TABLE_NAME = 'NAME_OF_TABLE'

TAMTOWTDI, but it seems to me that using SQL for sql-type things and DBI for database connectivity is a more successful strategy.

r,

Augie

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://675887]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2016-08-25 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (360 votes). Check out past polls.