sequenceother
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| sequenceother [2016/05/29 10:13] – created z0hpvk | sequenceother [2025/03/08 22:24] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ==== PL/SQL for Other Objects ==== | ||
| + | Below is the code required in order to create ... | ||
| + | * Database Links | ||
| + | * Tables | ||
| + | * Scheduled Jobs | ||
| + | ... for sequences in a bi-directional format. | ||
| + | |||
| < | < | ||
| - | Create public database link ggint | + | Create public database link ggmolbb |
| connect to ggate identified by ggate123 | connect to ggate identified by ggate123 | ||
| - | using ‘molintpc’; | + | using 'molintpc'; |
| -- Create on 12c Database | -- Create on 12c Database | ||
| - | Create public database link ggpoc | + | Create public database link ggandraca |
| connect to ggate identified by ggate123 | connect to ggate identified by ggate123 | ||
| - | using ‘molinta’; | + | using 'molinta'; |
| Create table sync_sequences_log (owner varchar2(20), | Create table sync_sequences_log (owner varchar2(20), | ||
| Line 15: | Line 22: | ||
| Create table mol_gg_sequences (owner varchar2(20), | Create table mol_gg_sequences (owner varchar2(20), | ||
| | | ||
| - | | + | |
| + | -- Example Scheduled Job that runs every hour to keep sequence values in sync. | ||
| BEGIN | BEGIN | ||
| DBMS_SCHEDULER.create_job ( | DBMS_SCHEDULER.create_job ( | ||
sequenceother.1464516790.txt.gz · Last modified: (external edit)
