Stored procedure enhancements in Amazon Redshift
Blog
This article discusses enhancements to Amazon Redshift stored procedures for non-atomic transaction mode, providing more flexible transaction control and enabling easier migration from other data warehouse systems.
Specifically, the article covers:
- Non-atomic transaction mode: Allows each DML/DDL statement in a stored procedure to run in its own implicit transaction unless an explicit transaction is opened
- Exception handling: In non-atomic mode, exceptions can be handled without automatically re-raising them, and a new RAISE statement allows re-throwing exceptions
- START TRANSACTION statement: Begins an explicit transaction inside a non-atomic stored procedure
- Advantages: Enables seamless migration of Teradata stored procedures, and provides more flexible exception handling
- Conclusion: These enhancements make it easier to migrate stored procedures to Amazon Redshift from other systems and offer better transaction control
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
Related articles
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.