13.01.2013 Views

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

RDBMS stored procedure basics<br />

schema image. See your <strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong> documentation <strong>for</strong> complete in<strong>for</strong>mation<br />

about creating and using stored procedures.<br />

• If the ABL that executes a stored procedure is already within a transaction block, the<br />

stored procedure becomes an extension of that transaction and will not commit to the<br />

database until the ABL transaction is completed. However, because the stored procedure<br />

does not execute as part of ABL client process, it cannot be rolled back by ABL.<br />

• The <strong>Data</strong><strong>Server</strong> cannot roll back sub-transactions in the stored-procedure context since it<br />

has no control over what the stored procedure executes.<br />

The following section expands on the use of the RUN STORED-PROC statement.<br />

3–5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!