Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个运行时创建的查询,它可能需要也可能不需要一些特定的参数来多次使用。如果我在类似的查询中使用 ParamByName
select field1 from table1 where field2 = :a and field2 in(select field3 from table2 where field3 = :a)
当我打电话时会发生什么
MyQuery.ParamByName('a').AsString:= 'something';
两个参数都会被填充吗?