How to input an array parameter of values to Firebird Stored Procedure?

后端 未结 4 1515
忘了有多久
忘了有多久 2021-02-08 12:23

I would like to input an array parameter of IDs to Firebird Stored Procedure.

:INPUT_LIST_ID = [1, 2, 12, 45, 75, 45]

I\'m need

4条回答
  •  南方客
    南方客 (楼主)
    2021-02-08 12:49

    Try this:

        SELECT *
        FROM CITY
        WHERE '/city1/city2/city.../' containing '/' || ID_CITY || '/';
    

提交回复
热议问题