in reply to Re: Multiple references pointing to the same memory location
in thread Multiple references pointing to the same memory location
Just small warning: different SQL dialects might have different limitations on how many items might go to IN(...) clause. So check your documentation and make sure you will tear your list and submit it to ->execute in chunks your SQL can handle, with smallest number of $sth->execute calls.
And also be aware now you have piece of SQL code which is database-dependent. How bad it is depends of how many CGI scripts you have to manage. Maybe you want to put all SQL-dialect dependent snippets of code into separate module?
pmas
To make errors is human. But to make million errors per second, you need a computer.
|
|---|