How to synchronize tables

Hi to all,
In two schemas I have two table Table1 and Table2, very complex and with the same fields and the same records.
It's possibile update Table2 from Table1 or, better synchronize table2 with table1 ?
Thank You and Best regards
Gaetano

No. You are missing the syntax.
Here is one ->
satyaki>
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE    10.2.0.3.0      Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:00.08
satyaki>
satyaki>create table Nick_Demo
  2     as
  3       select * from emp
  4       where rownum < 5;
Table created.
Elapsed: 00:00:04.73
satyaki>
satyaki>select * from Nick_Demo;
     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
      7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
      7903                                                 1000                    10
      7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
      7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
Elapsed: 00:00:00.71
satyaki>
satyaki>
satyaki>update Nick_Demo
  2     set ename = 'Kirk'
  3     where empno = 7903;
1 row updated.
Elapsed: 00:00:01.24
satyaki>
satyaki>commit;
Commit complete.
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>select * from Nick_Demo;
     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
      7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
      7903 Kirk                                            1000                    10
      7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
      7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
Elapsed: 00:00:00.08
satyaki>
satyaki>
satyaki>
satyaki>
satyaki>
satyaki>
satyaki>merge into Nick_Demo o
  2  using emp n
  3  on ( o.empno = n.empno )
  4  when matched then
  5    update set o.ename = n.ename,
  6               o.job   = n.job,
  7               o.mgr   = n.mgr,
  8               o.hiredate = n.hiredate,
  9               o.sal = n.sal,
10               o.comm = n.comm,
11               o.deptno = n.deptno
12  when not matched then
13    insert(o.ename,o.job) values(n.ename,n.job);
14 rows merged.
Elapsed: 00:00:00.57
satyaki>
satyaki>select * from Nick_Demo;
     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
      7777 SOURAV     SLS                  14-SEP-08      45000       3400         10
      7903                                                 1000                    10
      7499 Travor     SALESMAN        7698 20-FEB-81       1600        300         30
      7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
           TURNER     SALESMAN
           KING       PRESIDENT
           CLARK      MANAGER
           MARTIN     SALESMAN
           SCOTT      ANALYST
           BLAKE      MANAGER
           JONES      MANAGER
     EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
           FORD       ANALYST
           ADAMS      CLERK
           JAMES      CLERK
14 rows selected.
Elapsed: 00:00:00.16Regards.
Satyaki De.

Similar Messages

  • How to synchronize between DHCP binding table and DHCP snooping table ?

    I clear DHCP snooping table with command "clear ip dhcp snooping binding " , and PC can't communicate with other any more. So how to synchronize between DHCP binding table and DHCP snooping table ?
    dhcp-test#sh ip dhcp bind
    IP address Client-ID/ Lease expiration Type
    Hardware address
    99.1.65.32 0100.1125.353c.25 Mar 02 1993 01:05 AM Automatic
    99.1.65.33 0100.1438.059f.85 Mar 02 1993 12:01 AM Automatic
    dhcp-test#sh ip dhcp snooping binding
    MacAddress IpAddress Lease(sec) Type VLAN Interface
    Total number of bindings: 0
    thanks!

    ip dhcp snooping binding mac-address vlan vlan-id ip-address interface interface-id expiry seconds
    Add binding entries to the DHCP snooping binding database. The vlan-id range is from 1 to 4904. The seconds range is from 1 to 4294967295.
    Enter the above command for each entry that you add
    To delete the database agent or binding file, use the no ip dhcp snooping database interface configuration command. To reset the timeout or delay values, use the ip dhcp snooping database timeout seconds or the ip dhcp snooping database write-delay seconds global configuration command.To renew the database, use the renew ip dhcp snooping database privileged EXEC command.

  • How to synchronize records

    Hi,
    I have created a Master form & Detail table. In this the detail table fields few of those I have kept in the table and some I have dragged it outside the table.
    Now when I try to navigate between detailed records, the value of columns which I have put outside the table are not changing.
    My question is how to synchronize these values. I remember I have done similar thing few months back , didn't remember exactly now.
    Tried adding the table name to partial trigger without any success.
    Any help
    TIA

    Hi ,
    Thanks for the reply .
    I am using Jdev 11.1.1.5
    I am trying to create a form where master block is dept form and detail table is emp.
    I have create BC based on these tables and I have dragged on to jspx page.
    Now for some columns from emp I want to display it separately from the table . So i have created a panelgrouplayout and on that I have put these columns beside the table.
    Now the value for these columns are displayed but when I move to records in the table to the values on the panelgrouplayout are not changing. These are based on the same VO(empvo).
    If i dont use any layouts then its working fine, but I need to format the display for that I need to have a layout as well.
    How can I do that please advise.
    thanks

  • How to synchronize objects

    Hi All,
    I have a report which shows count of various objects in a report.
    These objects are coming from different data providers i.e. Universes and Stored Procedure.
    Now, the problem is, report is showing proper count for the objects which are coming from Universes, but its showing wrong count for the objects that are coming from Stored Procedures.
    So, anyone has any idea how to synchronize these objects coming from different data providers i.e. Universes and Stored Procedure ?
    Thanks in advance.

    Hi Harshad,
    Could you please review the  following simulation if the issue is according to the below mentioned information then test the solution.
    Requirements:
    1. Report X based on two blocks A and B issued from two data providers A and B.
    2. Data provider A based on an stored procedure A providing a dimension A (DimensionA displaying figures with a NUMERIC TYPE).
    Block A
    Column A
    1
    2
    10
    5
    3. Data provider B based on a universe B and a dimension B with a CHARACTER TYPE.
    Block B
    Column B
    8
    9
    11
    25
    To synchronize the dimensions A and B the idea is to turn the NUMERIC TYPE of the dimension A into a CHARACTER TYPE as the B one.
    As the type of the dimension A cannot be changed within a report, the idea is to export the stored procedure storing the table A and the column A to an Access database as a table A.
    Inside Access the column A having a NUMERIC TYPE can be turned into a CHARACTER TYPE.
    The following step is to insert into a universe A the table A and its column A to create a dimension A.
    Having a CHARACTER TYPE the dimension A can be linked to the data provider B containing the dimension B
    STEPS
    1. Import the table A from stored procedure within an Access database A as table A.
    2.Turn the type of the stored procedure numeric field into Access as a CHARACTER TYPE.
    3. Create a universe A based on the access table A.
    4. Open the report X.
    5. Insert a table on the universe A, and select the table A.
    6. Open the micro cube.
    7. Start the synchronization between the objects A and B.
    As the objects A and B have the same CHARACTER TYPE. These objects can be successfully synchronized.
    I hope this will help you.
    Regards,
    Sarbhjeet Kaur

  • How get all table name from database

    hi master
    sir
    how get all table name from database

    The big question is 'why'.
    Selecting from view 'dba_tables' will indeed give the list of all tables in the database, but that includes the dictionary tables and the internal tables, and many others that are probably not of interet to a person who needs to ask this question. Besides, the dba_tables view requires access to a DBA account.
    There are several other views: "user_tables" will list all the tables in this user's schema; and "all_tables" will list all the tables this user can access in some way.
    The above do not, of course, include any information about synonyms, sequences, views, indexes and so on.
    The correct answer and the meaningful answer may be two different things.

  • How to synchronize PI service registry and IBM WSRR

    Hello All,
    In our current project we have developed one web service which resides in SAP CE and is registered in SAP PI Service Registry.
    But our client has IBM websphere that acts as a middleware for all ther services (interfaces/web services)
    Now, I need to understand how to synchronize SAP PI Service Registry with IBM WSRR (Websphere Services Registry and Repository)
    What are the steps/configurations need to be performed at PI end and IBM WSRR end?
    Appreciate your help in this matter.
    Thanks,
    Shriram.

    Hi,
    Refer the below links i think it will be helpful.
    Configuring a central Services Registry:
    http://help.sap.com/saphelp_nwce711/helpdata/en/47/d391d7b8fc3c83e10000000a42189c/frameset.htm
    You can also use the Wizard based configuration: http://help.sap.com/saphelp_nwce711/helpdata/en/f7/6182bd68434595ba5105a0a346efcc/frameset.htm
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00985388-6748-2c10-0d83-f17c3e768a8b&overridelayout=true
    Regards,
    Sudha S.

  • How to move table from one tablespace to other tablespace?

    how to move table from one tablespace to other tablespace?

    887274 wrote:
    how to move table from one tablespace to other tablespace?
    alter table <table_name> move  tablespace <new_tablespace_name>;
    Rebuild the indexes; alter index <index_name> rebuild <new_tablespace_name> online;Example;:
    SQL> create table ttt( ID NUMBER PRimary key);
    Table created.
    SQL> insert into ttt values (1);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL> alter table ttt move tablespace users;
    Table altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 UNUSABLE
    SQL> alter index SYS_C0010863 rebuild tablespace users online;
    Index altered.
    SQL> select index_name, status  from dba_indexes where table_name='TTT';
    INDEX_NAME                 STATUS
    SYS_C0010863                 VALID
    SQL>

  • How to use Table valued MSSQL  function in OBIEE

    Hi all,
    Can some one help me to understand how to use table valued function in OBIEE? I want to use a table valued function (MSSQL function, with some input parameter), in the physical layer to pull the data?
    I know for MSSQL Stored Procedure we can write as
    EXEC SP_NAME @Parameter = 'VLUEOF(NQ_SESSION.Variablename)'
    but now I have a table valued function in the query window I can get the data as
    select * from myfunction(parametervalue)
    In physical layer of OBIEE I have tried as
    select * from myfunction('VLUEOF(NQ_SESSION.Variablename)'), but I'm getting error as the NQ_SESSION variable doesn't have a value , but actually I have initialized the variable but still Im getting error.
    Can some one help me to solve this.
    Thanks,
    Mithun

    Follow this link and try yourself. let me know for issues
    Substring instr issue in obiee
    Appreciate if you mark
    Edited by: Srini VEERAVALLI on Feb 20, 2013 8:13 AM

  • How to add table in SAP Non interactive forms in webdynpro java

    Hi Experts,
    I have a requirement in webdynpro java.I have a print button.On clicking print button a pdf will be opened.
    This pdf will have data from the webdynpro view.I want to know how to add table in the adobe pdf.The webdynpro view will have many rows of table(rows will keep changing as per the size of the data output).How to send this data to adobe.How do we bind the node to the table in the adobe.How to automatically
    Please suggest.
    Thanks,
    Rajani
    Edited by: Rajani Nandagiri on Dec 26, 2008 8:58 AM

    Rajani,
    Take a look at below links, it will help you.
    [Handling Dynamic Length Tables in Adobe Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0859ad1-53aa-2a10-78ae-99e41c407669]
    [Integrate tables & Images in Adobe Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/dynamic%20non-interactive%20pdf%20form.pdf]
    [How to Handle Table Input and Output|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/7.0/adobe/how%20to%20handle%20table%20input%20and%20output.pdf]
    [How Tou2026deal with Table input and display in Interactive Forms|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00c4041d-188d-2910-6ea2-b4d5155f56e0]
    Chintan

  • How to get table headers in jsp page

    hi,
    this is praveen, can any one help me to solve this problem.
    how to get table headers in a jsp page. whether it is possible using javascript or is there any other way.
    pls send rep.
    thank u.

    Hai ,
    I Think  This will help ful for u check it ,
    File=new FileLog("f:/WebServiceTrace/trace2.%g.log", 800000, 10,                                        new  TraceFormatter());
    The above code specifies the path for your log file.
    Then add this file as a log location and then log the traces. For this you can use the following code like:
    Location location=Location.getLocation(className);
              location.addLog(file);
              location.setEffectiveSeverity(Severity.ALL);
              location.entering(methodName);
    To Create j2ee apllication
    In path new-j2ee-jsp to create JSP's can only be used for J2EE applications.
    So as you are using this in Portal Application, this does not work.
    You can test this bahavior by creating a new Web Application (New-Project-J2EE-Web Module Project)
    In this Web Module Project, try creating JSP, this will work.
    So dont use new-j2ee-jsp to create JSP in Portal Application instead use New-File and name the file as jsp.
    Regards ,
    venkat

  • How to find table name for the fields from Standard Extractor in CRM system

    How to find table name of fields from the standard extractor in CRM system ?
    e.g. We use LBWE TCode in R/3 system to find table name for the field from Extractor VCSCL(e.g.).
    Likewise is there any way to find table name for the fields from Standard extractor like 0CRM_LEAD_I.

    Hi ,
    Please find the link below for understanding BW CRM analysis.
    http://help.sap.com/bp_biv135/html/bw.htm
    activate the CRM DSs by scenario:
    1) Activate the application component hierarchy (tcode RSA9). Changes made to the application component hierarchy in the CRM system can be transferred to the BW using the "Edit Application Component Hierarchy" (SBIW - Postprocessing of DataSources).
    SAP Note 434886 must be implemented in CRM 3.0 before the application component hierarchy is activated.
    2) Activate the Business Content DataSources (tcode RSA5).
    Select/enter the application component and choose Execute (F8).
    To compare the shipped and active versions, choose the 'Select Delta' pushbutton. If there is no active version of the DataSource, it is selected automatically.
    To activate the shipped version, choose the 'Transfer DataSources' pushbutton.
    3) Management of the versions of the BW-Adapter metadata (tcode BWA5). All DataSources are displayed that are managed by the BW Adapter.
    As in transaction RSA5 (Service API Metadata Activation), the 'Select Delta' function can be used to select the inactive DataSources or compare shipped and active versions.
    You can also go directly to the screen for maintaining DataSources that are managed by the BW Adapter.
    The 'Compare Version' function makes a detailed comparison of the shipped and active versions.
    All BW-Adapter metadata is considered when versions are compared:
    Header information (Table SMOXHEAD)
    Mapping information (Table SMOXRELP)
    Global selection conditions (Table SMOXGSEL)
    Attribute key fields (Table SMOXAFLD)
    Hope this helps.
    Regards,
    csm reddy

  • How to implement table in applet

    hi friends
    i have no idea ,how to implement tables in awt for applet can u suggest way to solve my problem.im using jcreator to implement my project.

    Crosspost: http://forum.java.sun.com/thread.jspa?threadID=783376
    You already got plenty of answers. Why do you ask again? Didn't you like the answers?

  • How to relocate table in new tablespace in Oracle 8i

    Hi all
    I would like to know how to relocate table from one tablespace to another tablespace in Oracle 8i. Currently, I create new table without data in new tablespace and then load data from old table in old tablespace. However, I think it is not efficient at all. Could anyone kindly advise any method to proceed it
    Thanks

    Nick has pointed out the best way to relocate a table. With the alter table move command you do not have to worry about FK or any other kind of constraints, table triggers, or grants. They all remain in place. You just need to rebuild the indexes as Nick pointed out.
    There were some restrictions on the types of tables that could be moved with alter table move when the command first was introduced. I think LOB columns were unsupported at first. The old exp/imp had to be used for those cases.
    HTH -- Mark D Powell --

  • How to compare table in different versions?

    Hi,
    Please let me know how to comare table fields in different versions?
    Ex: I need to compare the table fields of version 4.5 with ECC6.0.
    Thank you.

    Hi,
      goto Se11 Transaction -> enter table -> display.
    Utilities ->Version -> version management
    now click on remote comparison -> enter target system.
    Regards
    Kiran Sure

  • How to display table in smartforms

    hai
    I want to display the output in table.. how to set table.. I tried with the display framed framed patterns but its not working.. is that right method?? pls give suggestion

    Hi
    Yes,you can display the contents of the output using tables.
    Refer these links:
    Tables in Smartforms
    drawing a table in smartforms.
    passing tables in smartforms
    Drawing table in smartforms
    Creating Tables in Smartforms
    Regards,
    Sravanthi

Maybe you are looking for

  • Dynamic Query to display a page of records at a time

    I need some help creating procedure with a dynamic query that will query a table and pass out a certain number of records (like records 101 - 200 of 20,000). This procedure will receive the column names, table name, where clause, page number and numb

  • RUSH HELP!! Use button to "go to" a certain page within a document

    I need to do something like a hyperlink to take me to a certain page within my adobe document I have added buttons but I dont know what scripting to use to "call" the page that I need. I have a long document and do not want the end user to have to sc

  • Sony TV + Creative Soundworks Megaworks 250D 2.1 THX Speakers = HUM

    I have a Sony KV29-LS60 TV. This TV has an audio out. When I have the TV connected to my Creative Soundworks Megaworks 250D 2.1 THX speakers, i can hear the sound, but there is also a loud hum coming from the speakers. When i connect my DVD player to

  • GL Account 86000000 set as P&L.

    Hello Gurus, FI : While performing yearend rollover, 86000000 (TECHNICAL ACCOUNT u2013 INVESTMENTS) account shows in Retained Earning as this account is  setup as P&L Account in master data but we eliminate this account when reporting. We only take 1

  • Order status - REg

    Hi, I have an issue as an order is fully delivered and invoiced, but accounting document status is shown as not cleared and order status is shown as being processed instead of complete and reference status in order is showing as not referenced. We do