DECLARE
CURSOR VIN है
DBA_STREAMS_UNSUPPORTED से
TABLE_NAME चुनें
जहां OWNER ='URSCHEMA';
BEGIN
VIN LOOP में C के लिए
dbms_streams_adm .add_table_rules (
table_name => 'URSCHEMA.'||C.TABLE_NAME,
streams_type => 'capture',
streams_name => 'STREAMS_CAPTURE',
queue_name => ' STRMADMIN.STREAMS_CAPTURE_Q',
include_dml => true,
include_ddl => false,
include_rule => false,
source_database => 'STREAM'
);
एंड लूप;
कमिट;