SQL select with 2 Lists as Parameters [message #1821451] |
Thu, 13 February 2020 04:47  |
Eclipse User |
|
|
|
Hello,
Today i noticed a weird behaviour. I have a select.into which i give several paramerters, including 2 Lists of different sizes. When i execute it, it only selects into for the exact amount of the smallest list.
Example:
List A (31, 33, 35)
List B (3)
SELECT STUFF FROM STUFF WHERE somethingAId IN (:{a}) AND somethingBId IN (:{b})
Now when i start the Select.Into Query it will only Select for the ID 3 in List B and 31 ID in List A but will ignore the rest of List A.
The Workaround for me was that ill add elements to the smaller List to match the size of the larger List.
Do you have any Ideas how to solve this without my Workaround?
Thank you all,
Luis
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03143 seconds