0

I have a custom SQL expression with some parameters. I've added it to Field Explorer correctly. But I couldn't find an example of syntax for using pre-defined parametrized SQL command with my own non-default parameters. For example, there is a SQL expression like this (it's body of SQL command):

select count(*) from table A where A.col1 > {?param}

I want to create a set of fields with different parameters. What should I to do? Is it possible? Version of CR is 11, SQL syntax is Oracle SQL. Thank in advance.

4

1 回答 1

1

您不能在 SQL 表达式字段中使用参数字段。

但是,您可以将参数字段与 Command 对象一起使用(假设参数已在 Command 对象中定义)

于 2013-10-30T18:00:52.150 回答