想請問有沒有人會用Reporting Servive讀INFORMAX資料庫,如何使用第二個互動參數值(?)
想請問有沒有人會用Reporting Servive讀INFORMAX資料庫,如何使用互動式參數建立下拉選單如下,以a為下拉值,希望加工一個全選項
select '全選' as a
from Tabel
UNION
select distinct a
from Tabel
where a = ? or '全選' = ?
(其中 ? 為 互動參數) 记得用如下这种方式是可以的
let l_sql="select * from table where c1=?"
prepare l_cur for l_sql
execute l_cur using 变量名 分享了。学习。
页:
[1]