1. Do your SQL in a stored procedure
2. Separate the 2 queries. Get the result of the MAX into a perl variable, then build and run the second query.
In reply to Re: Problem with database under Win32
by NetWallah
in thread Problem with database under Win32
by l3nz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |