Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • by ddick (5726) on 2008.08.05 23:12 (#64207) Journal
    depending on if you were writing for another database in the future, you might want to take advantage of

    $dbh->get_info(29)

    or in longer form ...

    $dbh->get_info($DBI::Const::GetInfoType::GetInfoType{'SQL_IDENTIFIER_QUOTE_CHA R'})

    giving you the correct quoting character for the database (assuming the driver supports it)