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.
我只有一行从 sql 查询(count(*))返回,但是在执行包时,它向我显示上述错误并且包失败。
count(*)
我将结果类型设置为“单行”,并将 query( select count(*) as 'result' from abc.tbl_nm) 的输出映射到 Int32 类型的变量。
select count(*) as 'result' from abc.tbl_nm
映射“结果集”时,将“结果名称”设置为“0”,将“变量名称”设置为您正在使用的变量。