Ron Savage <r...@savage.net.au> writes:

> Hi
>
> $quote = $dbh -> get_info(29); # SQL_IDENTIFIER_QUOTE_CHAR.

Even better:

    my $quoted_column_name =  $dbh->quote_identifier($column_name);

This takes care of escaping any ocurrences of the quote character in the
column name.

-- 
"I use RMS as a guide in the same way that a boat captain would use
 a lighthouse.  It's good to know where it is, but you generally
 don't want to find yourself in the same spot." - Tollef Fog Heen

Reply via email to