l3nz has asked for the wisdom of the Perl Monks concerning the following question:
If I do this, the resulting recordset object shows strange behaviours, likedeclare @VAR int; set @VAR = (select max(id) from table); select * from table2 where id = @VAR
Anybody got an idea on how to overcome this result? I cannot use DBI because it would mean a major rewrite of existing code. Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem with database under Win32
by NetWallah (Canon) on Nov 22, 2003 at 01:57 UTC | |
by l3nz (Friar) on Nov 22, 2003 at 10:59 UTC | |
|
Re: Problem with database under Win32
by runrig (Abbot) on Nov 22, 2003 at 10:03 UTC | |
by NetWallah (Canon) on Nov 23, 2003 at 16:47 UTC | |
by l3nz (Friar) on Nov 23, 2003 at 19:34 UTC | |
|
Re: Problem with database under Win32
by NetWallah (Canon) on Nov 22, 2003 at 07:04 UTC | |
by l3nz (Friar) on Nov 22, 2003 at 10:57 UTC | |
|
Re: Problem with database under Win32
by l3nz (Friar) on Nov 24, 2003 at 13:48 UTC |