DBI::st=HASH(0x88f6520)
- From: "lnatz" <nmrabinovich@xxxxxxxxx>
- Date: 31 Aug 2006 09:19:07 -0700
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
.
- Follow-Ups:
- Re: DBI::st=HASH(0x88f6520)
- From: Paul Lalli
- Re: DBI::st=HASH(0x88f6520)
- Prev by Date: Re: File locking issue
- Next by Date: Re: File locking issue
- Previous by thread: File locking issue
- Next by thread: Re: DBI::st=HASH(0x88f6520)
- Index(es):
Relevant Pages
|
|