UsingTemptableinSSISpackage-创新互联

My target is using SSIS to export the data into Excel file from SQL Command(OLB DB Source).UsingTemptablein
SSISpackage

However. I created a very simple demo to testing the functionality as below(SQL query thing) but nothing can be export successful.

在网站制作、做网站中从网站色彩、结构布局、栏目设置、关键词群组等细微处着手,突出企业的产品/服务/品牌,帮助企业锁定精准用户,提高在线咨询和转化,使成都网站营销成为有效果、有回报的无锡营销推广。创新互联专业成都网站建设十年了,客户满意度97.8%,欢迎成都创新互联客户联系。
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。内容未经允许不得转载,或转载时需注明来源: 创新互联

网站建设网站维护公司