Re: Need help with an Oracle PLS-306 error when calling a stored proc edure

2001-10-03 Thread Alan Seegmiller
Austin, I usually call my procedures with begin which would look like... my $csr = $dbh->prepare( "BEGIN checkimages.getfrontpic(:1,:2,:3,:4,:5,:6); END;" ) ; $csr->bind_param(1,$acctnbr); $csr->bind_param(2,$checknbr); $csr->bind_param(3,$seqnbr); $csr->bind_param_inout(4,\$content_type,20); $

DBI Binaries for Win2K/cygwin

2001-10-03 Thread Roman Adar
Hi I'm having problems with building of the DBI module using ActiveState Perl. Would like instead to use the "binary" distribution. Can someone point me to a reliable source to download the latest stable version. My configuration is Win2K, ActiveState Perl, Interbase Database. Another question

Installing DBD::ODBC on mandrake 8

2001-10-03 Thread Jim Whitby
Perl 5.6.1 unixODBC-2.0.9 DBD-ODBC-0.28 ODBCHOME=/usr ( installed and functioning ) One major error. One minor error. Minor error: Note (probably harmless): No library found for -llibgtkodbcconfig.a ( it is installed in /usr/lib. ) Major error: [jim@jim DBD-ODBC-0.28]$ make test PERL_DL_NON

Need help with an Oracle PLS-306 error when calling a stored procedure

2001-10-03 Thread Austin Durbin
I have a stored procedure that returns a a jpeg file as a blob. When I invoke this procedure I am receiving the following error: DBD::Oracle::st execute failed: ORA-06553: PLS-306: wrong number of types of arguments in call to 'GETFRONTPIC' Any suggestions as to what is wrong? Perhaps I just hav

DBD Oracle 0.6

2001-10-03 Thread Sean Porth
Hi, Im trying to find an older copy of DBD-Oracle. I need version 0.6. I've searched all over and can't find any versions earlier than 1.06. If anybody has this module or knows where I can get it, it would help me out much. Thanks Sean Porth System Admin Tortus Technologies www.tortus.com

Re: Encrypted data via dbi into postgres

2001-10-03 Thread Alex Pilosov
You must use bytea type on postgres side to insert binary data, and bind your variable as SQL_BINARY. ALternatively, byte64 or hex encode your binary data. On Wed, 3 Oct 2001, K Old wrote: > Hello, > > I am trying to load encrypted data (a credit card number encrypted by the > Crypt::Twofish

Re: Encrypted data via dbi into postgres

2001-10-03 Thread Keith A. Clay
We upload jpegs using bind parameters into mysql using the following: $stmt=replace into mytable (fld1,bfld1) values ('fld1',?); $sth=$dbh->prepare($stmt); $sth->execute($var_with_binary_data); James D. White wrote: >>7384998737264839 >> >>when encrypted by Crypt::Twofish would look like >> >

Re: Encrypted data via dbi into postgres

2001-10-03 Thread Stephen Clouse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Oct 03, 2001 at 03:06:49PM -0500, K Old wrote: > I am trying to load encrypted data (a credit card number encrypted by the > Crypt::Twofish perl library) and postgres won't accept the data. I have > tried escaping each character, and nothin

Re: Encrypted data via dbi into postgres

2001-10-03 Thread James D. White
I don't know about Postgress, but you could convert the string to hex or uuencode it, then you have normal printable characters which should be acceptable, if a bit longer string. K Old wrote: > Hello, > > I am trying to load encrypted data (a credit card number encrypted by the > Crypt::Twofish

Encrypted data via dbi into postgres

2001-10-03 Thread K Old
Hello, I am trying to load encrypted data (a credit card number encrypted by the Crypt::Twofish perl library) and postgres won't accept the data. I have tried escaping each character, and nothing works. For example a credit card number like 7384998737264839 when encrypted by Crypt::Twofish

Re: DBI Version Problem

2001-10-03 Thread Scott T. Hildreth
Sounds like it is like FreeBSD, which has perl libs installed in /usr/libdata/perl. DBI probably installed into /usr/local/lib/perl5 or /usr/lib/perl5. You could upgrade perl to 5.6.1 and install it into your directory of choice and have a newer version of perl :-) On 03-Oct-01 Alex Kirk wr

Re: DBI Version Problem

2001-10-03 Thread Alex Kirk
> I vaguely recall that the directory DBI gets installed in changed > slightly at some point, so you have to manually delete all traces > of the old DBI, especially the parts in those 'auto' directories > under the lib directory. Any idea what typically gets installed? It's kind of hard to weed o

RE: DBI on Win2K

2001-10-03 Thread Jose Aguayo
Stephen, Indeed when I added the line to my script the result was there was no ORACLE_HOME value. Can you help me determine where it is I need to place this value in order to recognize it? I've already added the filesystem path to the following registry settings: \HKEY_LOCAL_MACHINE\SOFTWARE\O

info from DBI trace

2001-10-03 Thread Keith A. Clay
Folks, Now that I figured out the data problem, how do I obtain the following information from DBI? Thamks. keith -- - Keith Clay, [EMAIL PROTECTED] Lead Programmer, Web Integration and Programming 286 Adams Center for Teaching Excellence Abile

SV: retrieving the server name from a $dbh

2001-10-03 Thread Henrik Tougaard
> Fra: Mitch Helle-Morrissey [mailto:[EMAIL PROTECTED]] > > I couldn't find anything in the archive that answers this question: > > Is there a way to get the server name from a database handle > without parsing > the $dbh->{Name} attribute? I'd like to keep this code > database-independent, an

RE: DBI Version Problem

2001-10-03 Thread Wilson, Doug
> From: Alex Kirk [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 02, 2001 6:25 PM > To: [EMAIL PROTECTED] > Subject: DBI Version Problem > > > Pardon me if this has been covered before; I can't reach the > archives, and > I'm the impateint type. ;-) > For some reason, when I ran my "pe

retrieving the server name from a $dbh

2001-10-03 Thread Mitch Helle-Morrissey
I couldn't find anything in the archive that answers this question: Is there a way to get the server name from a database handle without parsing the $dbh->{Name} attribute? I'd like to keep this code database-independent, and since the format of the DSN can vary from one db to the next, I'd like

Re: MSSQL Row levels locks from DBI

2001-10-03 Thread Simon Oliver
Is the product column indexed? Without an index the SQL server may be forced to According to msdn UPDLOCK "hold(s) locks until the end of the statement or transaction". Did you complete the transaction? Michael Peppler wrote: > > Venkataramana Mokkapati writes: > > > > select * from catalo

Error: Runtime exception

2001-10-03 Thread Dan Horne
Hi I have a batch script that performs the following tasks prepare insert statement for oracle loop through files in a directory read each line from the current file using dbd-csv insert into oracle using dbd-oracle end loop This runs fine on Windows 2000, but when I try on NT, after readin