I'm curious what is the best practise to update multiple rows in my database if I have a list of ID's provided by an external system?
Simple UPDATE table SET y=z WHERE id IN (?);
is not the way as we can get more than tousand IDs, which is Oracles limit.
Of course we have some ideas, like splitting into multiple queries, by using temporary table and EXIST condition but Id'like to see the best practise and know the theory behind.
EDIT: this question is not a race for the fastest answer, but about the best practice and its theoretical background. IDs are provided by an external system! No other table for join nor other select. By temporary table I meant global temporary table (oracle feature), not creating anf dropping new table for each query! Please do not answer just because you want to be fast or if you do not get the point.