How to specify a variable expression list in a Pro*C query?

后端 未结 4 836
轮回少年
轮回少年 2021-01-29 05:21

I have a problem with a Pro*C query I\'m trying to optimise.

To explain, our application searches for rows in a huge database. These rows exist in several languages and

4条回答
  •  隐瞒了意图╮
    2021-01-29 05:45

    ... Main String:= 'Select * FROM table WHERE id=:uniqid AND language IN'; -- can split into two to accomadate :uniqd ... Select Language_code into v_string from x_table; loop Copy & Concat v_string to LanCode_String and with ' ', ; end loop; .. Concat Lancode to Main String. .. Prepare and execute the Main String.

提交回复
热议问题