RE: error accessing sql server from perl

2001-12-01 Thread Hugh J. Hitchcock
l app. So after you have the DSN set up correctly and successfully tested, you must reference the DSN and login parameters correctly in your perl code, in the DBI->connect() function. Hope this helps Hugh J. Hitchcock Sr. Software Engineer, TIAXA http://www.tiaxa.com > -Original Message---

Oracle:: character set name is not recognized

2001-10-09 Thread Hugh J. Hitchcock
erely, Hugh J. Hitchcock Sr. Software Engineer / Project Manager Tiaxa, Inc. http://www.tiaxa.com

RE: SQL Server Problem.(SQL-28000)

2001-08-16 Thread Hugh J. Hitchcock
coming in as passwordHASH(0x1246) or something. Also if you are using the LocalServer you may want to make another DSN specifically for your machine's ip address instead of using LocalServer DSN. Hope this helps Hugh J. Hitchcock Programmer / Developer my $dbh = DBI->connect(

RE: Cannot Insert into SQL Server

2001-08-12 Thread Hugh J. Hitchcock
probably the placehoder answer would work. But other than that, I think this would probably work: my $sth = $dbh->prepare("insert into emails values ('$addr')") || die "Can't prepare statement: $DBI::errstr"; embedding the value inside of double quotes or my $sth = $dbh->prepar

Oracle resultsets cached in DBI?

2001-08-03 Thread Hugh J. Hitchcock
esults or what, but it is getting very frustrating! Does anyone have any insight into this phenomenon? Many, many thanks in advance. Sincerely, ---- Hugh J. Hitchcock Sr. Software Engineer / Project Manager Tiaxa, Inc. http://www.tiaxa.com

RE: :ODBC configuration of DSN within program.

2001-07-29 Thread Hugh J. Hitchcock
right, but... not to be difficult or anything, but that's not really a dsn... it is a connection string. A dsn is an ODBC data source name (on windows) which is configured through the control panel. But yes, this would be the solution to the question. (btw you could probably use a single quote in

RE: :ODBC configuration of DSN within program.

2001-07-29 Thread Hugh J. Hitchcock
of using a DSN in the first place. Hoever it is quite easy to create your ODBC connection without a DSN... and then programmatically change connection properties without using a DSN. As Neil Lunn suggested, you should probably just check out the ODBC examples. HTH Hugh J. Hitchcock Program

RE: Yet another DBD::Oracle build surrender on HP-UX 11.00 64Bit

2001-07-27 Thread Hugh J. Hitchcock
well, yes, but... I realise my way is sort of a hack. However, I do view it as a quick and easy way to get things running without cluttering up a machine with about a gigabyte of unneeded files, if and when you'd prefer not to. To download the software you'd need to install the Oracle client, it

RE: Can't run Oracle from cgi script from Browser using DBI

2001-07-26 Thread Hugh J. Hitchcock
need to deal with in my endeavours and I will certainly let you know the outcome ;) Hugh J. Hitchcock Programmer / Developer > -Original Message- > From: Modi Ketan-G17361 [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 25, 2001 8:49 PM > To: '[EMAIL PROTECTED]'

RE: Yet another DBD::Oracle build surrender on HP-UX 11.00 64Bit

2001-07-26 Thread Hugh J. Hitchcock
one more addendum: I'm not sure if this solves the problem when using CPAN. I did end up just cd ing to the DBD-Oracle directory, then running perl Makefile.PL, then make,. make test, make install and it all worked fine. In fact, it worked fine even before I had all those files but the connection

RE: Yet another DBD::Oracle build surrender on HP-UX 11.00 64Bit

2001-07-26 Thread Hugh J. Hitchcock
achine, say, in /usr/lib/oracle . Make sure the env variable for ORACLE_HOME = /usr/lib/oracle and LD_LIBRARY_PATH includes /usr/lib/oracle . You can set the env var in your perl script by typing $ENV{'ORACLE_HOME'} = '/usr/lib/oracle'; Hope this helps -------

DBD Oracle on Solaris

2001-07-18 Thread Hugh J. Hitchcock
using DBD::Oracle? I know it's a lot to ask. My profuse thanks in advance. Sincerely, -------- Hugh J. Hitchcock Sr. Software Engineer / Project Manager Tiaxa, Inc. http://www.tiaxa.com