|
filter array string with a array string parameters
|
|||
---|---|---|---|
#18+
I have let's a table with the data that keep some IDs separated by comma. Код: plsql 1. 2. 3. 4. 5. 6. 7.
I will createa procedure that will have a string parameter p_str that will keep the IDs list on which I want to filter. For example if : 1. p_str = 1,99 then in the result - record 2 and 3 2. p_str = 342 then in the result - 1 record 3. p_str = 66,1,8 then in the result - all the records because all records keep these numbers How can I compare a sub-value of string parameter to the values from the tables ? ... |
|||
:
Нравится:
Не нравится:
|
|||
02.04.2020, 18:52 |
|
filter array string with a array string parameters
|
|||
---|---|---|---|
#18+
gda, regexp_like ... |
|||
:
Нравится:
Не нравится:
|
|||
02.04.2020, 18:58 |
|
filter array string with a array string parameters
|
|||
---|---|---|---|
#18+
gda How can I compare a sub-value of string parameter to the values from the tables ? Не хранить множественные значения в одном поле. Just for fun: Код: plsql 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32. 33. 34. 35. 36. 37. 38. 39. 40. 41. 42. 43. 44. 45. 46. 47. 48. 49. 50.
SY. ... |
|||
:
Нравится:
Не нравится:
|
|||
02.04.2020, 19:49 |
|
|
start [/forum/topic.php?fid=52&fpage=49&tid=1881392]: |
0ms |
get settings: |
10ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
38ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
others: | 15ms |
total: | 143ms |
0 / 0 |