Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How do you get Perl::DBI to do a desc table_name?

by rbc (Curate)
on Mar 27, 2002 at 19:21 UTC ( [id://154775]=note: print w/replies, xml ) Need Help??


in reply to How do you get Perl::DBI to do a desc table_name?

desc is a sqlplus command
You don't need DBI to do what you want
#!/usr/bin/perl -w use strict; my $cmd="sqlplus scott/tiger\@whatever"; open SQLPLUS, "|$cmd" or die "Ah poo!:$!\n"; print SQLPLUS<<DOIT; desc user_tables DOIT close SQLPLUS;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-19 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found