Connect to Oracle 8.1.7

From: Spiraquis Alexis (spiraqua_at_telefonica.com.ar)
Date: 01/24/05

  • Next message: David N Murray: "Re: Connect to Oracle 8.1.7"
    To: dbi-users@perl.org
    Date: Mon, 24 Jan 2005 15:44:31 -0300
    
    

    Hello

    I have on my server 5.005_03 built for sun4-solaris installed with
    DBI(v1.13). I was previously accesing a Oracle 7.3.4 Database without
    problems. Now I tried to access the same DB but migrated to 8.1.7 and I get
    the following error:
    DBD::Oracle::db prepare failed: ORA-00942: table or view does not exist
    (DBD: error possibly near <*> indicator at char 52 in ' select m.swValue

    There is no "<*>" in my query and the same Perl page with Oracle 7.3.4
    works.
    What I guess is that I use two types of connections. With this type I donīt
    have any problems:
    sub adv_connect
    {
            #local ($sql, @inputdata) = @_ ;

            local ($dbh) = DBI->connect('dbi:Oracle:dbname','user','pass',
                                        );
            $dbh->{AutoCommit} = 0;
            return ($dbh);
    }

    But with this type of connection I get the error mentioned above:
    sub adv_connection
    {
            local ($sql, @inputdata) = @_ ;
                local ($dbh) = DBI->connect('dbi:Oracle:dbname','user','pass',
                                       );
            $dbh->{AutoCommit} = 0;
            local ($sth) = $dbh->prepare($sql) or return ($dbh,undef);
            $sth->execute();
            $sth->bind_columns(undef, @inputdata);
            return ($dbh, $sth);
    }

    The question is: Do I need to change all these types of connections and use
    the first one? Or I need to migrate the Perl or DBI version?
    Thank you very much


  • Next message: David N Murray: "Re: Connect to Oracle 8.1.7"

    Relevant Pages

    • Re: ORA-12518, 04030 errors after 9i-10G upgrade.
      ... All went ok until users started connecting in 100+ numbers, database is ... set up for dedicated server connections, this was never a problem in 9i. ... out of process memory errors. ... that Oracle is having issues with OS resources. ...
      (comp.databases.oracle.server)
    • ADO.Net Connection Pooling Problem with Oracle
      ... with running out of database connections. ... the number of database sessions in Oracle seem to ... in Oracle from 150 to 300, but we're coming pretty close to this limit. ... database connections everywhere they're used. ...
      (microsoft.public.dotnet.framework.adonet)
    • Re: Limitation of Oracle XE
      ... What is the maximum number connection of Oracle XE? ... affect how many users can access the database concurrently and, ... connections is operating system dependent. ... operating systems, including Windows NT 4, Windows 2000, and Windows XP ...
      (comp.databases.oracle.server)
    • JDBC Connection Refused to 10g on Solaris 8
      ... Not sure where the problem is but I have a new demo Solaris 8 Sparc ... on which I installed Oracle 10g. ... v$session run up to 110 or so before suddenly the JDBC connections ... I cant find anything exciting in the listener.log and the database ...
      (comp.unix.solaris)
    • JDBC Connection Refused to 10g on Solaris 8
      ... Not sure where the problem is but I have a new demo Solaris 8 Sparc ... on which I installed Oracle 10g. ... v$session run up to 110 or so before suddenly the JDBC connections ... I cant find anything exciting in the listener.log and the database ...
      (comp.lang.java.databases)