MySQL stored procedure parameters -


I want to capture the X amounts of items outside the DB, I was wondering if a method of passing a list What is the number of numbers that can be used?

  SELECT item_id, item_directory items WHERE item_id IN (NEED_LIST_OF_IDS_HERE);  

Should not I use a stored procedure for this query and just create SQL in the application?

Or I should call different DB for each item. I

Note: The item is not the actual name of the table, so do not share the bad name for me. Please, I'm just hiding the implementation.

poor unanswered questions from a year ago ...

If you are not using one of these clauses, you certainly prepare / prepare the SQL within the stored procedure and execute it there. It is difficult to paramrise these segments.

How about passing a list of IDs, create a temporary table within your stored procedure, and then join items on the table?


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -