上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 157 下一页

2014年3月6日

[转]SSIS高级转换任务—行计数

摘要: 本文转自:http://www.cnblogs.com/tylerdonet/archive/2011/06/19/2084780.html在SSIS中的Row Count转换可以在数据流中计算数据源的行数。这种任务必须将行数保存在一个变量中。这种任务在你不想将数据行数保存在一个物理表中时会很有用。例如在ConditionalSplit任务中使用多个RowCount记录有多少行被分离出来,每个Row Count将使用变量记录分支中的数据行数,可以将这个变量值记录在数据库中,作为邮件信息发送出去,或者在下一个步骤中使用。一样这个任务需要使用高级编辑器,这个更加简单,只需要添加一个变量来存储行数。 阅读全文

posted @ 2014-03-06 14:31 freeliver54 阅读(514) 评论(0) 推荐(0)

[转]SSIS Recordset Destination

摘要: 本文转自:http://www.sqlis.com/sqlis/post/Shredding-a-Recordset.aspxDoing what to a recordset?Shredding a recordset in this instance means that we are going to show you how to take a recordset produced in your SSIS package, loop over the rows in that recordset, break apart the columns and do something wi 阅读全文

posted @ 2014-03-06 10:26 freeliver54 阅读(533) 评论(0) 推荐(0)

[转]SSIS: By coding

摘要: 本文转自:http://www.codeproject.com/Articles/604197/SSIS-By-codingIntroductionSSIS better known as “SQL Server Integration Services (SSIS)”, is a component of SQL Server. According to Wikipedia:-“SSIS is a platform for data integration and workflow applications. It features a fast and flexible data war. 阅读全文

posted @ 2014-03-06 09:21 freeliver54 阅读(502) 评论(0) 推荐(0)

[转]SSIS cannot convert between unicode and non-unicode string

摘要: 本文转自:http://www.mssqltips.com/sqlservertip/1393/import-excel-unicode-data-with-sql-server-integration-services/Import Excel unicode data with SQL Server Integration ServicesProblemOne task that most people are faced with at some point in time is the need to import data into SQL Server from an Excel 阅读全文

posted @ 2014-03-06 09:17 freeliver54 阅读(4806) 评论(0) 推荐(1)

2014年3月5日

[转]How to handle Failed Rows in a Data Flow

摘要: 本文转自:http://www.rad.pasfu.com/index.php?/archives/23-How-to-handle-Failed-Rows-in-a-Data-Flow.htmlsuppose this scenario: you have a source table and a destination table, you want to transfer rows from source table to destination table, so you can use simple data flow with OLE DB source and OLE DB De 阅读全文

posted @ 2014-03-05 18:45 freeliver54 阅读(443) 评论(0) 推荐(0)

[转]Getting started with SSIS - Part 10: Event Handling and Logging

摘要: 本文转自:http://beyondrelational.com/modules/12/tutorials/24/tutorials/9686/getting-started-with-ssis-part-10-event-handling-and-logging.aspxLet us now add some more features to our package. We would now addEvent handlingandLoggingto our package created. Before doing that, let us see what do the two mea 阅读全文

posted @ 2014-03-05 18:03 freeliver54 阅读(306) 评论(0) 推荐(0)

[转]SSIS中OLE DB Source中如何执行Store Procedure 以得到源数据

摘要: 本文转自:http://www.cnblogs.com/michaelxu/archive/2009/10/16/1584284.html有很多人喜欢在OLE DB Source中执行Store Procedure,以得到源数据。但我们经常会遇到这样的情况,在OLE DB Source的Sql Command中写好执行Store Procedure的语句后,可以正常Preview,但是当点到Columns标签时,却看不到Store Procedure返回来的结果集,就是说没有columns显示。解决办法步骤:1)确保Store Procedure的最后一句是select语句,即有结果集返回2) 阅读全文

posted @ 2014-03-05 15:30 freeliver54 阅读(373) 评论(0) 推荐(0)

[转]SSIS OLE DB Source中执行带参数的存储过程

摘要: 本文转自:http://www.cnblogs.com/michaelxu/archive/2009/10/21/1587450.html问题描述:执行一个存储过程得到一个多条记录的结果集,然后循环这个结果集的每一条记录,根据这条记录的某几个字段执行一个带参数的存储过程,再将返回的结果集插入到一张表中。Execute SQL Task “Get master records”中通过执行一个存储过程得到一个主结果集,Foreach Loop Container循环每条主记录,Data Flow Task对每条记录进行处理。1、先定义变量,如下表v_BatchList定义为Object用来存储返回 阅读全文

posted @ 2014-03-05 14:00 freeliver54 阅读(532) 评论(0) 推荐(0)

[转]Working with Parameters and Return Codes in the Execute SQL Task

摘要: 本文转自:http://msdn.microsoft.com/zh-cn/magazine/cc280502(en-us,SQL.100).aspxSQL statements and stored procedures frequently use input parameters, output parameters, and return codes. In Integration Services, the Execute SQL task supports the Input, Output, and ReturnValue parameter types. You use the 阅读全文

posted @ 2014-03-05 12:28 freeliver54 阅读(465) 评论(0) 推荐(0)

2014年3月4日

[转]How to solve SSIS error code 0xC020801C/0xC004700C/0xC0047017

摘要: 本文转自:http://www.codeproject.com/Articles/534651/HowplustoplussolveplusSSISpluserrorpluscodeplus0xCBackgroundSSIS is the one of the best ETL tool available in market and it can load large amount of data from any heterogeneous data source whether structured, unstructured,application, cloud or real-tim 阅读全文

posted @ 2014-03-04 17:29 freeliver54 阅读(2046) 评论(0) 推荐(0)

[转]ssis cannot retrieve the column code page info from the ole db provider

摘要: 本文转自:http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dc1a61f2-1ab8-4ed3-b85c-db6481800b50/error-importing-data-from-oracle-database-to-an-sql-database?forum=sqlintegrationservices1) Go into your data-flow that contains your OLE DB Source component.2) Click the OLE DB Source component once3) 阅读全文

posted @ 2014-03-04 17:06 freeliver54 阅读(578) 评论(0) 推荐(0)

[转]使用SSIS创建同步数据库数据任务

摘要: 本文转自:http://www.cnblogs.com/heqichang/archive/2012/09/19/2693214.htmlSSIS(SQL Server Integration Services)是用于生成企业级数据集成和数据转换解决方案的平台。使用 Integration Services 可解决复杂的业务问题,具体表现为:复制或下载文件,发送电子邮件以响应事件,更新数据仓库,清除和挖掘数据以及管理 SQL Server 对象和数据。这些包可以独立使用,也可以与其他包一起使用以满足复杂的业务需求。Integration Services 可以提取和转换来自多种源(如 XML 阅读全文

posted @ 2014-03-04 10:35 freeliver54 阅读(947) 评论(0) 推荐(0)

[转]sqlserver2008锁表语句详解

摘要: 本文转自:http://xue.uplook.cn/database/sqlserver/801760.html锁定数据库的一个表 代码如下: SELECT * FROM table WITH (HOLDLOCK)注意: 锁定数据库的一个表的区别 代码如下: SELECT * FROM table WITH (HOLDLOCK) 其他事务可以读取表,但不能更新删除 代码如下: SELECT * FROM table WITH (TABLOCKX) 其他事务不能读取表,更新和删除SELECT 语句中“加锁选项”的功能说明SQL Server提供了强大而完备的锁机制来帮助实现数据库系统的并发性和高 阅读全文

posted @ 2014-03-04 09:33 freeliver54 阅读(1251) 评论(0) 推荐(0)

2014年3月3日

[转]Understanding Integration Services Package Configurations

摘要: 本文转自:http://msdn.microsoft.com/en-us/library/cc895212.aspxIntroductionWith the 2008 release, SQL Server Integration Services (SSIS) continues its advance in the enterprise data integration arena. Integration Services offers an entire architecture that combines the required elements for building solu 阅读全文

posted @ 2014-03-03 15:45 freeliver54 阅读(313) 评论(1) 推荐(0)

[转]SSIS: Execute Package via Stored Procedure

摘要: 本文转自:http://sqlblog.de/blog/2009/09/ssis-execute-package-via-stored-procedure/There are two options executing SSIS packages:- xp_cmdshell command (not recommended for security reasons)- sp_start_job commandThe main difference between both options is the execution method. The xp_cmdshell command is a 阅读全文

posted @ 2014-03-03 15:41 freeliver54 阅读(563) 评论(0) 推荐(0)

[转]Loading and Running a Local Package Programmatically

摘要: 本文转自:http://msdn.microsoft.com/en-us/library/ms136090.aspxYou can run Integration Services packages as needed or at predetermined times by using the methods described inRunning Packages. However, with only a few lines of code, you can also run a package from a custom application such as a Windows Fo 阅读全文

posted @ 2014-03-03 15:34 freeliver54 阅读(288) 评论(4) 推荐(0)

[转]Mapping Stored Procedure Parameters in SSIS OLE DB Source Editor

摘要: 本文转自:http://geekswithblogs.net/stun/archive/2009/03/05/mapping-stored-procedure-parameters-in-ssis-ole-db-source-editor.aspxI was working on a SSIS Data Flow Task by passingPackage Variablesinto a Stored Procedure. I will be using[AdventureWorks]sample database included with the SQL Server installat 阅读全文

posted @ 2014-03-03 11:21 freeliver54 阅读(582) 评论(0) 推荐(0)

[转]Data Flow How-to Topics (SSIS)

摘要: 本文转自:http://technet.microsoft.com/en-us/library/ms137612(v=sql.90).aspxThis section contains procedures for working with data flow components—sources, transformations, destinations, and the paths that connect them—using the SQL Server 2005 Integration Services (SSIS) tools that Business Intelligence 阅读全文

posted @ 2014-03-03 11:15 freeliver54 阅读(247) 评论(0) 推荐(0)

[转]Advanced Oracle SQL Developer Features

摘要: 本文转自:http://www.oracle.com/technetwork/cn/server-storage/linux/sqldev-adv-otn-092384.htmlAdvanced Oracle SQL Developer FeaturesPurposeThis tutorial demonstrates some of the more advanced features within Oracle SQL Developer.Time to CompleteApproximately 50 minutesOverviewOracle SQL Developer is a fr 阅读全文

posted @ 2014-03-03 10:14 freeliver54 阅读(840) 评论(0) 推荐(1)

2014年2月28日

[转]SSIS包的调用方式

摘要: 本文转自:http://www.cnblogs.com/lijun4017/archive/2008/12/04/1347701.html编写简单SSIS包光看MSDN应该就问题不大了,最近几天几个朋友来问我SSIS的调用问题,然后想起我当初实现调用SSIS包的问题的时候也走了不少弯路,确实这方面的资料网上很少.下面我总结了一下,大概分为这么三类吧.1.使用sqserver2005的代理服务来新建作业来执行包任务;2.使用编程语言来实现包的调用,比如c#或者vb.net等;3.使用存储过程或者sql语句来调用包;下面我们一个一个展开讲一下:1.使用代理服务的方式我认为这种是调用SSIS包最方便 阅读全文

posted @ 2014-02-28 15:57 freeliver54 阅读(445) 评论(0) 推荐(0)

上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 157 下一页

导航