cameron has asked for the wisdom of the Perl Monks concerning the following question:
I am tring to insert this into an Oracle 7 database with the feild adminfile declared as LONG I get the following error: Unexpected Error -1704 at newbsmpatch line 97: ORA-01704: string literal too long#capture the admin file to be inserted into database $admin = `cat /tmp/$basename.admin.$$`; #Insert the data into the RPS database @sqlca = &sql(q#insert into BSM_ADMINFILE (patch_id,adminfile) values('$patch_id','$admin')#); &checkReturnCode(10,*sqlca,"Unable to insert."); &saveDBwork();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LONG datatypes
by buckaduck (Chaplain) on May 31, 2001 at 23:15 UTC | |
|
Re: LONG datatypes
by IraTarball (Monk) on May 31, 2001 at 22:32 UTC | |
by DrSax (Sexton) on May 31, 2001 at 23:16 UTC | |
|
Re: LONG datatypes
by ckohl1 (Hermit) on May 31, 2001 at 22:50 UTC | |
|
Re: LONG datatypes
by BigJoe (Curate) on Jun 01, 2001 at 16:34 UTC |