Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Oracle Goldengate 12c Implementers Guide

You're reading from  Oracle Goldengate 12c Implementers Guide

Product type Book
Published in Jul 2015
Publisher
ISBN-13 9781785280474
Pages 422 pages
Edition 1st Edition
Languages

Table of Contents (21) Chapters

Oracle GoldenGate 12c Implementer's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Getting Started Installing and Preparing GoldenGate Design Considerations Configuring Oracle GoldenGate Configuration Options Configuring GoldenGate for HA Advanced Configuration Managing Oracle GoldenGate Performance Tuning Troubleshooting GoldenGate The Future of GoldenGate GGSCI Commands
GoldenGate Installed Components
Acronyms
Index

The SQLEXEC parameter


Another powerful feature of GoldenGate is the SQLEXEC parameter. We will discuss when and how to use it as a standalone statement or in a TABLE or MAP statement to fulfill your data transformation requirements. SQLEXEC is valid for Extract and Replicat processes and can execute SQL statements or PL/SQL stored procedures.

Data lookups

On the target database, the SQLEXEC parameter in the MAP statement allows external calls to be made through a SQL interface that supports the execution of native SQL and PL/SQL stored procedures. This option is typically invoked to perform database lookups, thus obtaining data required to resolve a mapping and can only be executed by the GoldenGate (GGADMIN) database user.

Executing stored procedures

The following code maps data from the CREDITCARD_ACCOUNT table to the NEW_ACCOUNT table. The Extract process executes the LOOKUP_ACCOUNT stored procedure prior to executing the column map. This stored procedure has two parameters: IN and OUT. The...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}