Can we make the column delimiter dynamic for a text file?
Right now we are loading a CSV file and the requirement is that in future this CSV could be changed to a TEXT file and the coluimn delimiter could be anything. In that case, I need to be able to read...
View ArticleCan we reject an entire .CSV/.TXT file if there is any corrupted data?
I need to reject a file completely and do not load any of its data, if the file has any record that is corrupted/is not according to the format or anything else. I just do not want to load it and at...
View ArticleErrors running SQL Agent Jobs for 64 bit SSIS packages on a 64 bit server,...
Hi,I can able ran the SSIS package in BIDS, since set to false in Run64BitRuntime property.Then I created SQL server Agent job I tried the following waysStep 1:Type is set as SQL Server Integration...
View ArticleIssue in adding "Script Component Transformation" in Data Flow...
Hi there,I am working on a Code Generator for programmatically generating SSIS 2008 packages. These packages will have various file sources viz. CSV, Text (Fixed Width), Excel. MDB etc. After...
View ArticlePossible to use C# in Script task in SSIS
Goal: Use C# code to retrieve API data from to the client computer by using SSIS and its script task component.Problem: 1. Is it possible to use script task component in SSIS to use C# code to retrieve...
View ArticleSSIS Package Execution via Job Gives...
Hi, I have an SSIS Package, that does a simple job of Connecting to an SSAS Cube DB Server and firing a MDX (SELECT * FROM $system.DISCOVER_SESSIONS) over it to get the active user session information...
View ArticleShould be simple but I just can't figure it out...Join / Lookup / from to
The actual situation is a bit different to this, but lets keep the question simple!I have an Excel file like this: PrimaryID SecondaryID 1-103JG6 1-103JGF 1-17DB8K 1-1S2-845 1-17G09G 1-1MFB5U This data...
View ArticleError when running SSIS Package from windows service... cannot run on...
We are executing a SSIS package deployed in the Integration service through windows service....****We are not executing the SSIS Package through job***** we are just executing the package deployed in...
View ArticleExecute SQL Task – Single Row Result Set
Could I please know how many characters can be handled by a Single Row Result Set Variable? I’m trying cram in a View Definition pulled from the Information Schema. Many thanks,Mpumelelo
View ArticleSSIS 2012 transfer child package variable values to parent package
Hi all, I have a master ETL package, where the first component in the control flow is a Execute Package task Get SFTP Files as below.Get SFTP Files belowThe variable mapping on the foreach container...
View ArticleHow to link servers which are physcially located at diffrenet places
I have 4 servers hosted with some application say (server A - sales NewYork, server B- Purcahse PurteRico, Server C - Inventry,Tokyo, Server D- Main office ,SanJose) well all these servers are...
View Articlesequence container onprogress event handler not firing
Im having 2 variables --> "Variable1" which holds "x"(Seconds),"Variable2" is having expression : (DT_I4)DATEDIFF( "ss", @[System::StartTime] ,Getdate()) Im having a sequence container which runs...
View ArticleScheduling SSIS package in SQL Agent job
I have a SSIS package which has protection level set as DoNotSavaSensitive and a xml config file with all the connection managers.In this package, i have an execute package task which runs another...
View ArticleHow to sort and sum the following file using flat file records
HI i am reading the flat file name as xyz123 so in that file ,I was reading that flat file to do the evaluvation as followsTo read that flat file data and to sort the first 100 bytes and summing the...
View ArticleImport Export Wizard Column mappings
I am importing tables with a few columns of Varchar Datatype in DB2 . Inside SSIS 2012 Sql Import and Export Wizard converts all columns except a few correctly. There is a column of Type varchar(30) in...
View ArticleWhen dynamically creating an excel file, can SSIS create xlsx files...
Problem: An Excel file (XLSX) dynamically created by a SQL Task cannot be opened via Excel. The task succeeds, but when you try to open the workbook in Excel you get the fillowing error message: Excel...
View ArticleHow to restart my package every 50 records to load into the destination file ?
How to restart my package every 50 records to load into the destination file ? can some one pls help me outRegards
View ArticleHow to copy a file to a folder serveral times without overwriting in SSIS
Hi Everyone,I'm using SQL server 2k5 integration service for Development. Now I need to execute a SSIS package to copy a file A to a destination folder very often. The requiement is whenever a new file...
View ArticleRestrict Hidden rows from Excel while loading in SSIS
Hi,I am loading excel data into a table. There are some hidden rows in the excel file. But my current package is loading all the rows. I want to load only non-hidden rows. Please help me in this.Thanks...
View Article