Jose, Tried that, no good! Upgraded to DBI 2.01 same result (access violation) Thanks for the suggestion (the book is in my lap...)
"Nyimi Jose" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > -----Original Message----- > From: Dave K [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 19, 2002 2:07 PM > To: [EMAIL PROTECTED] > Subject: Syntax for Driver Specific attributes > > > Hi All, > I'm trying to use driver specific attributes, > specifically pg_type: > > my @tables = $dbh->tables; > foreach $table (@tables) { > print"Table: $table\n"; > $sql = "SELECT * FROM $table"; > $sth = $dbh->prepare($sql) or print"Prepare fails\n"; > $sth->execute or print"Execute fails\n"; > > $aref = $sth->{pg_type}; hum ... May be: $aref = $sth->pg_type; I'm not sure ... Give a look to "Perl DBI book" by Tim (Oreilly) Jos�. **** DISCLAIMER **** "This e-mail and any attachment thereto may contain information which is confidential and/or protected by intellectual property rights and are intended for the sole use of the recipient(s) named above. Any use of the information contained herein (including, but not limited to, total or partial reproduction, communication or distribution in any form) by other persons than the designated recipient(s) is prohibited. If you have received this e-mail in error, please notify the sender either by telephone or by e-mail and delete the material from any computer". Thank you for your cooperation. For further information about Proximus mobile phone services please see our website at http://www.proximus.be or refer to any Proximus agent.
