travisbickle34 has asked for the wisdom of the Perl Monks concerning the following question:
I get the following error:my $inserthandle = $dbh->prepare("INSERT INTO DATA (LongData) VALUES ( +'$longstring'); $inserthandle->execute or die $DBI::errstr;
I am using a longtext data type within the DB so I know this is ok. Is there an issue with passing long strings via the DBI? I should mention that the code works fine if I pass shorter strings to the $longstring variableDBD::mysql::st execute warning: at ./script line 121 Died at ./crcdb line 121
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl DBI String length problem
by Fletch (Bishop) on Sep 06, 2005 at 15:19 UTC | |
|
Re: perl DBI String length problem
by ChrisR (Hermit) on Sep 06, 2005 at 15:24 UTC | |
by travisbickle34 (Beadle) on Sep 06, 2005 at 15:32 UTC | |
by ChrisR (Hermit) on Sep 06, 2005 at 16:01 UTC | |
by travisbickle34 (Beadle) on Sep 06, 2005 at 16:24 UTC | |
by ChrisR (Hermit) on Sep 06, 2005 at 17:24 UTC | |
|
Re: perl DBI String length problem
by monkey_boy (Priest) on Sep 06, 2005 at 16:21 UTC | |
by travisbickle34 (Beadle) on Sep 07, 2005 at 07:59 UTC | |
by travisbickle34 (Beadle) on Sep 07, 2005 at 12:37 UTC | |
by travisbickle34 (Beadle) on Sep 08, 2005 at 12:22 UTC |