SSIS Configuration
SSIS Configuration
For project deployment not all the above configs not available, packages will be deployed in SSIS Catelog, parameters were
introduced in deployment, 2 types of parameters, one is package level parameter and the other is project level parameter
SSIS catalog has logging where you can go and check logging can be checked, versioning of SSIS packages are available in this
we can query
What is configuration? It is a way to make your packages dynamic, once you developed a package , you have to move it to QA test
and prod environment. You will create configuration for connection managers, variables, folders, filenames, Without configuration
you are creating copies of SSIS packages, multiple copies of jobs for different environment,
Latest version, last version of on premises sql server and SSIS version, visual studio, SSDT?
Size of db,
SSIS configuration is a way to make your packages more dynamic. Database names will not be same in different environment but
the servername will be different. Direct is store config values in xml file, and to have individual xml file (you may not have C: drive in
all environment, so diff UNC path, INDIRECT Means create ENVIRONMENT VARIABLES IN SYSTEM and store pathname,
servernames etc
It is a task used to extract data from different sources, transform and store the transformed data into destination
Data flow items have items for 3 categories mainly. Sources, transformation, destinations
One data flow can have many source and destination, number of these source and destination running in parallel depends on
ENGINE THREAD PROPERTY WHICH IS BY DEFAULG 10 IN 2012
Data flow can be run in sequence also in parallel (when we do not connect two dataflow tasks then they will be running in parallel,
the number of Data flow tasks running in a control depends on a property called MAXIMUM CONCURANT PROPERTY OF SSIS
PACKAGE, that is equal to number of processors + 2
-1 refers number of processors +2 , if you r machine has 4 processors then it can run 6 in parallel
If you need to run some SQL Script (srored proc, dml, ddl) which task you use?
In ControlFlow use EXECUTE SQL TASK
Full result set will be best for storing recordset, then map the result set to the object type variable,
If your database is in Full Recovery mode, can you use Bulk Insert Task to load data? What are the requirements to use Bulk Insert
Task?
REVOERY LEVEL MEANS, STORING TRANSACTION LOG IN FULL, SIMPLE MEANS NO STORING TRAN LOG, BULK
LOGGED MEANS KEEP TRANS LOG ONLY FOR BULK INSERT
Script component can used to read data from file, and add a sequence number , and store it in to destination table or recordset
variable. So the script component can be used as a SOURCE, used as a DESTINATION, or used as a TRANSFORMATION item
After loading a file, how will you zip and archve, use EXECUTE PROCESS TASK , this task can be used to run any executables.
Which task to use to delete, rename, move file? FILE SYSTEM TASK
EVEN SCRIPT TASK CAN DO THESE FILE SYSTEM TASKS, USING IMPORT SYSTEM.IO
CAN YOU RENAME AND MOVE FILE BY USING ONE TASK? FILESYSTEM TASK
ON ERROR, SEND EMAIL, YOU CAN USE PRECEDENCE CONSTRAIN SET EVALUATION TO FAILURE (RED ARROW) SET IT
TO ‘SEND MAIL TASK’
OTHER
WAY IS TO USE EVENT HANDLER, ON ERROR
EVEN ‘EXECUTE SQL TASK’ CAN ALSO BE USED TO db.sendmail sql stored procedure
Execute SQL Task to run Select emails from stafftable, store the result set Into an object type variable
then loop through it, put an send email task inside the loop container.
Create ‘FOR EACH LOOP CONTAINER’ to loop through the Collection , Enumerator – For Each ADO Enumerator (means object
type is an ADO recordset)
And use that emailvariable to send email using Send Email Task
Inside the FOR EACH LOOP container put the Send email task
If you want to send the email in HTML format, then use SCRIP TASK
XML TASK?