我在报告中有两个参数
1.位置
2.Id
{Location}只需一个值,其中{Id}需要多个值
当我写下面的查询时
Select Emp_Name, Salary, Manager from Employee_Details
where Emp_Location = {Location}
它绝对正常。
但是当我在where子句中传递带有多个值的参数时,代码会给出错误。
Select Emp_Name, Salary, Manager from Employee_Details
where Emp_ID in {ID}
如何在where子句中传递具有多个值的参数?