Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# SW_INIT_TABLES

The `SW_INIT_TABLES` procedure creates the temporary tables needed to store data for the current database session.

## Syntax

    SW_INIT_TABLES ()

## Notes

The `SW_INIT_TABLES` procedure can be useful when a single database transaction is expected to run for a considerable period of time, because creating temporary tables during a transaction can block other SSOLite transactions.

You need only call `SW_INIT_TABLES` once per database session, although multiple calls will not affect performance.

## Example

    EXEC owner.SW_INIT_TABLES		-- Called outside of the transaction
    -- to avoid unnecessary database
    -- blocking.
    begin transaction			-- Start the tansaction.
    EXEC swpro.SW_CASESTART ...		-- Multiple SSOLite procedure calls.
    EXEC 	...
    EXEC ...
    .
    .
    commit		-- Commit the transaction

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine