lol...Ok. The array by itself didn't work. Here is some better output:
$perl * -d 01-Jul-2002 -c uslecatl5e1
Preparing statement:
select
clli, traffic_date, count(distinct(traffic_hour))
from
gvc_traffic30
where
traffic_date in (?)
and
clli in (?)
and
traffic_type = 'N'
group by
clli, traffic_date, traffic_hour
running with args : 01-Jul-2002 uslecatl5e1
For all those that question...@args is:
0 :01-Jul-2002
1 :uslecatl5e1
It was the only way I could match the number of args that I needed to send to execute with the number of '?'s that I prep'ed $statement with.
_
_
_
_
_
_
_
_
_
_
- Jim
Insert clever comment here...
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.