Exit without
any parameters specified, all data is committed and the message is marked as
complete. Use this to indicate that everything processed correctly and to stop
program processing.
Exit()
Or
Exit(0);
When you supply
a 1 as a parameter for the Exit function, the function:
Exit(1);
- Processes a rollback.
- Stops processing.
Note :
If you are
using Iscript then use SQLEXEC("ROLLBACK")