what determines the order in which things in foreach loop are processed
I have a Foreach loop (ADO Enumerator). I specified a specific Order By clause then I populated that ADO object. Is that enough to guarantee the order in which the items from the ADO Enumerator will be...
View ArticleC# Script Task Error: NullReferenceException when run on Server
I have a package with a C# Script Task. When I run the package on my PC it runs fine. When I run it from a job on the 2008 R2 SQL Server, I get an error: System.NullReferenceException: Object reference...
View ArticleSSIS and report cache
I have several reports loaded on the report server with caching options set. I have this list of reports loaded in a database table where an SSIS package iterates through that table rendering each...
View ArticleError deploying SSIS 2012 to Catalog DB
Hi, Am having an intermittent issue that happens when deploying to an SSIS Catalog (in the "Deploying project" step). basically sometimes when deploying an SSIS project to a Catalog that I administer,...
View ArticleFor loop executing SQL task every 15 minutes until flag changes
Hello, I have a working SSIS package. I need to add functionality that checks a column in a database every 15 minutes. I have a SQL task that populates a variable with the value from the database...
View ArticleSSIS is not using the provided custom Sharepoint credentials
Hello, I have multiple packages that need to access a Sharepoint server. So I am using the popular package from here: http://sqlsrvintegrationsrv.codeplex.com/releases The way I have it set up, is that...
View ArticleSSIS Package variable changes type at run time
I have a package that I have just added a new variable to. The new variable's scope is package-level, the type is string, and the initial value is empty. Then I set the value of that variable at...
View Articleupdating large table
Hi, I have two tables tb1(KEY,IDS,col2,col3,col4) and tb2(key,col) each table has 90 milion records and i am updating tab2 data to tb1 using KEy coulmn UPdate tb1 set IDS=col from tb2 where...
View Articlessis object reference not set to an instance of an object
I am using a script component with the script given below: ' Microsoft SQL Server Integration Services user script component ' This is your new script component in Microsoft Visual Basic .NET '...
View Articlehow to add 2 variables using expressions in filesystem task ?
Can we add 2 locations using expressions in file system task ? Usually there would be a property called conenction string which can used to add 2 variables .Do we have any such thing in file system task ?
View Articlebest practice for aborting a pkg
Hi. We have a master pkg that calls a very large number of sub packages. We run std 2008. Is there a best practice for aborting everything? Perhaps throwing an exception in a script or dividing by...
View Articlemultiply with the qty value.
Hi Gurus, I have a requirement to calculate "Result" column as below: Here, we are multiplying by taking the Item# by an integer. lets take ex: for (1,1.1,1.2) the qty is 5 for Item# 1. So, for each...
View ArticleFile is locked by SSIS script task that copies the file to a new location
I have a script task that copies a file to a new location in one control flow task and then after so dataflow tasks i return to the control flow and run a second script task that deletes the files from...
View ArticleExecute Package Task
Hi, I have developed 10 SSIS packages and would like to execute them using the Mater -Child Package set-up. I would like to know how can we run multiple packages using the execute package tasks in a...
View ArticlePerform database actions using command line output
Hi, I have hit a deadend on this one. Could someone please tell me how can i use the execute process task to run a command which is the statement that i would run using the command prompt but allows me...
View Articlecould not find getReportParameters or getItemParameters from ReportService2010
Hi All, I am writing script to get total number of parameters for the report, but could not find getReportParameters or getItemParameters from ReportService2010, could anybody help? Thanks a lot! Ling
View ArticleSP executed around 6 mins in Execute SQL Task but still executing from past...
I have huge SP which is executed around 6 mins in Execute SQL Task in my SSIS package. However, It's still executing from past 30 mins in SSMS query window. Any thoughts? Please
View ArticleTwo questions about SSIS on SBS 2011?
Hi guys, We have a server running a standard SBS 2011 install (I don't know which edition), so I imagine it also has SharePoint and SQL Express. I'd like to create an SSIS package for ETL purposes,...
View Articlessis change datatype from one table to another
Hello guys, I need some help. I have to tables(table1, table2) in my database.(SQL Server 2005) Initially i created an ssis Package to import data from excel files to table1. The datatype for each...
View ArticleForLoop Eval Expression
Hi Team, We have a scenario where we have to check two tables(say table1 primary and table2 back up) continuously and the data should be pulled as soon as one of the table is loaded. To do this we have...
View Article