Database - Close SQL Connection
Declaration
<AMSQLCLOSECONNECTION SESSION="Text" />
Description: Closes a previously established connection created by an Open SQL Connection step and ends the session.
Practical Usage
Used to terminate a previously opened SQL session.
General Parameters
Property |
Type |
Required |
Default |
Markup |
Description |
---|---|---|---|---|---|
Session Name |
Text |
Yes |
SQLSession1 |
SESSION="SQLSession2" |
Specifies the session name of the SQL connection to close. |
Example
The sample AML code below can be copied and pasted directly into the Steps panel of the Task Builder.
Description: Close SQL connection open in session "SQLSession2".
<AMSQLCLOSECONNECTION SESSION="SQLSession2" />