Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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?
[The Perlman]:  www.perlmonks.org   is not available
[1nickt]: The_Perlman working for me ...
[LanX]: it's back, but now  perlmonks.org is gone

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-10-17 14:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (233 votes). Check out past polls.

    Notices?