简体   繁体   English

使用SSIS将图像从SQL Server表导出到文件夹不起作用

[英]Exporting images from a SQL Server Table to a Folder using SSIS not working

I am trying to export images from sql server 2012 to a directory using SSIS. 我正在尝试使用SSIS将图像从sql server 2012导出到目录。 I followed the steps as in https://www.mssqltips.com/sqlservertip/2693/export-images-from-a-sql-server-table-to-a-folder-with-ssis/ . 我按照https://www.mssqltips.com/sqlservertip/2693/export-images-from-a-sql-server-table-to-a-folder-with-ssis/中的步骤进行操作。 There appears warning sign in OLE DB Source and when i run my ssis package, it shows one row affected.But when i search for directory it neither creates folder nor saves image. 在OLE DB Source中出现警告标志,当我运行ssis软件包时,它显示受影响的一行。但是当我搜索目录时,它既不创建文件夹也不保存图像。 My OlE DB Source : 我的OlE数据库来源: 在此处输入图片说明

在此处输入图片说明

and my export column: 和我的出口专栏: 在此处输入图片说明

and the result: 结果: 在此处输入图片说明

Output is like this: Warning: 0x80208386 at Data Flow Task, OLE DB Source [18]: Rows sent to the error output(s) will be lost. 输出是这样的:警告:在数据流任务,OLE DB源[18]上为0x80208386:发送到错误输出的行将丢失。 Add new data flow transformations or destinations to receive error rows, or reconfigure the component to stop redirecting rows to the error output(s). 添加新的数据流转换或目标以接收错误行,或重新配置组件以停止将行重定向到错误输出。 Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning. 信息:SSIS数据流任务中的0x4004300A。管道:验证阶段开始。 Warning: 0x80208386 at Data Flow Task, OLE DB Source [18]: Rows sent to the error output(s) will be lost. 警告:在数据流任务,OLE DB源[18]中为0x80208386:发送到错误输出的行将丢失。 Add new data flow transformations or destinations to receive error rows, or reconfigure the component to stop redirecting rows to the error output(s). 添加新的数据流转换或目标以接收错误行,或重新配置组件以停止将行重定向到错误输出。 Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning. 信息:SSIS数据流任务处的0x40043006。管线:准备执行阶段开始。 Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning. 信息:SSIS数据流任务中的0x40043007。管线:预执行阶段开始。 Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning. 信息:SSIS数据流任务中的0x4004300C。管线:执行阶段开始。 Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning. 信息:SSIS数据流任务处的0x40043008。管道:后执行阶段开始。 Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning. 信息:SSIS数据流任务中的0x40043009。管道:清理阶段开始。 SSIS package "C:\\Users\\magnus_mani\\Documents\\Visual Studio 2010\\Projects\\Integration Services Project3\\Integration Services Project3\\Package.dtsx" finished: Success. SSIS程序包“ C:\\ Users \\ magnus_mani \\ Documents \\ Visual Studio 2010 \\ Projects \\ Integration Services Project3 \\ Integration Services Project3 \\ Package.dtsx”已完成:成功。 The program '[780] DtsDebugHost.exe: DTS' has exited with code 0 (0x0). 程序“ [780] DtsDebugHost.exe:DTS”已退出,代码为0(0x0)。

您可以在两者之间进行数据转换(dt_ntext)并尝试吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用SSIS将列记录从.CSV导出到SQL Server中的多个表 - Exporting column records from .CSV to multiple table in SQL Server using SSIS 通过 SSIS 从 SQL 服务器导出图像不起作用 - Export Images from SQL server via SSIS not working SSIS 2012-使用执行SQL任务和ForEachLoop容器将xml文件从文件夹加载到SQL Server表COLUMN中 - SSIS 2012 - Load xml files from folder into a SQL Server table COLUMN, using Execute SQL Task and ForEachLoop Container 使用SSIS 2012将数据从Sql Server 2014导出到Excel文件 - Exporting Data to Excel file From Sql Server 2014 using SSIS 2012 使用SSIS DatFlowTask将数据从SQL Server导出到Excel时,如何避免“数字存储为文本”错误 - How to avoid 'number stored as text' error when exporting data from SQL Server to Excel using SSIS DatFlowTask 使用SSIS将数据从Excel导入到SQL Server表 - Importing data from excel to sql server table using SSIS 将文件夹中的 100 张图像导入 SQL 服务器表 - Import 100 images from folder into SQL Server table 将表格从R导出到SQL Server - Exporting table from R to SQL Server 无法从SQL Server导出数据到Excel - Exporting data to excel from sql server is not working 我正在尝试使用SSIS从存储在varbinary(max)列中的SQL Server 2014表中导出图像 - I am trying to export images from a SQL Server 2014 table stored in a varbinary(max) column with SSIS
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM