subquery for table double

Hello

I need to add the double query(#1) select sql # 2 and make the join on

WHERE: WS-DEPARTURE DATE BETWEEN ZIP_CDE_STRT_DTE

AND ZIP_CDE_END_DTE

Can someone help me please

1. SELECT TO_CHAR(CURRENT_DATE + 1,'MM-dd-yyyy') AS WS_START_DATE FROM DUAL;

2. SELECT ZIP_CDE

ZIP_CDE_X_CRDNT

ZIP_CDE_Y_CRDNT

ZIP_CDE_STRT_DTE

OF T_ZIP_CODE

WHERE: WS-DEPARTURE DATE BETWEEN ZIP_CDE_STRT_DTE

AND ZIP_CDE_END_DTE

Thank you!

Maybe this?

SELECT ZIP_CDE

ZIP_CDE_X_CRDNT

ZIP_CDE_Y_CRDNT

ZIP_CDE_STRT_DTE

OF T_ZIP_CODE

WHERE (CURRENT_DATE + 1) BETWEEN ZIP_CDE_STRT_DTE AND ZIP_CDE_END_DTE

Fingers crossed that your two columns of type DATE.

And you know the difference between sysdate and current_date, right?

Tags: Database

Similar Questions

  • Vertical line for tables

    Hi all
    We have challenges to the vertical lines of the tables
    Draw us lines between the horizontal lines. When data needed more space, the distance range for more data. But the vertical lines did not apply.

    We found variable elasticity for vertical lines.

    If you have any experience, please share it to us.

    Thanks for once again,

    NY

    F4 or Double click
    NULL for repeat image

    http://nyapex.blogspot.com/2010/07/vertical-line-for-tables.html

    Mark useful or correct accordingly

  • How to sort a table double in blackberry?

    I need to sort a double table containg frequencies. I have java we can do by the method "Arrays.sort (). But Blackberry does not support table double sorting with this method. Someone has any idea how to do? Thank you.

    implement your own sorting algorithm must be covered by each course programming first half, I'm sure you can find many of them online.
    If this sounds too awkward, you could use instead of double [] objects and set up your own comparison.

  • Need drivers for camera double digital vivitar

    I want to download free drivers for the double camera vivicam 10.  does anyone know where to get them?

    From Internet Explorer

    Original title: camera double digital Vivitar

    Did you contact the Support of Vivitar again?

    [THX @here]

  • CRUD for tables with large number of columns

    Hello

    I work for a government agency in Colombia, and we do a poll with about 1200 variables. Our database model has few paintings, but they have a large number of columns. Our Oracle 11 g database is, and we do not use Oracle APEX. I've read about APEX and it seems to be useful to generate quick forms and reports. However, I would like to know if it is possible to generate CRUD for tables with many columns, and that would be the best way to do it.

    Thanks in advance.

    Carlos.

    With the help of 250 point on a single page is actually really bad for the user experience. I would probably be it cut into pieces and using several pages to guide the customer through it as a workflow.

    You could also add some pop-up windows which includes some elements of your table, just saved on other pages. But I probably don't like that.

    Tobias

  • Serial number of PK column for table

    Hi Experts,

    I hung out and view object to the data control on the page jspx,.


    First VO1 as ADF, as master and primary key (PkMaster)

    Second VO2 as ADF Table, details and primary key(PkMaster,PkDetail)


    I want to add a column autoincrement PkDetail do serial for every PkMaster for the table,

    This autoincrements to the value with the number of rows in table

    When to insert a new line.


    Thanks in advance.


    JDeve 12 c

    You can call this method after calling createInsert to detail to generate new sno and place it in the column

        /**Method to generate Serial Number for Table     * ***/
    
        public void generateSerial(String voName, String columnNm) {
    
    
            ViewObjectImpl vo = (ViewObjectImpl) this.findViewObject(voName);
    
           Row curRow = vo.getCurrentRow();
    
            Integer Srno = 0;
    
           Integer max = 0;
    
           vo.setRangeSize(-1);
            Row row[] = vo.getAllRowsInRange();
    
            for (Row r : row) {
    
                try {
    
                    Srno = Integer.parseInt(r.getAttribute(columnNm).toString());
    
               } catch (NullPointerException e) {
    
                    Srno = 0;
                }
    
           if (Srno > max) {
    
                  max = Srno;
    
              }
    
           }
            max = max + 1;
    
           // System.out.println("Serial No is-" + max);
    
          curRow.setAttribute(columnNm, max);    }
    

    just pass vo name and name of the pk column detail

    Ashish

  • never flash player will be available for Tables Android and smartphones

    With so many programs and Web sites requiring flash player is still never going to make it available for tables Android and smartphones?

    An update on Android and Flash Player

    The best option at this point is: Puffin browser - fastest mobile browser with Flash support on iPad, iPhone and Android cloud.

  • Collects statistics for tables using jobs in Oracle 11 G 11.2.0.1.0?

    Hello

    My query is regarding the collection of statistics for tables.

    My Version of Oracle DB is:
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    In versions of prior oracle db, we used to schedule tasks to run on a daily basis for collecting statistics. Especially for tables that are frequent and huge inserts.

    I read that in 11g stats for all of the schema on a database are automatically make every night jobs. I checked these jobs and I see that they are running on a monthly basis [joined query]. This job is enabled and is scheduled to run monthly.
    This means that my diagram will be analyzed on a monthly basis. My understanding is correct?

    Can I still plan jobs to collect statistics for specific tables on every week? This will diminish the performance?
    We expect 100000 documents to insert on a daily basis.
    SELECT  JOB_NAME,  
       START_DATE, REPEAT_INTERVAL, 
         LAST_START_DATE, 
        NEXT_RUN_DATE,ENABLED
    FROM dba_scheduler_jobs
    WHERE job_name LIKE '%STAT%'
    ORDER BY 1;
    JOB_NAME                       START_DATE                             REPEAT_INTERVAL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  LAST_START_DATE                        NEXT_RUN_DATE                          ENABLED
    ------------------------------ -------------------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------- -------------------------------------- -------
    BSLN_MAINTAIN_STATS_JOB        16-AUG-09 12.00.00.000000000 AM -07:00                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  14-APR-13 12.00.00.427370000 AM -07:00 21-APR-13 12.00.00.400000000 AM -07:00 TRUE    
    MGMT_STATS_CONFIG_JOB          15-AUG-09 12.24.04.694342000 AM -07:00 freq=monthly;interval=1;bymonthday=1;byhour=01;byminute=01;bysecond=01                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           01-APR-13 01.01.01.710280000 AM -07:00 01-MAY-13 01.01.01.700000000 AM -07:00 TRUE    
    Thank you
    Somiya

    Your understanding is not correct. These jobs are in dba_autotask_task.
    And they will be run every day.

    HTH

    -------------
    Sybrand Bakker
    Senior Oracle DBA

  • How to collect statistics on the table for tables in a different schema

    Hi all

    I have a table in a schema, and I want to collect statistics for the table in a different schema.

    I gave GRANT ALL ON SCHEMA1. T1 TO SCHEMA2;

    And when I tried to run the command to collect statistics to help

    DBMS_STATS. GATHER_TABLE_STATS (OWNNAME = > 'SCHMEA1', TABNAME = > 'T1');

    The function will fail.

    Is there a way we can collect statistics of the table for tables in a schema into another schema.

    Thank you
    MK.

    You must grant analyze to schema2.

    SY.

  • Potential problems for tables without primary keys and unique keys

    GoldenGate 11.2.1.0.3/Solaris 10
    DB: Oracle for Oracle (Source and target is 11.2.0.3)
    Topology: unidirectional


    In our one-way configuration GG, little of the tables being replicated is not a primary key or a Unique key.

    Last week when we have implemented GG for the test, we received warnings for these table below.
    GGSCI > add trandata WMHS_UD.crtn_dtl
    
    2013-01-12 11:34:33  WARNING OGG-00869  No unique key is defined for table 'CRTN_DTL'. All viable columns will be used to represent the key, but may not guarantee uniqueness.  KEYCOLS may be used to define the key.
    
    Logging of supplemental redo data enabled for table WMHS_UD.crtn_dtl.
    Replication seems to work very well for these tables.

    Googling, I think that there may be performance degradation when you replicate tables without PK or the United Kingdom.

    But are there other potential problems such as data of a certain kind not replicated to the lack of PK/UK?

    It really depends on the data.

    By default, GG is combining all columns as a virtual primary key but don't no conflict control by default. So when you can be sure that the record you insert into the table is unique, then it will work.
    BUT as soon as you insert the same record, which is already inserted, then you will encounter problems.

    Let me show what happens when you use an initial charge because it makes it easier to describe:
    We start at 10:00 the capture for a table. Now, you insert a record at 10:00 in the tables. When you now start an initial charge to 10.02, then check you have inserted in the database to 10.01 will be repeated two times. During the IPL as the initial charge is made to 10.02 and it includes data of 10.01 AND it will be replicated again through the process of capture/replicate.

  • Rapid DDL for table - generated 3 times grants

    Developer SQL version 3.2.20.09

    The table is created as follows:
    create table test_quick_ddl
    (
      column1 varchar2(10 char),
      column2 varchar2(10 char)
    );
    
    grant select, update, insert, delete on test_quick_ddl to scott;
    And "the fast DDL" generated for this table looks like:
    --------------------------------------------------------
    --  DDL for Table TEST_QUICK_DDL
    --------------------------------------------------------
    
      CREATE TABLE "KTRM"."TEST_QUICK_DDL" 
       (     "COLUMN1" VARCHAR2(10 CHAR), 
         "COLUMN2" VARCHAR2(10 CHAR)
       ) SEGMENT CREATION DEFERRED 
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING
      TABLESPACE "KTRM" ;
      GRANT DELETE, INSERT, SELECT, UPDATE ON "KTRM"."TEST_QUICK_DDL" TO "SCOTT";
    GRANT DELETE, INSERT, SELECT, UPDATE ON "KTRM"."TEST_QUICK_DDL" TO "SCOTT";
    GRANT DELETE, INSERT, SELECT, UPDATE ON "KTRM"."TEST_QUICK_DDL" TO "SCOTT";

    Hello world
    Thanks for your efforts to report/reproduce the problem.

    I am able to reproduce the problem and identified the cause of it. Working on a fix for it now.

    Joyce Scapicchio
    Team SQLDeveloper

    Published by: Joyce Scapicchio on November 29, 2012 12:57

  • NUMBERS FROM 1 TO 300 WITH THE HELP OF THE TABLE 'DOUBLE' IN FROM CLAUSE

    Hi masters.

    I need display numbers from 1 to 300.
    We can achieve this by
    Select rownum from TABLE_NAME where ROWNUM < = 300;

    But the need to display table DOUBLE...

    Try this:

    SELECT the level "Numbers."
    OF the double
    CONNECT BY LEVEL<=>

  • RoboHelp captures together tags conditional compilation for tables

    My FrameMaker 9 tagged conditional text tables is not captured by RoboHelp 8.

    My tests show conditional text for tables in FrameMaker when imported in RoboHelp gives me a table with no tag of conditional compilation at all. If I have, in addition, the value of conditional text for the content in the table I find myself alone with an empty table. IOW, I have to "man-handle" all tables in RoboHelp... sucks big time!

    My RoboHelp settings are fine as I can see all build tags in FrameMaker in RoboHelp (they are not automatically applied to the tables). Applying the compilation conditional tags before importing FrameMaker files is never a good idea because it is not working properly. From my experience, you must always set the same conditions of generation in RoboHelp as you do in FrameMaker. IOW, repeat!

    Everyone has the same problems, or I'm doing something wrong here?

    Adobe confirms that this is a bug!

  • How to change the default color for tables/pivot tables

    Can someone share how to change the default font color or background for tables and PivotTables? In my view, there is a CSS or XML setting I need to change.

    It is difficult to read the text when negative numbers are RED and the overall totals have a default NAVY background fill. I'm trying to find out how to change the color of these without doing it manually to each report.

    Thank you.

    Jin

    For pivot Table

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the PivotTable section code

    For table veiw

    Go to OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\b_mozilla_4\views.css

    Change the section of the Table

    PS:take backup your original file before you edit any css file. Don't forget to give the points/close the thread

    Thank you
    saichand.v

  • flow of Installer for tables with source schemas and destination is different

    How to set up courses of water for tables with source schemas and destination is different? But the structure of the table is the same.

    Please paste a small example too.

    Thank you
    Bala

    Hello

    I have a concrete example of this issue, I tested in my environment. Please follow the steps below to install this on your databases.

    My global_name to database source is: REP102A. WORLD
    My global_name to database target is: REP102B. WORLD

    Source table: ORDERS. ORDER_ENTRY
    Target Table: MERCHANT NAVY. ORDER_ENTRY

    Replication will happen as follows:
         
    ORDERS. ORDER_ENTRY (REP102A)-> SHIPPING. ORDER_ENTRY (REP102B)

    Needs to follow the steps below as the one proposed at each site. You may need to make the changes required for your environment.

    SCRIPT:
    =======

    * 1. Remove the configuration of the flow of SOURCE and TARGET sites: *.

    CONNECT / as SYSDBA
    RUN DBMS_STREAMS_ADM. REMOVE_STREAMS_CONFIGURATION;
    DROP USER CASCADE STRMADMIN;

    * 2. Installation STRMADMIN user and streams queued on the Source database: *.

    CONNECT / as sysdba
    Strmadmin CREATE USER IDENTIFIED BY strmadmin;
    GRANT dba, connect, resource, aq_administrator_role to strmadmin;
    ALTER SYSTEM SET aq_tm_processes = 1;
    BEGIN
    DBMS_STREAMS_AUTH. () GRANT_ADMIN_PRIVILEGE
    dealer-online "strmadmin."
    grant_privileges => TRUE);
    END;
    /

    CONNECT strmadmin/strmadmin
    BEGIN
    DBMS_STREAMS_ADM. () SET_UP_QUEUE
    queue_table-online "streams_queue_table."
    queue_name-online "streams_capture_queue."
    queue_user-online "strmadmin");
    END;
    /

    * 3. Installation STRMADMIN user and streams queued to the database target: *.

    CONNECT / as sysdba
    Strmadmin CREATE USER IDENTIFIED BY strmadmin;
    GRANT dba, connect, resource, aq_administrator_role to strmadmin;
    ALTER SYSTEM SET aq_tm_processes = 1;
    BEGIN
    DBMS_STREAMS_AUTH. () GRANT_ADMIN_PRIVILEGE
    dealer-online "strmadmin."
    grant_privileges => TRUE);
    END;
    /

    CONNECT strmadmin/strmadmin
    BEGIN
    DBMS_STREAMS_ADM. () SET_UP_QUEUE
    queue_table-online "streams_queue_table."
    queue_name-online "streams_apply_queue."
    queue_user-online "strmadmin");
    END;
    /

    * 4. Create ORDERS. ORDER_ENTRY Table on the Source database: *.

    CREATE USER controls IDENTIFIED BY;
    GRANT connect, resource TO arrested;
    CONNECT orders/orders

    CREATE THE ORDERS TABLE. ORDER_ENTRY
    (
    order_id number (8) primary key,.
    ORDER_ITEM varchar2 (30),
    ship_no number (8)
    );

    * 5. Create shipping. Target ORDER_ENTRY Table on the database: *.

    CREATE USER IDENTIFIED BY expedition expedition;
    GRANT connect, navigation resources;
    CONNECT shipping/delivery

    CREATE TABLE EXPEDITION TO FRANCE. ORDER_ENTRY
    (
    order_id number (8) primary key,.
    ORDER_ITEM varchar2 (30),
    ship_no number (8)
    );

    * 6. On the target, add the rules to apply and create a dblink from destination to source: *.

    CONNECT strmadmin/strmadmin
    SET SERVEROUTPUT ON
    DECLARE
    v_dml_rule VARCHAR2 (80);
    v_ddl_rule VARCHAR2 (80);
    BEGIN
    DBMS_STREAMS_ADM. () ADD_TABLE_RULES
    table-name => ' EXPEDITION. ORDER_ENTRY',.
    streams_type-online "apply."
    streams_name-online "streams_apply."
    queue_name-online "strmadmin.streams_apply_queue."
    include_dml to-online true.
    include_ddl-online fake,
    include_tagged_lcr-online fake,
    source_database => ' REP102A. WORLD ',.
    dml_rule_name-online v_dml_rule,
    ddl_rule_name-online v_ddl_rule,
    inclusion_rule-online true);
    DBMS_OUTPUT. Put_line (' apply rule DML for SHIPPING.) ORDER_ENTRY => ' | v_dml_rule);
    END;
    /

    CREATE DATABASE LINK rep102a.world CONNECT TO strmadmin IDENTIFIED BY strmadmin USING 'rep102a ';
    -check the link works with:
    SELECT * from [email protected];

    BEGIN
    DBMS_APPLY_ADM. () ALTER_APPLY
    apply_name-online "streams_apply."
    apply_user-online "strmadmin");
    END;
    /

    * 7. The source adds the rules of capture, transformation, create a database link for target, add spread rules, then prepare the tables for instantiation: *.

    CONNECT strmadmin/strmadmin
    SET SERVEROUTPUT ON
    DECLARE
    v_dml_rule VARCHAR2 (80);
    v_ddl_rule VARCHAR2 (80);
    BEGIN
    DBMS_STREAMS_ADM. () ADD_TABLE_RULES
    table-name => ' ORDERS. ORDER_ENTRY',.
    streams_type-online "capture."
    streams_name-online "streams_capture."
    queue_name-online "strmadmin.streams_capture_queue."
    include_dml to-online true.
    include_ddl-online fake,
    include_tagged_lcr-online fake,
    source_database => ' REP102A. WORLD ',.
    dml_rule_name-online v_dml_rule,
    ddl_rule_name-online v_ddl_rule,
    inclusion_rule-online true);
    DBMS_OUTPUT. Put_line ('Capture DML rule for ORDERS.) ORDER_ENTRY => ' | v_dml_rule);
    -Add the schema to rename it to change ORDERS to NAVIGATION for this rule
    DBMS_STREAMS_ADM. () RENAME_SCHEMA
    nom_regle-online v_dml_rule,
    from_schema_name-online "ORDERS."
    to_schema_name-online 'EXPEDITION. "
    operation => "ADD");
    END;
    /

    CREATE DATABASE LINK rep102b.world CONNECT TO strmadmin IDENTIFIED BY strmadmin USING 'rep102b ';
    -check the link works with:
    SELECT * from [email protected];

    -post-harvest enqueues the LCR will have schema as EXPEDITION via renamed of schema processing
    -then add the rule of propagation for SHIPPING. ORDER_ENTRY

    SET SERVEROUTPUT ON
    DECLARE
    v_dml_rule VARCHAR2 (80);
    v_ddl_rule VARCHAR2 (80);
    BEGIN
    DBMS_STREAMS_ADM. () ADD_TABLE_PROPAGATION_RULES
    table-name => ' EXPEDITION. ORDER_ENTRY',.
    streams_name-online "streams_prop."
    source_queue_name-online "strmadmin.streams_capture_queue."
    destination_queue_name-online "[email protected]."
    include_dml to-online true.
    include_ddl-online fake,
    include_tagged_lcr-online fake,
    source_database => ' REP102A. WORLD ',.
    dml_rule_name-online v_dml_rule,
    ddl_rule_name-online v_ddl_rule,
    inclusion_rule to-online true.
    queue_to_queue-online fake);
    DBMS_OUTPUT. Put_line ("rule DML of Propagation for SHIPPING. ORDER_ENTRY => ' | v_dml_rule);
    END;
    /

    BEGIN
    DBMS_CAPTURE_ADM. () PREPARE_TABLE_INSTANTIATION
    table-name => ' ORDERS. ORDER_ENTRY',.
    SUPPLEMENTAL_LOGGING-online 'key');
    END;
    /

    * 8. Set the instantiation scn for ORDERS. ORDER_ENTRY on the site target and start apply: *.

    -Apply on site
    CONNECT strmadmin/strmadmin
    SET SERVEROUTPUT ON
    DECLARE
    iSCN NUMBER;
    BEGIN
    iSCN: = DBMS_FLASHBACK. [email protected] ();
    DBMS_OUTPUT. Put_line (' instantiation SCN is: ' | iSCN);
    DBMS_APPLY_ADM. () SET_TABLE_INSTANTIATION_SCN
    source_object_name => ' ORDERS. ORDER_ENTRY',.
    source_database_name => ' REP102A. WORLD ',.
    instantiation_scn-online iSCN,
    apply_database_link => NULL);
    COMMIT;
    END;
    /

    BEGIN
    DBMS_APPLY_ADM. START_APPLY ('streams_apply');
    END;
    /

    -Check if apply is enabled
    SELECT apply_name, dba_apply State;

    * 9. Start capturing on source: *.

    CONNECT strmadmin/strmadmin
    BEGIN
    DBMS_CAPTURE_ADM. START_CAPTURE ('streams_capture');
    END;
    /

    * 10. Wait capture change its status of 'CAPTURER the CHANGES' and check that the status of propagation is ENABLED: *.

    CONNECT strmadmin/strmadmin
    SELECT capture_name, State FROM v$ streams_capture;
    SELECT propagation_name, dba_propagation State;

    * 11. Perform inserts in ORDERS. Table ORDER_ENTRY on the source site: *.

    CONNECT orders/orders
    INSERT INTO orders.order_entry VALUES (23450, 'Johnny Walker', 98456);
    INSERT INTO orders.order_entry VALUES (23451, "Chivas Regal", 98457);
    COMMIT;

    * 12. On the site apply, check the DELIVERY. ORDER_ENTRY and check if the data is replicated: *.

    CONNECT shipping/delivery
    SELECT * FROM shipping.order_entry;

    * 13. Check the application errors in the queue to apply: *.

    CONNECT strmadmin/strmadmin
    SELECT apply_name, local_transaction_id, error_number, error_message FROM dba_apply_error;

    Thank you
    Florent

Maybe you are looking for