Execute multiple instances of same SSIS package at same time - sql-server-2008

I want to execute a SSIS package multiple times through SQL Server Job and each time it executes it should store the data in different table if the package is already running.

Related

SSIS package only executes the last part of package in SQL Agent job but executes all of the package in Visual Studio

I created an SSIS package which has 3 script tasks that checks if a different file exists for each and if the any of the script tasks finds the file, then it goes to a foreach loop which imports data to a sql server staging table, then copy and renames the file.
It works successfully within Visual Studio, however when I set up a sql agent job, the package only processes the last file and ignores the first two.
Any ideas why this may be occurring?
Probably either permissions of the SQL Agent, or invalid file paths on the SQL Server.

In to how many ways we can call or execute one package from other package in ssis

In recent interviews i have come across with this question that what are the ways from which you can or execute one package from other package.
Assuming you are using SSIS 2012+ in SSIS Catalog - Project mode.
Call another package from this project in Package task
Start package with stored procedures in SSISDB - in SQL Tasks
Create SQL Job to execute package, then start this Job from SQL Task
Create Execute cmd task, which start package with dtexec
Create Script task which starts package
Approaches 2-5 basically are doing the same - start out of process execution of some package, with either calling SSISDB SPs or DLL directly, or with dtexec wrapper.
Below are the approaches AFAIK.
Using Execute Process Task.
Using SQL Agent and call the agent in SSIS package.
Using command line (dtexec).
Using Scripting (.net script to execute dtsx file).
Using Stored Procedure.
Using a Batch file and calling batch file a package.
ExecutePackageTask, StoredProcedure(sql),dtexec.exe utitlity and dtexecui.exe

MS SQL Server 2008 R2 Import Export Wizard: Calling another DB for generating SSIS package

I'm attempting to modify an existing SSIS package generated by the Import/Export Wizard (64-bit) by restamping the query into the package. It calls a database on the same LAN as the calling SQL Server, but is run from a 2nd SQL server, so that the package can be called on demand for loading data from a stored procedure as part of a server job on the calling server.
Config works like this:
On server where platform data resides (MS SQL Server 2008 R2)
Database table has subset of fields from our platform, loaded and defined in the designer.
There exists a view, which calls the table and imports its data to the view
Stored Procedure is a complicated union query with a bunch of left outer joins.
On calling server (MS SQL Server 2008 R2)
Import Export wizard is used to generate SSIS package which sql server job can call on demand and periodically to load the data into the appropriate table and thus, load the view.
SQL Server job configured to use the package created/modified to load said data.
SSIS package does this (from calling server):
Source data: dbservername, SQL server authentication
Destination data: dbservername (same as above), SQL server authentication
Query: Execute _NameOfMyStoredProcedure
Note: existing package is encrypted.
When it gets to this point, it sometimes, but does not always timeout, and has not in the past, until now. The change is the addition of some columns to the SP's query that loads the data.
My Question: is there a way [ reg entry, setting value on the database, etc ] to modify the timeout value [ appears to be either 15 or 30 sec ] so that the Import/Export wizard will allow the parsing of the query so that the SSIS package can be parsed?
or alternately,
Is there a way to modify the query in design of the SSIS package without going through the import/export wizard? Note: the calling server does not have the BI studio installed.

Updating MySQL with data from MS SQL Server

In MySQL is it possible to execute an update query with values selected from external MS SQL database?
I would like to execute every night a timed query, which updates some the data in MySQL with data on MS SQL server.
Typically how you would do this is, create a SSIS package (dts) that pulls the data in and does anything else you want to do. Then setup a SQL job to run the package, then Setup a A SQL batch to kick off the job whenever you want it to run

Different Servers for SSIS and Database

We are going to use different SQL servers for SSIS and database. Currently both are in same servers. We have a package which calls another package inside that. But I am not able to select the secondary package location from SQL server option in the editor as the MSDB is in SSIS server not in database server. Should the MSDB in database server for me to select it or can we use SSIS server to deploy MSDB?
Thanks
Ajeesh
So first, create a connection to your SSIS Server in your package. Let's name it SSISServer.
Create your Execute Package task.
In the editor, under the Package Tab, under ReferenceType, choose External Reference.
Under Location, choose SQL Server.
Under Connection, choose SSISServer.
Under PackageName, browse to your package.
This is how you execute packages on different servers from the package that is running.