RE: Oracle DBI on "trusted" hpux

2012-02-07 Thread John Scoles
I wish I could give you a 100% tumbs up on this but... It should work without problems as I have used Oracle Wallet many times before and in theory the OCI client and not the perl code should take care of all that for you. So if you can connect with DBD::Oracle it should just work. You mig

Re: Oracle::DBI module - Issues in connecting to Oracle 10G

2009-01-12 Thread Mike Nhan
hoststring.10G = (DESCRIPTION= (LOAD_BALANCE=yes) (ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.123)(PORT=1521)) (ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.124)(PORT=1521)) (CONNECT_DATA= (SERVICE_NAME=) ) ) Currently, using the DBI module I am able to connect to these servers (x.x.

RE: Oracle::DBI module - Issues in connecting to Oracle 10G

2009-01-09 Thread Martin Gainty
Sri- Oracle connects via the TNS entry as seen in %ORACLE_HOME%/network/admin/tnsnames.ora Here the TNS Name DB1 is associated to Service IDentifier of DB 1 SID=DB1 which in this case is listening on localhost Port 1521 DB1= (DESCRIPTION= (ADDRESS= (PROTOCOL=tcp)

RE: Oracle DBI for HP

2007-07-03 Thread pyers.symon
You should find that you wll have virtally no problems with that.You might need to build perl afresh though. From: Robert Hicks [mailto:[EMAIL PROTECTED] Sent: Tue 03/07/2007 17:33 To: dbi-users@perl.org Subject: Re: Oracle DBI for HP [EMAIL PROTECTED] wrote

Re: Oracle DBI for HP

2007-07-03 Thread Robert Hicks
[EMAIL PROTECTED] wrote: Can you get hold of an HP ANSI C compiler? p Yes I can. R

RE: Oracle DBI for HP

2007-07-03 Thread pyers.symon
Can you get hold of an HP ANSI C compiler? p > -Original Message- > From: Robert Hicks [mailto:[EMAIL PROTECTED] > Sent: 03 July 2007 16:19 > To: dbi-users@perl.org > Subject: Re: Oracle DBI for HP > > > [EMAIL PROTECTED] wrote: > > > > The

Re: Oracle DBI for HP

2007-07-03 Thread Robert Hicks
[EMAIL PROTECTED] wrote: The basic rule about building perl, DBD & Oracle DBI on HP-UX (let alone Itanium) using gcc is don't. Life is far far too short for it since you will hit problem after problem. It is possible using HP's native C compiler (in fact it is straight forwards) but if you are u

RE: Oracle/DBI

2005-10-18 Thread Steve Baldwin
hing the archives of this list. Steve -Original Message- From: Gupta, Razat [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 October 2005 8:55 PM To: Steve Baldwin Subject: RE: Oracle/DBI Dear Steve, Can you please give me a brief description of the steps you want me to follow. Like : if I m ru

RE: Oracle/DBI

2005-10-18 Thread Steve Baldwin
DBD::Oracle binaries that has been built against the correct version of the SQL*Net client. HTH, Steve -Original Message- From: Gupta, Razat [mailto:[EMAIL PROTECTED] Sent: Tuesday, 18 October 2005 6:50 PM To: sreenivas reddy Cc: dbi-users@perl.org Subject: RE: Oracle/DBI Thanks for your

RE: Oracle/DBI

2005-10-18 Thread Gupta, Razat
u have any idea! Regards, Razat -Original Message- From: sreenivas reddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 2:23 AM To: 'sreenivas reddy'; Gupta, Razat; dbi-users@perl.org Subject: RE: Oracle/DBI Put tnsnames.ora file and try Regards gsreddy -Original

RE: Oracle/DBI

2005-10-18 Thread sreenivas reddy
Put tnsnames.ora file and try Regards gsreddy -Original Message- From: sreenivas reddy [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 12:50 PM To: 'Gupta, Razat'; dbi-users@perl.org Subject: RE: Oracle/DBI Try to install DBD-Oracle module Oracle database driver f

RE: Oracle/DBI

2005-10-18 Thread sreenivas reddy
Try to install DBD-Oracle module Oracle database driver for the DBI module Ppm>install DBD-Oracle Regards gsreddy -Original Message- From: Gupta, Razat [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 12:37 PM To: dbi-users@perl.org Subject: Oracle/DBI Hi Everyone, I am tr

RE: Oracle dbi ?

2003-11-16 Thread Jared Still
ot exposed to OCI." > > That is from Oracle. Hope that helps. > > -Original Message- > From: Jared Still [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 11, 2003 1:49 AM > To: Kevin Moore > Cc: [EMAIL PROTECTED] > Subject: Re: Oracle dbi ? > > > The p

Re: Oracle dbi ?

2003-11-11 Thread Michael A Chase
On Tue, 11 Nov 2003 07:44:16 -0800 Kevin Moore <[EMAIL PROTECTED]> wrote: > Since I've got no experience with OCI and not much play time right > now I'm going to ask this question. Can you execute a command line > shell script using OCI? If so there is no reason you cannot invoke > sqlplus and sta

Re: Oracle dbi ?

2003-11-11 Thread Kevin Moore
Jared, Since I've got no experience with OCI and not much play time right now I'm going to ask this question. Can you execute a command line shell script using OCI? If so there is no reason you cannot invoke sqlplus and startup or shutdown an Oracle database. Kevin Jared Still wrote: The pro

RE: Oracle dbi ?

2003-11-11 Thread Gold, Samuel (Contractor)
; That is from Oracle. Hope that helps. -Original Message- From: Jared Still [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 1:49 AM To: Kevin Moore Cc: [EMAIL PROTECTED] Subject: Re: Oracle dbi ? The problem is, these aren't actually SQL commands. Rather, these are SQ

Re: Oracle dbi ?

2003-11-10 Thread Jared Still
The problem is, these aren't actually SQL commands. Rather, these are SQL*Plus commands. The DBD::Oracle doesn't know what to do with these. If you could figure out how to do this with OCI, then you could probably patch DBD::Oracle to provide this functionality. Tim would appreciate that patc

Re: Oracle dbi ?

2003-11-04 Thread Kevin Moore
What user are you conneted as when you try to shut down the database? I've used shutdown, shutdown imediate, and in worst cases shutdown abort to stop an Oracle database. This has been the method (sql> ) from 8i forward. Kevin [EMAIL PROTECTED] wrote: Since shutdown is not a sql command, has

Re: Re: Re: Oracle DBI commit/rollback question...

2002-02-09 Thread Jared Still
Maybe you can't rollback a SELECT statement, but it can be part of a transaction. Using Oracle as an example: Session 1: create table x ( x number ); insert into x values(1); commit; Session 2: commit; set transaction read only; select * from x; X -- 1 1 rows sele

Re: Re: Re: Oracle DBI commit/rollback question...

2002-02-07 Thread Ronald J Kimball
On Thu, Feb 07, 2002 at 04:41:31PM -0500, Ronald J Kimball wrote: > Selects, updates, and deletes are part of a transaction; they can be > commited and rolled back. Creates and alters are not; they happen > immediately and cannot be rolled back. Selects? Oops. :D I didn't think that explanati

Re: Re: Oracle DBI commit/rollback question...

2002-02-07 Thread Michael A Chase
hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 13:53 Subject: RE: Re: Oracle DBI commit/rollback ques

RE: Re: Oracle DBI commit/rollback question...

2002-02-07 Thread David . Wren
Thanks. (I'm used to using Sybase... I din't know that) What about inserts? Aren't they also part of a transaction? -Dave- -Original Message- From: dpf Sent: Thursday, February 07, 2002 4:48 PM To: Wren, David Cc: dpf; dbi-users Subject: RE: Re: Oracle DBI commit/ro

RE: Re: Oracle DBI commit/rollback question...

2002-02-07 Thread Fannin, David P.
PHONE (573) 341-4841 --- -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 07, 2002 3:31 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Re: Oracle DBI commit/rollback question... Mac, Ok, I've go

Re: Re: Re: Oracle DBI commit/rollback question...

2002-02-07 Thread Ronald J Kimball
On Thu, Feb 07, 2002 at 04:31:08PM -0500, [EMAIL PROTECTED] wrote: > I probably shouldn't say "ROLLING BACK TRANSACTION" because the > "Rollback Status = 1". > But I expect because AutoCommit = "" (I set it OFF) that the table I > created in the first SQL > statement would not exist. But it d

RE: Re: Re: Oracle DBI commit/rollback question...

2002-02-07 Thread David . Wren
d not exist. But it does!! So I don't know why it won't rollback. Can you offer any more suggestions? Is it perhaps a setting in Oracle which overrides DBI rollback()? -Dave- -Original Message- From: mchase Sent: Wednesday, February 06, 2002 5:58 PM To: Wren,

Re: Re: Oracle DBI commit/rollback question...

2002-02-06 Thread Michael A Chase
eats fish for an age. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 06, 2002 14:41 Subject: RE: Re: Oracle DBI commit/rollback question... > Thanks Mac, but what I'm doing is looping different DML statements > thro

Re: Oracle DBI commit/rollback question...

2002-02-06 Thread Michael A Chase
Until your execute() or do() the statement hasn't occurred yet, so there's nothing to commit or rollback. Each time you commit or rollback, a new transaction starts. Transactions are session specific, so the transactions in two open database handles in the same program are independent of each ot

RE: Oracle DBI connection working in command line but not in CGI

2001-09-06 Thread Oleg Mechtcheriakov
In httpd.conf Reg's Oleg > -Original Message- > From: eddie iannuccelli [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 06, 2001 4:28 PM > To: Oleg Mechtcheriakov > Cc: [EMAIL PROTECTED] > Subject: Re: Oracle DBI connection working in command line but not

Re: Oracle DBI connection working in command line but not in CGI

2001-09-06 Thread eddie iannuccelli
Yes but in which file (httpd.conf or .cshrc or else ?) thanks Oleg Mechtcheriakov wrote: > Try to add to apache config something like that: > > SetEnv ORACLE_HOME /path/to/your/oracle/home > > That way You surely have the environment variable set for Your CGI script. > It helped in my case. >

Re: Oracle DBI connection working in command line but not in CGI SOLVED

2001-09-06 Thread eddie iannuccelli
THAT' S IT thank you very much : Do you think the dbish pb is linked to that ? Best regards > --- > >>I don't understand what happen since the script work fine under apache >>user session, nobody user session and root user session (http

RE: Oracle DBI connection working in command line but not in CGI

2001-09-06 Thread Oleg Mechtcheriakov
Try to add to apache config something like that: SetEnv ORACLE_HOME /path/to/your/oracle/home That way You surely have the environment variable set for Your CGI script. It helped in my case. Reg's Oleg > -Original Message- > From: eddie iannuccelli [mailto:[EMAIL PROTECTED]] > Sent: Th

Re: Oracle DBI Make failing on HPUX 11

2001-08-30 Thread Tim Bunce
Try DBD::Oracle 1.09. Tim. On Thu, Aug 30, 2001 at 11:29:55AM +1000, Penaluna, John wrote: > I'm attempting to install the Oracle DBI module on a 64 bit HPUX 11.00 > machine however it all falls over when I do the 'make'. It fails due to not > finding library "nbeq". I've installed Oracle 8.1.

Re: [Oracle] DBI: Oracle client libs necessary ??

2001-06-21 Thread David Adams
Say you have an Oracle DB installed and running on Machine A. To use DBI with the database you need the DBD::Oracle module installed on a machine where you also have the Oracle client libraries, etc. installed, either Machine A itself, or another machine, Machine B. If you want to run the Perl c

Re: [Oracle] DBI: Oracle client libs necessary ??

2001-06-21 Thread Michael A. Chase
It needs at least the Oracle SQL*Net software to connect to remote hosts. To build, it also needs either Oracle's Pro*C or OCI. -- Mac :}) ** I normally forward private database questions to the DBI mail lists. ** Give a hobbit a fish and he'll eat fish for a day. Give a hobbit a ring and he'll ea

RE: Oracle DBI on Windows NT

2001-05-24 Thread Jones Robert Contr 81 CS/SCK
Figured it out ... It has to do with the registry ... It wants ORACLE_HOME defined in HKLM\SOFTWARE\ORACLE, which it currently was not on one machine but was on another. For those offering other suggestions, thank you for your time. -Original Message- On Wed, 23 May 2001, Jones Ro

Re: Oracle DBI on Windows NT

2001-05-24 Thread Julio Santiago
Check the TNSNAMES.ORA file on each machine. They shoud only differ on the IP address >From: Jones Robert Contr 81 CS/SCK <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Oracle DBI on Windows NT >Date: Wed, 23 May 2001 16:04:05 -0500 > > > > We have Oracle version 8 loaded on Windows

RE: Oracle DBI on Windows NT

2001-05-24 Thread Jones Robert Contr 81 CS/SCK
No we don't ... Both have account on their systems with the same accounts -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 23, 2001 4:58 PM To: Jones Robert Contr 81 CS/SCK Cc: [EMAIL PROTECTED] Subject: Re: Oracle DBI on Windows NT

Re: Oracle DBI on Windows NT

2001-05-23 Thread dwilkers
Hi, you need an account for the other system/user. Darrell On Wed, 23 May 2001, Jones Robert Contr 81 CS/SCK wrote: > > > We have Oracle version 8 loaded on Windows NT boxes. We also have > ActiveState Perl build 522 installed with DBI 1.14 and DBD-Oracle 1.03. > > The problem

Re: Oracle-DBI-Win2k-Apache- MUST AUthenticate

2001-04-17 Thread Ronald J Kimball
On Mon, Apr 16, 2001 at 07:44:57PM -0400, Sterin, Ilya wrote: > I am afraid that's wrong, the arrow -> is resolved in the string context > since it's the same as dereferencing the object in the string context. The > problem is that the user which is executing the script does not have the > enviro

RE: Oracle-DBI-Win2k-Apache - FIXED!

2001-04-16 Thread Seasundown
Working! Much thanks to ALL who came to rescue. Here's fix ( important since I've seen complaints of same problem all over the net: - Ilya for ( among other things recommending the modification & new placement of trace allowing me to see & debug ) and Paul (placing elusive line in Apache c

RE: Oracle-DBI-Win2k-Apache- MUST AUthenticate

2001-04-16 Thread Sterin, Ilya
--- From: M.W. Koskamp [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 1:56 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Oracle-DBI-Win2k-Apache- MUST AUthenticate > > *** > full script... > ** > #!d:/perl/bin/perl.exe -w > print "Content

RE: Oracle-DBI-Win2k-Apache- Progress!

2001-04-16 Thread Sterin, Ilya
:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Oracle-DBI-Win2k-Apache- Progress! Progress. Changing nature of trace call was a big help. Thanks Enclosed is trace output from web, versus from command line ( repetition cut out). How do I fix

Re: Oracle-DBI-Win2k-Apache- MUST AUthenticate

2001-04-16 Thread M.W. Koskamp
> > *** > full script... > ** > #!d:/perl/bin/perl.exe -w > print "Content-type: text/html\r\n\r\n"; > use CGI; > use DBI; > use DBD::Oracle; > > print " test1 "; > print " test2 "; > > %attr = ( > PrintError => 0, > RaiseError => 1 > ); > > print " test3 "; > $dbh = DBI->connect

Re: Oracle-DBI-Win2k-Apache- Progress!

2001-04-16 Thread Seasundown
(DBI::st=HASH(0x1ec2104)~0x1b670ec) dbd_st_fetch 1 fields, rpc 217 (cache: 11/206/309) dbd_st_fetch 1 fields, rpc 217 (cache: 62/155/309) <- fetchrow= ( '100219' ) [1 items] at oracle-perl5.pl line 45. -> fetchrow for DBD::Oracle::st (DBI::st=HASH(0x1ec2104)~0x1b670ec) ***

RE: Oracle-DBI-Win2k-Apache- MUST AUthenticate

2001-04-16 Thread Sterin, Ilya
so use DBI->trace(2, "error.log") before connect to trace the full execution. Ilya Sterin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 11:55 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Oracle

Re: Oracle-DBI-Win2k-Apache- MUST AUthenticate

2001-04-16 Thread Seasundown
TIA! Has anybody authenticated via web/Apache/DBI with Oracle? Thanks for tips to unclutter script & change error out call. I've also remove "my" from connect sequence ( my idea to further simplify). I've enclosed entire brief script to make clear my point. Problem restated: script fails at "t

RE: Oracle-DBI-Win2k-Apache-want raw sql select output to browser

2001-04-16 Thread Sterin, Ilya
AIL PROTECTED] Subject: Re: Oracle-DBI-Win2k-Apache-want raw sql select output to browser Still need to connect to Oracle via web to get raw sql select output into browser. All ideas welcome ! Thanks Sapovits. I changed to c:\\ (for correctness sake) but this fixes nothing & it doesn&#x

RE: Oracle-DBI-Win2k-Apache

2001-04-16 Thread Sterin, Ilya
First change to print "Content-type: text/html\n\n"; then make sure your permissions for the script are right, since win2000 does have permissions under NTFS file system. Then you can use trace() at level 2 to see what is going on in your script. Send the trace output to the list. Also use CGI:

Re: Oracle-DBI-Win2k-Apache

2001-04-16 Thread M.W. Koskamp
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, April 16, 2001 7:52 AM Subject: Oracle-DBI-Win2k-Apache > Have a test which executes & fine on command line but > same script stops @ connect line when run as cgi > via browser.

Re: Oracle-DBI-Win2k-Apache-want raw sql select output to browser

2001-04-16 Thread Seasundown
Still need to connect to Oracle via web to get raw sql select output into browser. All ideas welcome ! Thanks Sapovits. I changed to c:\\ (for correctness sake) but this fixes nothing & it doesn't seem to address the problem (but is appreciated). I continue to get correct output ( with c:\

RE: Oracle-DBI-Win2k-Apache

2001-04-15 Thread Steve Sapovits
For one thing, your ORACLE_HOME path isn't what you think. '\' is the escape character. To use it in a string as a literal, you need to use two: $ENV{ORACLE_HOME}="c:\\orant"; > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 16, 2001

Fixed-width CHAR compares (was: RE: Oracle & DBI)

2001-02-06 Thread non-HP
> "Michael" == Michael Officer <[EMAIL PROTECTED]> writes: Michael> Thanks for the reply. Discovered that the problem isn't with Michael> placeholders, seems to be a problem related to datatypes. I Michael> mistyped my original example and misled you! It actually Michael> works! Here's the

Re: Oracle & DBI

2001-02-05 Thread Ronald J Kimball
On Mon, Feb 05, 2001 at 08:48:24AM -0500, Seger, Jeffrey wrote: > I believe you may have to escape that '*' (\*) or use single quotes. * has no special meaning inside double quotes, so escaping it with a backslash is not necessary. Ronald

RE: Oracle & DBI

2001-02-05 Thread Seger, Jeffrey
I believe you may have to escape that '*' (\*) or use single quotes. If that doesn't work, try selecting specific column names. -Original Message- From: Michael Officer [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 8:30 PM To: [EMAIL PROTECTED] Subject: Oracle & DBI I've

RE: Oracle & DBI

2001-02-02 Thread Tim Harsch
Foiani > Sent: Friday, February 02, 2001 6:23 PM > To: Michael Officer > Cc: [EMAIL PROTECTED] > Subject: Re: Oracle & DBI > > > >>>>> "Mike" == Michael Officer <[EMAIL PROTECTED]> writes: > > Mike> I've tried everything I can think o