ssis

How to add progress counter in SSIS

南楼画角 提交于 2020-01-16 04:07:33
问题 I am running a package which is extracting data from a single flat file and load it into the SQL Server destination. Flat file has more than 10,000 rows (it changes daily) Is there any way I can find how much percent the task is completed? Like when developer/Support team execute a select statement on a table at an instance like Select percentComplete from PackagePerformance Where packageId = 12 they get output like: 60% which means 60% of data is loaded into SQL table at this instance. Any

SQL Server 2012 connectivity to Oracle

与世无争的帅哥 提交于 2020-01-16 00:04:20
问题 I am trying to copy data from Oracle to SQL Server 2012, and I get the following message when selecting Data Source as Microsoft OLE DB Provider for Oracle: Test connection failed because of an error in initializing provider. Oracle client and network components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. I tried using .NET Framework Data Provider for Oracle and I get: Attempt to load

SQL Server 2012 connectivity to Oracle

醉酒当歌 提交于 2020-01-16 00:04:11
问题 I am trying to copy data from Oracle to SQL Server 2012, and I get the following message when selecting Data Source as Microsoft OLE DB Provider for Oracle: Test connection failed because of an error in initializing provider. Oracle client and network components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. I tried using .NET Framework Data Provider for Oracle and I get: Attempt to load

SSIS: Dynamic Lookup Query

点点圈 提交于 2020-01-15 11:45:27
问题 I would like to implement the following logic to my Lookup query as an expression: SELECT ID, CASE @[User::ConnectionStringID] WHEN 1 THEN "NE" WHEN 2 THEN "BALT" WHEN 3 THEN "NY" WHEN 4 THEN "PA" END AS Region FROM dbo.Table; My package is executed in a loop where the connection string is dynamically updated using a config file and it loops 4 times as shown in the above logic. I realized today that the Lookup transformation has no expressions available to it and I haven't been able to find

SQL Server 2005 Run a stored procedure via SSIS using GETDATE() as a Parameter

£可爱£侵袭症+ 提交于 2020-01-15 11:37:20
问题 I've been searching for an answer to this and I can't find it. I want to set up an SSIS package using Visual Studio 2005 and SQL Server 2005 that will send today's date (GETDATE())as the parameter to a stored procedure. I can find how to send a parameter, but not how to declare that parameter to be GETDATE(). Is this even possible? 回答1: If you need a constantly evaluating time, like GETDATE() then, create a Variable in SSIS called GetDate with a Data Type of DateTime. Right click and on the

SQL Server 2005 Run a stored procedure via SSIS using GETDATE() as a Parameter

泪湿孤枕 提交于 2020-01-15 11:37:10
问题 I've been searching for an answer to this and I can't find it. I want to set up an SSIS package using Visual Studio 2005 and SQL Server 2005 that will send today's date (GETDATE())as the parameter to a stored procedure. I can find how to send a parameter, but not how to declare that parameter to be GETDATE(). Is this even possible? 回答1: If you need a constantly evaluating time, like GETDATE() then, create a Variable in SSIS called GetDate with a Data Type of DateTime. Right click and on the

Converting DT_NTEXT to DT_Text

主宰稳场 提交于 2020-01-15 11:15:09
问题 So I'm converting a date to MMDDYYYY using the following code: replace(convert(varchar(10), Absent_Date, 101), '/', '') as Absent_Date When I run it in Navicat it runs fine, but when I use SSIS to export from a stored procedure to a flat file it get the following error message I have read about 20 differnt posts from here and other forum sites but haven't found one that quite works for me. I tried to use the data conversion object but I had trouble getting it to work. I honestly don't care

What is the best practice to transfer data between SQL servers?

坚强是说给别人听的谎言 提交于 2020-01-15 10:44:31
问题 We have many internal SQL Servers running, and there are some daily jobs transfering data. and we also have some external database, we'll use view or txt to tranfer data. now, we are using DTS & SSIS. but because of some reasones, our manager do not like DTS/SSIS, so we are moving out from DTS/SSIS, but we still need to tranfer data. they suggest to develop some application, for load data/file, and then insert into the destination. is this a good solution? any suggestion? I think the only

SSIS Microsoft Connector for Oracle by Attunity for VS2015 Not Showing

杀马特。学长 韩版系。学妹 提交于 2020-01-15 10:21:08
问题 I downloaded and installed the Microsoft Connector for Oracle by Attunity from the following location for VS 2015 to use with SQL Developer 2014: https://www.microsoft.com/en-us/download/details.aspx?id=44582 It installed correctly, but for some reason I cannot find it in VS 2015. The following post shows where to find it in another version of VS under some SSIS tabs when adding new toolbox controls: Attunity SSIS not available in SSIS Data Flow Tasks But those tabs don't exist in VS 2015. I

Conditional Data Flow Based on Source CSV Filename

吃可爱长大的小学妹 提交于 2020-01-15 10:15:54
问题 I have a series of data that is produced by state and information type. For each state I have, for example, 3 files that have an identifier in the file name to tell me which information group it is for. The data in these files consists of rows of data that have varying lengths depending on the file type. Type 1 always has 245 comma separated values, Type 2 has 215, Type 3 has 300. I have 3 separate SSIS 2005 packages set up to import this data but I was wondering if there is a way to do this