b0dh1 has asked for the wisdom of the Perl Monks concerning the following question:
I've got two scripts: one that reads the data from a text file into a recordset and writes it to an Access database using an ODBC connection, and one that reads through the same db and writes out the contents of the recordset using an OLE DB connection.
What I'm trying to do is write these as one script that reads through the db, and if a field match is not found it writes the data from the textfile to the db... but it won't work.
With OLE DB I get a "not enough storage is available to complete this operation" error when trying to write to the db, and with ODBC I can't open a recordset to iterate through, "Can't locate auto/Win32/ODBC/execute.al in @INC"
I'm running the latest build of ActivePerl on a WinNT machine. Any help would be greatly appreciated. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ODBC and OLE DB
by KM (Priest) on May 25, 2000 at 20:01 UTC | |
|
Re: ODBC and OLE DB
by b0dh1 (Initiate) on May 25, 2000 at 20:20 UTC | |
by KM (Priest) on May 25, 2000 at 20:39 UTC |