Common SSIS package-execute tasks

Source: Internet
Author: User

Executing a task will execute one or moreSQLStatement or stored procedure. InSSISIn the execution FileScript. Most of the configurations are3-1. Stop TimeTimeoutOption to set the time when the task starts to stop. If it is set0It will be executed in a very short time.

Figure 3-1

 

ResultsetOption settingsTask. The default setting isNone. When you want to populate the output results with rows and result sets in a table,XMLChinese options are useful. . If this setting is notNoneYou will set the output result on the result settings page. On the results page, you can map the output results to user variables and create a new user variable. This user variable can be a container or the entirePackage.

 

You canPackageUse this output result set. One example is to check the values in a table.PacakgeIf the value is1Prove thisPackageAfter the execution is completed, you can execute the nextTaskOtherwise, re-executePackage.

 

Connection Type propertyConnectiontype, Set and executeSQLThe link type used in the statement. Options include:Ole db, ODBC, ADO, ADO. net, Excel,AndSqlmobile. If yesSQL ServerConnection SelectionOLE DBSet other connection attributes. YourSQL queryIt can be saved as a face change, input a file, or input directly. AvailableSQL queryStorage location. You can also set the data source type options.SqlsourcetypeAnd then enter or select a value from the drop-down list. The next option isSQLStatement, ifSqlsourcetypeSelectDirect inputIn this case, you need to set the options. There are two options:Sourcevariable,Fileconnection.

 

IfConnectiontypeSelectADOSoIsquerystoredprocedureThis setting is also available.QueryWhether it is a stored procedure. If noADOThis option cannot be set. IfOLE DBData Source support, you can setBypassprepare. PreparedSQL queryCan be cached, And the next execution speed will be faster. Select NewQueryWhenVisual StudioHas the same editing environment.

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.