SELECT CAST(Count(1) as VARCHAR(30)) AS SourceRowCount
FROM table
where countryid= 1
AND locationid =2
预期输出
split()
答案 0 :(得分:1)
使用“控制流”中的“执行SQL任务”步骤执行查询,将两个变量值作为参数传递,并将值返回到另一个变量https://www.simple-talk.com/sql/ssis/ssis-basics-using-the-execute-sql-task-to-generate-result-sets/。