There's more than one way to do things | |
PerlMonks |
Re: ADO, multiple statements and Perlby mpeppler (Vicar) |
on Nov 24, 2003 at 16:00 UTC ( [id://309562]=note: print w/replies, xml ) | Need Help?? |
(any other comment or criticism on the code is warmly welcome)I'll point out a SQL bug in your code: It is possible that SELECT id FROM desAz WHERE az like '...' could return more than one row, @AZIONE will get set to the last value returned. That's one of the reasons why using a JOIN here would be a lot better. Michael
In Section
Seekers of Perl Wisdom
|
|