Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

Reg: CDC in SSIS 2012

$
0
0

Hi Team,

I created Intial load and Incremental load packages using CDC tasks in SSIS 2012.

After making the changes in source table, I ran the incremental load package but the changes didn't pick at a first time. When I ran second time, then only its picks and update the target table.

I totally got confused why this behaviour?

I referred the below link for developing the packages:
http://www.mattmasson.com/2011/12/cdc-in-ssis-for-sql-server-2012-2/


Rgds,
Shree


How To traverse files under subfolder using Traverse folder option

$
0
0
My files are stored as Newborn.txt under each year's subfolder, How to implement this.
Eg: C:\Ravi\N90\Newborn.txt
  C:\Ravi\N91\Newborn.txt
C:\Ravi\N92\Newborn.txt
C:\Ravi\N93\Newborn.txt
Pl help me to read the files using the for each loop container"

Change data capture

$
0
0

Hi,

In ssis 2012 CDC is it will work for duplicate data?.

Is it good to go with CDC for analysis of data how often data will get updated,inserted,deleted






SSIS CDC Wierd Issue

$
0
0

Hi have two SSIS packages..one for the initial load and other for the incremental load.I did the following steps.

1. I run the initial load.

2. Modify data to the CDC enable table.

3. I check in SQL Agent that changes were picked by CDC. I also waited for 30 minutes.

4. I run the incremental load - nothing happens.

5. I run the incremental load one more time - this time changes are processed.

Always when i run the incremental load it doesn't work for the first time.If i run it immediately for the second time.It works!!!!

Can anyone please help regarding this!!

Thanks,

Rahul Abhinav

destinaion count is not matching with source count

$
0
0

Hi

i am pulling oltp oracle to sql server staging on date based logic(incremental loading)

on first load it self it is missing records from source(lets say source count is 10 destination is 8) and it wont check for old records 

what could be the possible resaon

Thanks in advance i am in need


ADKR

How to catch failed rows from excel export data conversion

$
0
0

I am pulling data from SQL Server and exporting to Excel file.  Using SSIS 2008, sending to Excel 2003.  The process is working fine, and I want to grab any data conversion failures, specifically I want to grab any data that fails or is to be truncated.

I add a flat file destination to the data conversion error line (red) and pointed it to a txt file.  This caused an error, saying some of the columns were the wrong data type to go in a text file.  So I added a data conversion to the first data conversion error line, but the data types wont change.  

The wierd thing, is the error says the columns are DT_NTEXT and need to be DT_TEXT, but they aren't, they are DT_WSTR.  Anyway, I tried to convert to DT_TEXT and it caused the data conversions in my original conversion to change, whcih broke the whole package.

My intention is to grab the erroring row so it can be manually converted. So how do I do that without adding 100 more errors?

How do I catch failed data conversion rows?

$
0
0

I am pulling data from SQL Server and exporting to Excel file.  Using SSIS 2008, sending to Excel 2003.  The process is working fine, and I want to grab any data conversion failures, specifically I want to grab any data that fails or is to be truncated.

I add a flat file destination to the data conversion error line (red) and pointed it to a txt file.  This caused an error, saying some of the columns were the wrong data type to go in a text file.  So I added a data conversion to the first data conversion error line, but the data types wont change.  

The wierd thing, is the error says the columns are DT_NTEXT and need to be DT_TEXT, but they aren't, they are DT_WSTR.  Anyway, I tried to convert to DT_TEXT and it caused the data conversions in my original conversion to change, whcih broke the whole package.

My intention is to grab the erroring row so it can be manually converted. So how do I do that without adding 100 more errors?


Simon.

export column transform says my file names are invalid or a device

$
0
0

Hi we run std 2008 r2.  I'm looking at the files this transform is complaining about.   They seem to be named appropriately.  The customerid folders don't exist when this runs.  I'm going to put one in place to see if that is the problem.

The errors i'm getting are...

[Export Column [22]] Error: The file name "c:\users\myuserid\theprojectname\customerid\afilename.doc" is not valid. The file name is a device or contains invalid characters.

[Export Column [22]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "component "Export Column" (22)" failed because error code 0xC020207F occurred,
and the error row disposition on "input column "FILENAME" (29)" specifies failure on error. An error occurred on the specified object of the specified component. 
There may be error messages posted before this with more information about the failure.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "Export Column" (22) failed with error code 0xC0209029
while processing input "Export Column Input" (23). The identified component returned an error from the ProcessInput method. The error is specific to the component,
but the error is fatal and will cause the Data Flow task to stop running.  There may be error messages posted before this with more information about the failure.


Fuzzy Logic Lookup

$
0
0

Hi,

We are having huge set of data where we need to match names.

I want to know whats the algorithm it works.

And how efficient to use Fuzzy lookup .




Truncation warning

$
0
0

I just execute a package and it took about 12 minutes which I didn't expected. when I look @ the report I found this.

DFt_Load_Tempa: Warning: Truncation may occur due to inserting data from data flow column "ac" with a length of 120 to database column "ac" with a length of 3.

is this may be one of the reason for the slow running package? Help me out.

00:00:00 Causing a big problem in import

$
0
0

I've got a database built, with packages for importing data with fixed width columns.

The problem is that some of the dates have 00:00:00 after them.

Is there a way to get those out of there WITHOUT having to go through Excel to delete them first?

Is there a way to make the import ignore just those bits of data?  Ignore anything that looks like "00:00:00"?
HELP!

I had promised that they wouldn't have to go through Excel first to get the data from a flat file into SQL and hate to be made a liar.


Gee

Linked Server "Could not open a connection to SQL Server [1909]" after reboot

$
0
0

We have two production servers, with RCP [out] enabled linked servers set up back and forth between them. When they are rebooted at the same time one of the linked servers will throw this error:

Named Pipes Provider: Could not open a connection to SQL Server [1909]. 767462021 OLE DB provider "SQLNCLI10" for linked server "server3" returned message "Login timeout expired". OLE DB provider "SQLNCLI10" for linked server "server3" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".

I've been fixing it by dropping and re-creating the linked server. It's completely identical as before (in sp_linkedservers), so I'm thinking this shouldn't be necessary. My guess is it's only happening because during startup the other server was not available.

If this is true, can I force a reset of the linked server, without having to restart the server instance, or recreate the linked server?

Having dynamic table name (using variables) in SQL command in an ADO .net Source

$
0
0

I am having a problem statement which requires that, the table name being queried in an ADO. net Source to be a variable.

While using the SQL Command option in the ADO . net Source . I am querying a table_partition on the .net Source (in my case it's a postgres Server) .

Since the table on Postgress end is very huge (50-80Crores of row counts), to make the Sql query cost effective(i.e without killing the Postgres server :)), I must use the partition name of the table directly instead of using the whole table name. Which leaves us no choice but to make use of variables and derive the partition name at run time.

I already have the query to generate the partition name , dynamically. But I need a way to be able to use this in SSIS. Please help..!!!!!

How can I use UC4 instead of SSIS Master Package deployed using project deployment model?

$
0
0

Hi Folks,

My team is planning to opt UC4 for scheduling the SQL Jobs and I have to come up with a plan to integrate it. 
As of now, I do not have software licence in place to do some research. 

If you have worked on it, can you tell me that how can I schedule SSIS packages using UC4. 

Also, we are using SSIS project parameters (Project deployment Model). What kind of changes I have to make in SSIS packages to support UC4. Is it possible to pass parameters to SSIS package through UC4? If not, is there any alternativ?

Appreciate your help!

Gaurav Gupta

Abstract the source of a SSIS package

$
0
0

Good morning.

We are studying SQL Server Integration Services to populate (some tables of) the database of our application from an external source. We successfully created some examples that connect to specific databases and write to a specific location. Now, I have been asked to create an ETL project that works with any source (?)... Indeed, our application can theoretically works with a wide variety of ERP. Unfortunately, it's not quite clear to me how to achieve this result... As far as I understood, the customer should only indicate the source table and the source column to copy in the destination table and column. The transformations and the load should be performed by the ETL we provide (?)...

I don't have any knowledge of SSIS, indeed I've tested it for only one week or a little more... I don't even know any other ETL solution. I'm really confused with the request I received, but I've been granted that ETLs can just work in that way, easily. For now, I haven't found any easy solution with SSIS... Maybe are there other products providing this functionality? How? If SSIS can deal with this requirements, can you guide me to examples and tutorials that can help me understand how to proceed?

Thank you very much.


SSIS Related CSharp Videos

$
0
0

Hi Experts , 

I am working as MSBI Developer but do not have knowledge on CSharp.

When it is require to do some Csharp coding to achieve some functionality in SSIS , I fail to do that .

I have gone through basic of CSharp , based on multiple tutorial available online but I did not find videos related to the Task we usually perform in SSIS (SSIS Related CSharp video)few Example which I could recollect  

1) Reading data from Excel to SQL Table  and SQL Table to Excel

2) Reading Excel with Dynamic number of Column  to SQL Table

3) Reading Excel with Dynamic Column Name to SQL Table

4) Reading CSV data to SQL Table and SQL Table to CSV

and similar kind of functionalities which are often required in SSIS.

Can any One share some useful Csharp SSIS VIDEO link ? 

Lineage Error

$
0
0

When I try to run SSIS package I got the following error

 [DTS.Pipeline]: input column "" (672487) has lineage ID 475474 that was not previously used in the Data Flow task.

"component "Insert Destination" (671788)" failed validation and returned validation status "VS_NEEDSNEWMETADATA"

How can I fix it?

Minimum requirements for deploying a package on Sql Server 2008

$
0
0
I am trying to setup a restricted login to deploy packages. At the very least I need to avoid using the sysadmin server role however all of my testing seems to point to my restricted login requiring it which sort of defeats the purpose of a restricted login. Without the sysadmin account I get the following error: Create failed for JobStep

SSIS package needs to include a target file to another server

$
0
0

I am created a SSIS package to export data.  I am exporting query data to a flat file to a different server.  I tried to use the UNC path and it failed saying could not access the file.  How can I create a SSIS package to export data from one server to another?

Thank you

How to identify when/how a SSIS package got deleted from the MSDB

$
0
0

Hi Gurus, 

I have scheduled some packages in my production server and they've been running smoothly for couple months. Until last week, I identified that the job kept failing reporting "the package could not be found". When I logged into Integration services and looked under MSDB>Myproject folder, I don't see my packages there anymore. 

Is there anyway I can find out who/how those got deleted those packages. We would like to know how this happened and prevent it in the future. 

Thanks!

Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>