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-創(chuàng)新互聯(lián)
瀏覽路徑:http://jinyejixie.com/article20/djshjo.html
成都網(wǎng)站建設公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站排名、響應式網(wǎng)站、外貿(mào)建站、全網(wǎng)營銷推廣、網(wǎng)站維護、手機網(wǎng)站建設
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容