Golden Gate replication query

Hi,
Is it possible to transform one row from source database into multiple rows in target database using Golden Gate?
Thanks,
Deepak

Another way is using SQLEXEC:
Suppose we have:
at source db -
create table test.wide (id number primary key, COL1 VARCHAR2(25), COL2 VARCHAR2(25), COL3 VARCHAR2(25));at target db -
create table test.thin (id number primary key, col_name VARCHAR2(10), col_value VARCHAR2(25));then in replicat params -
--Replicat group --
REPLICAT REP2
--source and target definitions
--ASSUMETARGETDEFS
SOURCEDEFS /u01/app/oracle/product/11.1.1.1.2ogg411g/dirdef/sourcedef
--target database login --
USERID ogg, PASSWORD ogg
--file for dicarded transaction --
DISCARDFILE /u01/app/oracle/product/11.1.1.1.2ogg411g/discard/rep1_discard.txt, APPEND, MEGABYTES 10
--ddl support
DDL
--Specify table mapping ---
MAP test.t1, TARGET test.t11g, COLMAP (USEDEFAULTS, VCH=@STRNUM(NM));
MAP test.CITIES, TARGET test.CITIES;
MAP test.COUNTRIES, TARGET test.COUNTRIES;
MAP test.LOBEXP, TARGET test.LOBEXP;
MAP test.wide, TARGET test.thin, COLMAP (USEDEFAULTS, COL_NAME="COL1", COL_VALUE=COL1), &
SQLEXEC (ID COL2PROC, QUERY "insert into test.thin values (:id_params+1,'COL2',:value_param)", PARAMS (id_params = id, value_param = COL2)), &
SQLEXEC (ID COL3PROC, QUERY "insert into test.thin values (:id_params+2,'COL3',:value_param)", PARAMS (id_params = id, value_param = COL3)), &
SQLEXEC (ID COL_DELE, ON DELETE, QUERY "delete from test.thin where id in (:id_params+1,:id_params+2)", PARAMS (id_params = id)), &
SQLEXEC (ID COL2UPDA, ON UPDATE, QUERY "update test.thin set col_value=:value_params where 1=:is_updated and id=:id_params+1", PARAMS (is_updated = @IF(@COLTEST(COL2,MISSING,
INVALID),0,1), value_params = COL2, id_params = id)), &
SQLEXEC (ID COL3UPDA, ON UPDATE, QUERY "update test.thin set col_value=:value_params where 1=:is_updated and id=:id_params+2", PARAMS (is_updated = @IF(@COLTEST(COL3,MISSING,
INVALID),0,1), value_params = COL3, id_params = id));
--MAP test.account, TARGET test.thin, COLMAP(USEDEFAULTS, COL_NAME='COL1', COL_VALUE=COL1);
DDLERROR 24344 DISCARD;An extractor params would be -
--extract group--
EXTRACT ext1
--connection to database--
USERID ogg, PASSWORD xxx
EXTTRAIL /u01/app/oracle/product/11.1.1.12ogg/dirdat/ss
SEQUENCE test.*
--DDL support
DDL INCLUDE MAPPED OBJNAME test.*
--DML
TABLE test.*;Works fine - just tested.
Edited by: Artem Khisamiev on 15.10.2012 4:09
Add DELETE and UPDATE DML improvements to replicat params.

Similar Messages

  • Sequence Error During Golden Gate Replication!

    Dear All,
    I am replicating 2 databases one way, from production to standby using golden gate.
    Both databases are 11gR2 and on Linux.
    Replication runs smooth for couple of days and then ends up with this error:
    ERROR OGG-01296 Error mapping from ETISLBILLING.PAR_TBLPARNODEIDENTI to ETISLBILLING.PAR_TBLPARNODEIDENTI.
    Parent Ket Not Found ETISLBILLING.FK_PARTNERNODE_IDENT
    Trigger : ETISLBILLING.TRG_PAR_TBLPARTNERNODE Sequence : SEQ_PAR_TblPartnerIdenti
    ORA-20000: Sequence value cannot be changed.
    Main error is that value of sequence that is executed during the after insert trigger, does not change and trigger raise error hence the replication process is stopped.
    I am just worried that the same triggers and sequences are executed successfully on production database and standby database has is exactly the same as production.
    Is there some special treatment for sequences?
    Kindly help on this.
    Regards, Imran

    Pl do not post duplicates - Sequence Error During Golden Gate Replication! Need Hints

  • Sequence Error During Golden Gate Replication! Need Hints

    Dear All,
    I am replicating 2 databases one way, from production to standby using golden gate.
    Both databases are 11gR2 and on Linux.
    Replication runs smooth for couple of days and then ends up with this error:
    ERROR OGG-01296 Error mapping from ETISLBILLING.PAR_TBLPARNODEIDENTI to ETISLBILLING.PAR_TBLPARNODEIDENTI.
    Parent Ket Not Found ETISLBILLING.FK_PARTNERNODE_IDENT
    Trigger : ETISLBILLING.TRG_PAR_TBLPARTNERNODE Sequence : SEQ_PAR_TblPartnerIdenti
    ORA-20000: Sequence value cannot be changed.
    Main error is that value of sequence that is executed during the after insert trigger, does not change and trigger raise error hence the replication process is stopped.
    I am just worried that the same triggers and sequences are executed successfully on production database and standby database has is exactly the same as production.
    Is there some special treatment for sequences?
    Kindly share your experience and give tips to handle this situation
    Regards, Imran

    Hi,
    Hope this helps
    Jan S.
    FROM MOS: OGG Replicat Encounters OGG-01396 OGG-00869 ORA-01400 on Primary Key Column [ID 1308824.1]
    Cause
    ==================
    from the replicat report, first this error occurs:
    WARNING OGG-01396 A complete after image is not available
    in <schema.table> at rba 123456 in file ./dirdat/yyy, while inserting
    a row into <schema.table> due to missing target row for a key update operation.
    NOCOMPRESSUPDATES or FETCHOPTIONS FETCHPKUPDATECOLS may be specified in the
    EXTRACT parameter file to include a complete image for key update operations.
    The offending record is a primary key update, ... probably the key
    <to be found at the mentioned rba 123456 in file ./dirdat/yyy> is not available on target
    if the PK is not available at target side, then this error is expected, because HANDLECOLLISIONS turns the PK update into an insert as result of no target record to update.
    The problem is that the source PK update record doesn't contain all the after image columns. That is also expected because the update record is intended to only update the affected columns.
    As a workaround use FETCHOPTIONS FETCHPKUPDATECOLS on the capture/extract side to get all the after images of the record so that when a HANDLECOLLISIONS logic kicks in, it will be
    able to successfully convert the original PK update into insert with all the after image present.
    Solution
    ==================
    First check the affected trail file yyy at RBA 123456 with logdump to verify, if the PK update does not have the complete key information as described.
    If that is the case and the target table does not have the corresponding PK entry, this issue is hit. Otherwise it is something different.
    As a workaround use
    ==================
    FETCHOPTIONS FETCHPKUPDATECOLS on the capture/extract side to get all the after images of
    the record so that when a HANDLECOLLISIONS logic kicks in, it will be
    able to successfully convert the original PK update into insert with all the after image present.

  • Golden Gate Replication

    Hi
    Can someone please tell how does the product (Golden Gate) handles the structural differences between different DBMS when distributing data?
    Any insight ?

    For statement of direction please see:
    http://www.oracle.com/technetwork/database/features/availability/312833-129009.pdf
    http://www.oracle.com/us/corporate/press/022092 (links at the bottom of page)
    As Dominik stated, GoldenGate will eventually replace both ODI CDC and Streams.
    Regards,
    -joe

  • Golden gate and Oracle 9i

    Hi, I’m wondering if there are any differences between Golden Gate replication for Oracle 10g and Oracle 9i. The reason why I’m asking is that it doesn’t seem to be any release for oracle 9i for windows, so I was thinking of using the oracle10 GG release with Oracle10g to practice replication between Oracle9 and 11gR2.
    /Regards

    Only corresponding databases having corresponding GoldenGate releases can be replicated.
    Oracle GoldenGate version 10 for Oracle 9i database
    Oracle GoldenGate version 10 for Oracle 10g database
    You cannot use "Oracle GoldenGate version 10 for Oracle 10g database" for Oracle 9i database. By doing so, you will get a library error.
    Thanks.

  • Golden gate for sybase

    I have Sybase aSE source and want to use the GOLDEN gate replication to capture the change and put it to flat file or Netezza.
    Can GOLDEN gate would be able to do this.
    Thanks

    Yes you can. See http://docs.oracle.com/cd/E14571_01/integrate.1111/e12644/ogg.htm for more details. For flatfile, use the GoldenGate extract parameter FORMATASCII. There are also other flat file formats, FORMATSQL,FORMATXML.

  • Golden Gate encryption keys

    Hi
    Version: Oracle GoldenGate V10.4.0
    I'm new in Golden Gate replication.
    I've got one task that requires protection of the encryption keys that were created by keygen command (example   $ ./keygen 128 4)  ? The encyption keys are located in the file ENCKEYS.
    Is there any procedure to protect the keys on the server?
    Thanks
    Mike
    http://oracle-base.com/forums/viewtopic.php?f=1&t=14491#wrap

    Only way I know is to chmod 600.

  • Golden Gate Sequence Value replication?

    Hi all,
    I have searched the web, and read the Golden Gate documentation but I've found mixed answers.
    I'm just trying to ascertain for certain whether it's possible to automatically replicate sequence values in a bi-directional configuration. Both databases will be identical and both will be 11gR2 with the latest version of GG.
    If it is not possible to automatically increment sequences in a bi-directional configuration, what are the best practices for maintaing them?
    One option is the alternate sequences on each database, one with even values (for example) and one with odd values, but this requires deployment of new sequences on both databases, something we were hoping would be taken care of by the replication. (yes the sequence creation can be taken care of but the value is not incremented on the target database).
    another way that we thought of off the top of our heads is to have an on insert trigger (we only use sequences to generate surrogate keys) which will select nextval from the target database via a db link, but this seems somewhat cumbersome.
    What is best practice?

    Use sequence parameter... here is from Golden gate document:
    SEQUENCE
    Valid for Extract
    Use the SEQUENCE parameter to extract sequence values from the transaction log forpropagation to a GoldenGate trail and delivery to another database. Currently, GoldenGate supports sequences for the Oracle database.
    NOTE DDL support for sequences (CREATE, ALTER, DROP, RENAME) is compatible with, but not required for, replicating sequence values. To replicate just sequence values, you do not need to install the GoldenGate DDL support environment. You can just use the SEQUENCE parameter.
    GoldenGate ensures that the values of a target sequence are:
    ● higher than the source values if the increment interval is positive
    ● lower than the source values if the increment interval is negative
    Depending on the increment direction, Replicat applies one of the following formulas as a test when it performs an insert:
    source_highwater_value + (source_cache_size * source_increment_size * source_RAC_nodes) <= target_highwater_value
    Or...
    source_highwater_value + (source_cache_size * source_increment_size * source_RAC_nodes) >= target_highwater_value
    If the formula evaluates to FALSE, the target sequence is updated to be higher than the source value (if sequences are incremented) or lower than the source value (if sequences are decremented). The target must always be ahead of, or equal to, the expression in the parentheses in the formula. For example, if the source highwater value is 40, and CACHE is 20, and the source INCREMENTBY value is 1, and there are two source RAC nodes, the target highwater value should be at least 80:
    40 + (20*1*2) <80
    If the target highwater value is less than 80, GoldenGate updates the sequence to increase the highwater value, so that the target remains ahead of the source. To get the current highwater value, perform this query:
    SELECT last_number FROM all_sequences WHERE sequence_owner=upper('SEQUENCEOWNER') AND sequence_name=upper('SEQUENCENAME');

  • Golden Gate SQL Server Replication

    Hello Friends..
    I need your help in getting some information about Golden Gate SQL Server replication. Could you guys please help me in finding an answers on how a highly transactional sql server does with clustering and replication ? How long does it take to get replica online to users ? Is there any good reading material about Golden gate sql replication? Please help

    Documentation is always a nice place to start reading:
    http://www.oracle.com/technetwork/middleware/goldengate/documentation/index.html
    Regarding replication, please take into account that DDL replication is only supported between oracle databases.
    As for your main question, it is all based on the configuration you use. If you have much going on on the source you might add replicats to process the workload in parallel
    Greetings,
    NK

  • Golden Gate query

    Hi,
    One of customer is trying golden gate and is typically looking at this usecase :
    "Is it possible to join two or more tables in source database and replicate the data to insert into one table in the destination database using Golden gate?"
    I am new to golden gate and would be helpful if somebody could help me on how to achieve this.
    It would be great if somebody could point me to some doc with an example piece of code on how to go about such usecases.
    Thanks in advance.
    Thanks and Regards,
    Anoop

    You can have, and with many tables, should have multiple process groups. GoldenGate supports up to 300 processes per instance. Each process takes around 30-50MB, the more complex the processing or operation, the more memory. Because of supplemental logging, you will see more archived redo logs, and there is slight overhead on both the database and server, but not significant.
    This information is covered in the install guide for your platform and in the admin guide.
    Documentation:
    http://www.oracle.com/technetwork/middleware/goldengate/documentation/index.html
    Tutorials:
    http://apex.oracle.com/pls/apex/f?p=44785:2:3828736166760877:FORCE_QUERY::2,CIR,RIR:P2_TAGS:Goldengate
    Edited by: stevencallan on Dec 12, 2011 8:35 AM

  • Difference between Oracle Transparent Gateway and Golden Gate

    Hi Guys
    Could you please clear the confusion, What is the difference between Transparent gateway and Golden gate? are they same? In which situation which one to use?
    Thanks in advance

    user8896122 wrote:
    >
    Satish Kandi said :
    Transparent gateways are a cross-RDBMS "querying" mechanism
    >
    So you mean if an application (designed to work with oracle only ) can actually access SQL server or DB2 without any modificaton. If i am having transparent gateway on top of DB2 or SQL server ??You caught me. I should have used different words.
    No. TG is a mechanism to query other RDBMS from Oracle. GG is a mechanism to have replication between any RDBMS.

  • Dataguard Active/Active Vs Golden gate in 11i environment

    is there any difference between setting up 11gR2 RAC + Dataguard in Active/Active mode Vs 11gR2 + DG + Golden Gate in 11i environment? Besides, are there any pros and cons in setting up one over another?
    environment: RH5.x, 11gR2, 2-node RAC, 11.5.10.2

    Data Guard with Physical Standby & Real-Time Query (Active Data Guard) is for Disaster Protection in the first place. Additionally, you can use the Standby for Reporting (Read-Only)
    Golden Gate or Streams is for Replication in the first place. You could do much more than just read-only reports. You don't need to replicate everything. You could do Multimaster-Replication. Additionally, you get some protection against damage of the source database(s).
    The question is: Do you want Disaster Protection or Replication as the most important Business Requirement.
    Kind regards
    Uwe Hesse
    http://uhesse.wordpress.com

  • Dataguard vs Golden gate

    Dear All,
    I want to know the difference between Dataguard , Active dataguard and Golden gate.
    Scenario: I want to replicate only between oracle 11g database.
    Bala:)

    Hi Bala,
    This is pretty high level but I hope this helps:
    * Data Guard
    - Ships redo logs from a source Oracle DB to target Oracle DBs (uni-directional)
    - Targets databases are not accessible for user activity
    - Both source and targets must be on the same OS platform and Oracle version
    - There is no license for this feature though of course all software installations must be licensed
    - Primary use case is for DR or standby
    * Active Data Guard - Similar as Data Guard except:
    - Ships redo logs from a source Oracle DB to target Oracle DBs (uni-directional)
    - Targets databases are accessible for querying by end users
    - Both source and targets must be on the same OS platform and Oracle version
    - Is a licensed feature ($11,500 per core list price)
    - Primary use cases are query offloading combined with DR or standby
    - Is for 11g+ databases
    * Goldengate
    - Reads redo logs and utilizes its own transaction logs for distribution to target systems
    - Heterogeneous (i.e. source and targets can be different databases such as Oracle and MySQL, platforms, and versions) and bi-directional replication
    - Replication can also be done from non-database systems such as JMS queues
    - Can also do data light transformations
    - Is a licensed feature ($17,500 per core list price), though the license also includes Active Data Guard
    - Primary use cases include process offloading, data distribution, useable standby, DR, near zero downtime migrations/patching/upgrading, replication, CDC, light weight data transformations

  • Golden Gate Between MySQL to Oracle Not stable

    Dear All,
    I have a configured replication between MySQL database and Oracle Database using Golden Gate.
    Extract data from MySQL is replicated to Oracle.
    MySQL is on Linux and version is 5.5
    Oracle is 11gR2 RAC on Linux (I am using one node for replication)
    Most of the time replication is smooth but occasionally the extract process gets ABENDED and when I try to restart it won't.
    The errors I have found in log file and report file are like this:
    From Report:
    2013-03-20 15:39:42 ERROR OGG-00542 Unexpected threading library failure. Error code 35 (Resource deadlock avoided).
    From Error Log File:
    VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Failed to Query Metadata from Table : kannel.sent_sms WHEN FAILED : While Sending Insert and Delete Record WHERE FAILED : MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>.
    2013-03-17 15:46:53 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, kannel3.prm: PROCESS ABENDING.
    2013-03-20 10:45:51 ERROR OGG-00146 Oracle GoldenGate Capture for MySQL, kannel3.prm: VAM function VAMControl returned unexpected result: error 600 - VAM Client Report <CAUSE OF FAILURE : Sanity Check Failed for events WHEN FAILED : While reading log event from binary log WHERE FAILED : MySQLBinLog Reader Module CONTEXT OF FAILURE : No Information Available!>.
    2013-03-20 10:45:51 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, kannel3.prm: PROCESS ABENDING.
    2013-03-20 15:39:42 ERROR OGG-01414 Oracle GoldenGate Capture for MySQL, kannel3.prm: CACHEMGR: tran id: 0 length memtran: 0xb44b6dd8.
    2013-03-20 15:39:42 ERROR OGG-00542 Oracle GoldenGate Capture for MySQL, kannel3.prm: Unexpected threading library failure. Error code 35 (Resource deadlock avoided).
    2013-03-20 15:39:42 ERROR OGG-01668 Oracle GoldenGate Capture for MySQL, kannel3.prm: PROCESS ABENDING.
    This is my extract param:
    EXTRACT KANNEL3
    DBOPTIONS HOST 10.168.20.241, CONNECTIONPORT 14421
    SOURCEDB [email protected]:14421, USERID "kannel", PASSWORD "kannel"
    RMTHOST 10.168.20.31, MGRPORT 7809
    RMTTRAIL /u01/app/oracle/oradata/GG/dirdat/k3
    TRANLOGOPTIONS ALTLOGDEST /root/sandboxes/multi_msb_5_5_19/node2/data/mysql-bin.index
    TABLE kannel.sent_sms;
    And this is my Replicat:
    REPLICAT KREP3
    USERID ggs_owner, PASSWORD warsaw
    ASSUMETARGETDEFS
    HANDLECOLLISIONS
    SOURCEDEFS /u01/app/oracle/oradata/GG/dirdef/kannel2.def
    DISCARDFILE /u01/app/oracle/oradata/GG/dirrpt/krep3.dsc, PURGE
    MAP "kannel.sent_sms", TARGET kannel2.sent_sms, COLMAP (usedefaults,COMPRESS_=compress,SERVICE=@STRCAT(service,"_sms"));
    However, my replicat keeps on running fine with no errors.
    I will be looking forward for your kind help in this regard.
    Regards, Imran

    I have now used the pump to configure this replication.
    I am still monitoring the situation.
    So far i have faced, one problem when i stop the extract myself, and when i try to restart it. It gets abend with no error in report or log file.
    This is in my log file:
    Host Connection: 10.168.20.241 via TCP/IP
    Protocol Version: 10
    2013-03-27 12:01:58 INFO OGG-01055 Recovery initialization completed for target file /root/sandboxes/GG/dirdat/l1000002, at RBA 546054.
    2013-03-27 12:01:58 INFO OGG-01478 Output file /root/sandboxes/GG/dirdat/l1 is using format RELEASE 10.4/11.1.
    2013-03-27 12:01:58 INFO OGG-01026 Rolling over remote file /root/sandboxes/GG/dirdat/l1000002.
    2013-03-27 12:01:58 INFO OGG-01053 Recovery completed for target file /root/sandboxes/GG/dirdat/l1000003, at RBA 1005.
    2013-03-27 12:01:58 INFO OGG-01057 Recovery completed for all targets.
    2013-03-27 12:01:58 INFO OGG-00182 VAM API running in single-threaded mode.
    2013-03-27 12:01:58 INFO OGG-01513 Positioning to Log Number: 1915444
    Record Offset: 2207.
    2013-03-27 12:01:58 INFO OGG-00975 Oracle GoldenGate Manager for MySQL, mgr.prm: EXTRACT SMPP2 starting.
    2013-03-27 12:01:58 INFO OGG-00992 Oracle GoldenGate Capture for MySQL, smpp2.prm: EXTRACT SMPP2 starting.
    2013-03-27 12:01:58 INFO OGG-00993 Oracle GoldenGate Capture for MySQL, smpp2.prm: EXTRACT SMPP2 started.
    2013-03-27 12:01:58 INFO OGG-01055 Oracle GoldenGate Capture for MySQL, smpp2.prm: Recovery initialization completed for target file /root/sandboxes/GG/dirdat/l1000002, at RBA 546054.
    2013-03-27 12:01:58 INFO OGG-01478 Oracle GoldenGate Capture for MySQL, smpp2.prm: Output file /root/sandboxes/GG/dirdat/l1 is using format RELEASE 10.4/11.1.
    2013-03-27 12:01:58 INFO OGG-01026 Oracle GoldenGate Capture for MySQL, smpp2.prm: Rolling over remote file /root/sandboxes/GG/dirdat/l1000002.
    2013-03-27 12:01:58 INFO OGG-01053 Oracle GoldenGate Capture for MySQL, smpp2.prm: Recovery completed for target file /root/sandboxes/GG/dirdat/l1000003, at RBA 1005.
    2013-03-27 12:01:58 INFO OGG-01057 Oracle GoldenGate Capture for MySQL, smpp2.prm: Recovery completed for all targets.
    2013-03-27 12:01:58 INFO OGG-00182 Oracle GoldenGate Capture for MySQL, smpp2.prm: VAM API running in single-threaded mode.
    2013-03-27 12:01:58 INFO OGG-01513 Oracle GoldenGate Capture for MySQL, smpp2.prm: Positioning to Log Number: 1915444 Record Offset: 2207.
    kindly help how to start this extract.
    Regards, Imran

  • Need Help on Joining multiple tables in Golden Gate

    Hi,
    Can you please help me with some examples on joining multiple tables in Golden Gate. i.e, my requirement is to Join Table 1 & Table 2 in Source and Load it in Target with 10 fields from Table 1 & 5 fields from Table 2 based on the join condition between Table 1.key = Table2.key
    I have been trying to do that using SQLEXEC command in Golden Gate. But, is there a way I can do this in the Extract parameter file?
    Thanks for your time
    Regards
    Suresh

    Hi,
    Thanks a lot for the prompt reply. I am able to do that for the below scenario
    Source.T1.Field1
    Source.T1.Field2
    Source.T2.Field1
    Source.T2.Field2
    Target Table
    T1.Field1, T1.Field2, T2.Field1, T2.Field2.
    But, if I already have T2.Field1 in T1 table, then T1.Field1 takes the precendence and getting loaded. i.e., I wanted to join the table 1 & Table 2 and based on the matching condition, I will need to populate the data either from T1 or T2.
    Hope you got my requirement.
    Below the Data Dump file & Replicat File.
    EXTRACT dpump
    USERID ********, PASSWORD ********
    RMTHOST *******, MGRPORT 7809
    RMTTRAIL /oracle/gg/dirdat/rt
    --PASSTHRU
    TABLE TABLE1,
    SQLEXEC (ID LOOKUP,
    QUERY "SELECT FIELD1 FROM SOURCE.TABLE2 WHERE FIELD1 = :v_field1",
    PARAMS ( v_field1 = field1 )),
    TOKENS (tk_field_1 = @GETVAL (lookup.field1));
    Replicat file
    REPLICAT repjoin
    ASSUMETARGETDEFS
    HANDLECOLLISIONS
    USERID *******, PASSWORD ********
    MAP SOURCE.T1, TARGET TARGET.GG_TABLE_T1,
    COLMAP ( USEDEFAULTS ,
    field1 = @token ("tk_party_id"));
    I eventually wanted to join like below.
    select t1.field1, t1.field2, t2.field1 from t1, t2
    where t1.field1 = t2.field1;
    Thanks for your time again
    Regards
    Suresh

Maybe you are looking for