in reply to Problem with database under Win32

I would try one of two approaches:

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.

Replies are listed 'Best First'.
Re: Re: Problem with database under Win32
by l3nz (Friar) on Nov 22, 2003 at 10:59 UTC
    Thanks for your reply - but how do I call a stored procedure on SQL Server from Perl?