However. I created a very simple demo to testing the functionality as below(SQL query thing) but nothing can be export successful.
declare @Temptabletable (Id int, Name nvarchar(50))
insert into @Temptable values(1, 'name1')
insert into @Temptable values(2, 'name2')
select Id, Name from @Temptable
In terms of the that SQL Command OLB DB Source component couldn't output the result.
Finally. I found out the solution is that need to set the NOCOUNT to ON
SET NOCOUNT ONdeclare @Temptabletable (Id int, Name nvarchar(50))
insert into @Temptable values(1, 'name1')
insert into @Temptable values(2, 'name2')
select Id, Name from @Temptable
分享题目:UsingTemptableinSSISpackage-创新互联
浏览路径:https://www.cdcxhl.com/article20/djshjo.html
成都网站建设公司_创新互联,为您提供网站排名、响应式网站、外贸建站、全网营销推广、网站维护、手机网站建设
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联