0
我试图创建一个过程,我传递参数。基于此参数它将从选择查询(文本数据类型)的表中选择一个字段。我想要检索此Select查询的数据。如何执行sybase中的另一个查询的结果
表中的SQL查询是文本数据类型,Sybase不允许将文本创建为本地变量。
表1
Filter_criteria Db_query
Incremental Select a,b,c from table2 where <filter_condition1>
Complete Select a,b,c from table2 where <filter_condition2>
表2
a b c
11 12 13
12 13 14
如果我通过 '增量' 的PROC将返回11,12,13等..