Roime bin Puniran, wrote:

>#Prepare the insert SQL
>my $rec = $dbh->prepare("INSERT INTO t_flows(ipSrc, ipDst, pktSent,
bytesSent, startTime, endTime, srcPort,
>dstPort, tcpFlags, proto,      tos) VALUES ('$value1', '$value2',
'$value3', '$value4', '$value5', '$value6',
>'$value7', '$value8', '$value9', '$value10',   '$value11');");
-----------------------------------------------------------^


Going back a few years here, but does an SQL statement not have to end in a
semi-colon as above?



************************************************************************
The information contained in this message or any of its
attachments is confidential and is intended for the exclusive
use of the addressee. The information may also be legally
privileged. The views expressed may not be company policy,
but the personal views of the originator. If you are not the
addressee, any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited.
If you have received this message in error, please contact
[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]> and then delete this message. 

Exide Technologies is an industrial and transportation battery
producer and recycler with operations in 89 countries.
Further information can be found at www.exide.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to