Stops the execution of the script thread.

1 system.sleep

<system.sleep time='time'/>
Example

Stops the script execution during 3 seconds.

Copy
<xsql-script name='system_sleep_sample1'>
    <body>
        <system.sleep time='3000' />
    </body>
</xsql-script>

You can observe as the script execution which has delayed 3 seconds:

Copy
Execution completed...........: 3.016 secs.