lib/DBI/Const/GetInfo/ODBC.pm is missing info type SQL_DATABASE_NAME

From: Phillip Hellewell (phellewell_at_spillman.com)
Date: 01/21/05

  • Next message: Joseph Schutz: "Install DBI-DBD for Oracle Failure (perl 5.8.5)"
    Date: Fri, 21 Jan 2005 12:03:34 -0700
    To: <dbi-users@perl.org>
    
    

    Hello,
            I'm using DBI and DBD:ODBC in my perl script. I'm also using
    DBI::Const::GetInfoType. I was trying to get the database name using
    $dbh->get_info( $GetInfoType{SQL_DATABASE_NAME} ), and it returned 0,
    but $dbh->get_info( 16 ) worked! So I looked in
    lib/DBI/Const/GetInfo/ODBC.pm, and sure enough, it is missing a case for
    16 in the %InfoTypes hash. This is the version of the ODBC.pm file I am
    using:

    # $Id: ODBC.pm,v 1.3 2003/02/26 17:56:01 timbo Exp $

            Is my file outdated, or was SQL_DATABASE_NAME just left out by
    accident? Was it left out on purpose?

    Thanks,
    Phillip Hellewell


  • Next message: Joseph Schutz: "Install DBI-DBD for Oracle Failure (perl 5.8.5)"

    Relevant Pages

    • Re: eseutil /p will nicht brauche dringend Hilfe!!!
      ... provides information about recovering the database if error -1216 occurs. ... the re-integration of the missing files with the data set. ... you can use an option in Eseutil to override ... the error and proceed with soft recovery despite missing or mismatched ...
      (microsoft.public.de.german.exchange2000.general)
    • RE: Events to "Trap" Incomplete Record Creation?
      ... validation checks and issue a message if anything is missing. ... Joe CluelessUser is adding a new record to a database through a form. ... because of the missing required data. ...
      (microsoft.public.access.formscoding)
    • Re: Convert a2000 back to a97
      ... Your computer is missing some of the DLL's or TLB's that come with Access ... The proper way to fix the References is to open the application in Access ... has the database connection hard-coded to use data access methods specific ... Those simple loads and conversions you mentioned -- could ...
      (microsoft.public.access.conversion)
    • Re: Merge in Word
      ... (here's was missing at certain numbered entries - mine is variable). ... "Peter Jamieson" wrote: ... characters" - that sort of thing. ... work when I didn't use Excel for the database. ...
      (microsoft.public.word.mailmerge.fields)
    • Re: Merge in Word
      ... Peter - that was the problem! ... (here's was missing at certain numbered entries - mine is variable). ... characters" - that sort of thing. ... This has happened when the database is a simple address database in table ...
      (microsoft.public.word.mailmerge.fields)