Pet*_*vin 14 import ssis dts sql-server-2005 append
在SQL Server 2005中,导入数据(SSIS),我希望导入一个文本文件并将其附加到现有表.第一次通过列映射步骤向导,我发誓将追加行添加到目标表单选按钮已启用.但是,现在,它被禁用(灰色),甚至重新启动向导也不会导致它重新启用.
有一些我不知道的秘密/魔法吗?如何让该选项重新启用以便我可以追加(而不是创建目标表)?
小智 27
我知道你错过了什么......因为我曾经错过了它!
在屏幕" 选择源表和视图 "中,右侧
有一个" 目标 "下拉菜单.
从此下拉列表中选择您的表格,
然后单击" 编辑映射 "按钮.
现在将启用追加选项!
In my experience, if the table you're importing into doesn't exist at the time you're going through the "SSIS Import and Export Wizard", you won't have the option to Append; if the table does exist at the time you're going through the wizard, the option is available.
If you do choose the "Create table" option, the wizard just builds the SSIS package with an Execute SQL task that builds the table prior to the data flow that loads the data. So, you can always just remove the task in the resulting package and you'll get "Append" by default.
| 归档时间: |
|
| 查看次数: |
12592 次 |
| 最近记录: |