luoina has asked for the wisdom of the Perl Monks concerning the following question:
Dear All:
I have the following code in my program, which I use to transfer data from some webpages to an Access table,
$sqlinsert="INSERT INTO $Table[$II] VALUES ('$ID','$Itemname','$Firstb +id','$Endingprice')"; $rc=$db->Sql($sqlinsert); die qq(SQL fail "$rc":), $db->Error(),qq(n) if $rc;
To some webpages, I got the following error message,
SQL fail "1":-3100[Microsoft][ODBC Microsoft Access Driver] Syntax err +or (missing operator) in query expression '' 1800's HAND EMBROIDERED +MOTTO [I SLEPT...] NR ','US $9.95','>US $36.72')'.10n at H:\strategy +trying.pl line 258, <INP> chunk 21.
What looks weird to me is that to some webpages, I do not get the error message. And the data can be transfered to the Access table.
Can anybody tell me what the problem is? Thank you in advance.....luoina
20040220 Edit by Corion: Added formatting
20040220 Edit by BazB: Changed title from 'Why I got this error message?'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: MS Access/ODBC error: why??
by Abigail-II (Bishop) on Feb 20, 2004 at 10:46 UTC | |
|
Re: MS Access/ODBC error: why??
by Skeeve (Parson) on Feb 20, 2004 at 08:43 UTC | |
|
Re: MS Access/ODBC error: why??
by pelagic (Priest) on Feb 20, 2004 at 09:07 UTC |