A stored procedure is similar to any other SQL application.
The following restrictions apply to stored procedures:
When these statements are encountered, it places the thread in a must roll back state. When control returns to the calling program, it must do one of the following things: