DBI::st=HASH(0x88f6520)



Hello,
I wrote a perl script that would return the table names in a sybase
database and the column names in a specific table specified. The
following is an excerpt from my script.

sub metadata {
my @table_names = $DBH->tables();
print "Table: \n";
print map {"$_.\n"} @table_names;
print "\n";
my $sth = $DBH->column_info(undef, undef, $table_name,undef);
foreach my $column ($sth) {
print "Column: $column \n";
}
$sth->finish;

}

It outputs the names of the tables in the database correctly, but I am
having a problem with the column names. For the printing of the column
names, the script outputs the following one line:
Column: DBI::st=HASH(0x88f6520)

If anyone can give me an explanation for this problem I would greatly
appreciate it.

Thank you,
natalie

.



Relevant Pages

  • [NEWS] IBM Informix Web DataBlade Local Root by Design
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... that ease development of "intelligent", interactive, Web-enabled database ... person who has access to change the Perl script. ...
    (Securiteam)
  • RE: Need some MySQL query help...
    ... attempting to run the script: ... passed to the database. ... passwd entry to the current database entry. ...
    (perl.dbi.users)
  • Re: Cannot Open SQL Server Table in Access.ADP File.
    ... I dont think that SQL Server will take 'veiw dependencies' into effect; ... Generate Script Wizard did not work on my original database, ... After fixing some of my tables and a few stored procedures and views, ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Function that returns date of file.
    ... string after the date/time when it is used by itself. ... Is that your entire script? ... I make an IF statement that required the 'equals equals'. ... designed database your job will be all that much harder. ...
    (alt.php)
  • IBM Informix Web DataBlade: Local root by design
    ... IBM Informix Web DataBlade: Local root by design ... Impact: Any user who can: 1) Save a Perl script anywhere on the server's ... admin right on any database can do it by loading the WDB module into ...
    (Bugtraq)