Assign Object Variable to an array or list in script (c#)
Hi all, This one is really throwing me.I have a recordset that writes to a variable called ValidFiles This works as I use it in a ForEach loop with no problem. Now I want to read ValidFiles into an...
View ArticleCan't connect to SSIS from client machine
HI All We have following scenario: 1. A 2-node failover cluster. 2. 1 instance of sql server 2012 is installed on node-1 and 2 instances of sql server 2012 are installed on node-2 3. we have...
View Articleshowing nulls while loading data from flat file to sql server
Hi all, I am trying to load the data from flat file (delimited by "|") into SQL server. In the flat file, a column consists of both nulls and not nulls. But after executing the "data flow task", This...
View ArticleFlat file to database in SSIS
Hi, I have flat file src as example slno name dept 1 sathiya cse 2 sham eee like this how to port into the database with modify the src data where the data has to be inserted into...
View ArticleConvert one format to text files SSIS
Hi Friends, I would like to convert below files(shown in the screen shot) into text files by using File system task. I don't want to change the files name just I want to convert them into .txt files...
View Articleschedling SSIS Pakage Error
Hi All I have an issue during deployment of SSIS Package. Actaully i have two server One where we developed and second where we deploy. I Create Package at server 11 and deploy at server 20. second...
View ArticleCSV destination separating the values across columns
Hi! In a DFT, the resulting dataset are exported to CSV file format. in one column the value by default will have the comma ',' value amid. So when we get the final csv file the values are getting...
View ArticleGet data into sql server from an excel file ?
Is any method other than SSIS and Open Rowset for getting data from excel file to sqlserver 2008?while using Open rowset 32 bit OLDB service provider not supporting sqlserver 64 bit.
View ArticleNeed help converting ws_str to numeric
Hi All, I have a column where the data dictionary defines it as number 12,5. When I read the flat file in, I have the column defined as data precision 12 and data scale 5. When I run the package, it...
View ArticleSSIS is BUGGY with MySQL
SSIS 2008 Hangs when loading data from MySQL 5.5 using ODBC connection manager and ADO.NET Source component I'm using SSIS 2008 on a 64 bit machine along with SQL server 2008 r2 (NO SP installed). I've...
View Articlereal-time polling of csv files in a designated folder
Hello all, I'm pretty much a novice to SSIS. I'm wondering if there is a feature which can be watching a folder (just like an event listener) for arrival of any (new) file in a designated folder. The...
View ArticleHow to exec a stored procedure with certain parameters only?
Hi folk! I have a stored procedure with 3 input parameters. All the parameters have their defaults. I need to execute the stored procedure with any combination of the defined parameters. E.g. -...
View Articlehow to get charindex of second position of ' | ' ?
I have a data like 123456|765553|98 in a column, here i need to get the data 98 means onwards of the second positon of '|' and there is not constant length between the pipes('|'), that is why i cannot...
View ArticleDeriving DateTime Columns with Null Values
Hi Team, I have issue with the derived column for datetime. Input is from txt file in yyyymmdd format and deriving the column as (DT_DATE)(SUBSTRING([Column 13],1,4) + "-" + SUBSTRING([Column 13],5,2)...
View ArticleSSIS Derived Column
Hi i am moving data from flatfile to oledb table in flat file date(column) is there (in that column if it is space( ) then it should insert as null to destination table otherwise it will insert that...
View ArticleIntegrating two different databases
From my understanding of this problem there is a bespoke database which is based on SQL Server 2000. Additionally there is another finance system called Microsoft Dynamics GP 2010. Can SSIS merge or...
View ArticlePerform while loop task in SSIS
Hi, I am using SSIS to perform the following: DECLARE @FirstID bigint, @LastID bigint WHILE @FirstID<=@LastID BEGIN DECLARE @TempID bigint set @TempID=@FirstID+10000 if @TempID>@LastID set...
View ArticleWhy does my SSIS package skip the trailer records?
I have 297 rows in my text file with the 297th row being the trailer record. When I do a simple import to database task on SSIS it only picks up the first 296 rows. This is what I want to happen but I...
View ArticleTransaction Option in SSIS
Hi i have a package with a foreach loop container,the components inside it are 1)execute sql task 2)execute sql task 3)execute sql task 4)dataflow task 5)execute sql task 6)execute sql task the first 3...
View ArticleETL Process..What is the best practise to move Millions of rows to Server2
Hi everyone So I have a table that gets updated every 15 minutes with data. I need to move this new updated/ or newly inserted data from table1 to table 2. Table 1 resides on Server1 and table 2...
View Article