Equivalent of Oracle DB record Simple of Transaction in SQL Server mode?

G ' Day Experts!

I was wondering not if Oracle DB has the functional equivalent of the 'simple' operation logging available in SQL Server?

It would be available at the level of the schema, or it should be the entirety of an instance?

I ask because the WebCenter Interaction portal and related services has no practical use for point-in-time restores. The Portal uses the discrete event borders which unfortunately do not map in the relational world.

Thank you!
Rob in Vermont

Plumtree says:
G ' Day Experts!

I was wondering not if Oracle DB has the functional equivalent of the 'simple' operation logging available in SQL Server?

It would be available at the level of the schema, or it should be the entirety of an instance?

I ask because the WebCenter Interaction portal and related services has no practical use for point-in-time restores. The Portal uses the discrete event borders which unfortunately do not map in the relational world.

Thank you!
Rob in Vermont

Hi Rob

I guess that you are referring to the model simple recovery , IE lose everything since the last backup. Oracle, which is equivalent to running a database in NOARCHIVELOG mode. It applies to the database rather than the instance, even if you were intending probably to database when you said instance.

Niall Litchfield
http://www.orawin.info/

Tags: Database

Similar Questions

  • Often quick book hangs for a very long time, when it is updated transactions in SQL Server

    Original title:

    SQLServer

    We have a network running MS Windows Server 2008 Standard R2.  We also have QuickBooks Enterprise V12 multiuser.  I understand that QB is running on a version of SQL Server.  Often it hangs for a very long time, when it is updated to the transactions (there are only 2 users and we rarely data at the same time).  If the problem be helped if we are running SQL server on the server?  Or maybe that we run already?

    Ask the question in the SQL Server forums:
    http://social.msdn.Microsoft.com/forums/SQLServer/en-us/home?category=SQLServer

    or in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Oracle pack data masking works with MS SQL Server?

    And if so, other required OEM packs (i.e. MS SQL Server plug-ins for monitoring system)?

    TIA

    I don't think that it supports MS SQL Server. Perhaps you could look into the Oracle transparent gateways for MS SQL Server. Perhaps in combination it might work.

    Best regards
    Martin
    www.ora-solutions.NET

  • Load the BLOB column in Oracle to an Image column in MS SQL Server

    Hello
    I have an Oracle table as the source and a MS SQL Server table as a target. A blob column (4000) in the source is mapped to a column (2147483647) Image in the target.
    Execution will give me the error message "* java.lang.NumberFormatException: for the input string:"4294967295"*"when it comes to step 'load the data into the staging of table' '.
    The LKM that I use is LKM SQL for MSSQL.

    I also tried LKM SQL for MSSQL (BULK), LKM SQL for SQL (jython), LKM SQL for SQL. None of them are useful.

    Impossible, someone tell me how to fix this 4294967295? Thank you very much

    Hi Yang,

    Oracle recommends the setting of the 'get_lob_precision' false flag to avoid this error.

    For this,.

    1. make a backup of your ODIPARAM. BAT file.
    2. open ODIPARAM. BAT file and add the following line.

    Set ODI_ADDITIONAL_JAVA_OPTIONS = % ODI_ADDITIONAL_JAVA_OPTIONS % ""-Doracledatabasemetadata.get_lob_precision = false ' "

    Next to

    Set ODI_ADDITIONAL_JAVA_OPTIONS = ""-Djava.security.policy = server.policy ' "

    PS:If, the parameter is defined, the result "ODI_ADDITIONAL_JAVA_OPTIONS" ("SNP_ADDITIONAL_JAVA_OPTIONS" or "SNP_JAVA_OPTIONS") should be similar to the foregoing.

    Restart the ODI and try.

    Thank you
    G

  • SQL Server 2005 to Oracle Migration

    Dear friends,

    I scoured many websites on migration, and I have a few options in hand.

    1 - oracle Workbench: does not support SQL Server more
    2 - SQL Developer: has not worked for me (he gave a lot of mistakes, I didn't know how to fix)
    3 - dblink: what used for migration?
    4. I can try to generate text files in sql server and using loaded sql I should load into oracle.
    5 experiment some features in sql server to convert it into another format.

    Advice me please if you know which is the best option among all or if there are other ways to handle them.

    I need only the tables and records.

    Please guide me.

    Thank you.

    Nith

    Sorry Nith, I have no practical experience on the Golden Gate.

  • Ongoing replication of the selected tables from Oracle to SQL Server

    Hi all

    How can we replicate selected tables to Oracle 11 g for SQL Server 2008/2012?

    Is GoldenGate the only option

    No matter who did it before or have the steps to do it?

    Thank you

    Define "replicate".

    If you have no budget, you can open a connection directly from SQL Server to Oracle, or vice versa. In Oracle, they are called links DB; in SQL Server, they are called "linked servers".

    Datanamic also have tools that claim to do the cross-DB replication. I have no experience with them and is not an endorsement - I know they exist.

  • connect ms sql server to oracle using db link


    Hello

    Source: Oracle 11g on linux

    destination: ms sql server 2005

    I need to create the link oracle to ms sql server db to display tables, it is posibble without having to configure gateways (as it looks like it is produced under license)

    Please let me know any alternative to achieve this

    Thank you

    PMP

    There are 2 bridge - commercial database gateway for Ms SQl Server, which requires a license and database for ODBC gateway which is free. The license for DG4ODBC is included in your license data. You just need to install an ODBC driver on your Linux machine (for example, to use the MS SQl Server for Linux ODBC driver - details can be found here: http://www.microsoft.com/en-gb/download/details.aspx?id=36437 ). and then configure the gateway using the My Oracle Support Note:

    How to set up DG4ODBC on 64-bit Unix OS (Linux, Solaris, AIX, HP - UX Itanium) to connect to Oracle databases Post Install [Article ID 561033.1]

    -Klaus

  • Loading data from Oracle to MS SQL SERVER

    Hello

    Source: Oracle
    Target: MS SQL
    ODI:11 g


    I want to create an interface that loads the data from the source table in Oracle in the target table in MS SQL Server. Can any body tell me what LKM, IKM and CKM I use for the same.

    Any help will be appreciated.

    I thank you,
    Shrinivas

    Hi gisele, you can follow below KMs

    1 LKM SQL for SQL

    2 CKM ORACLE

    3 IKM SQL Incremntal update (Insert and update) / IKM SQL command APpend (insert only)

    It will be useful.

    Thank you

  • OPENXML, sp_xml_preparedocument and sp_xml_removedocument equivalent to Oracle

    Hello

    I've stored in MSSQL, that must be translated to Oracle.

    MS in MSSQL

    CREATE PROCEDURE [dbo]. [pptChnlGrpChnl_d_xml]

    "@xmlOptinChannel nvarchar (max) - < TeamProfile > < UserProfile = companyTeamID" "userID =" "/ > < / TeamProfile >


    AS

    DECLARE @docid int

    DECLARE table (@TableOptins)

    OptinChannelGroupID int,

    ChannelID int

    )


    EXEC Sp_xml_preparedocument @docid OUT, @xmlOptinChannel

    -Populate a temporary table with records of user (s) for removal

    INSERT INTO @TableOptins (OptinChannelGroupID, ChannelID)

    SELECT tm. OptinChannelGroupID, tm. ChannelID

    OF OPENXML (@docid, "/ GroupChannels/GroupProfile")

    WITH (int OptinChannelGroupID,

    Int ChannelID) tm

    EXEC sp_xml_removedocument @docid

    Return 0

    Any suggestion?

    Oracle uses an object of type "XMLTYPE" appointed to represent an instance of XML document (or fragment) in the database.

    An instance of XMLType can be built on a file pointer (BFILE), a BLOB, a CLOB or VARCHAR2 variable or column using the corresponding XMLType constructor.

    In recent versions, Oracle recommends to use the XMLParse SQL function when dealing with an input XML string.

    If the nearest equivalent to the call to sp_xml_preparedocument and sp_xml_removedocument would simply use the XMLType constructor, or the above function.

    OPEN_XML more close 'equivalent' in Oracle's SQL/XML XMLTABLE standard function, which offers many more rich because it is based on the XQuery language.

    In your case:

    select x.OptinChannelGroupID
         , x.ChannelID
    from xmltable('/GroupChannels/GroupProfile'
           passing xmlparse(document p_input_xml)
           columns OptinChannelGroupID integer path '@OptinChannelGroupID'
                 , ChannelID           integer path '@ChannelID'
         ) x
    ;
    
  • equivalent of CLRSplitSting function for sql server Oracle

    Hello friends,

    I have a query in SQL Server - which becomes data.

    Select addl_info_id, sort_seq, code, row_data, addl_info_group_id, group_sort_seq, group_row_data from dbo. CLRSplitString('2406081,2410381,2427008,2430449,2466981,2495083,1586420,2406081,2410381,2427008,2430449,2466981,2495083,1586420','',',') x v join ein_addl_info_v on x.col1 = v.addl_info_id order by sort_seq
    We have same data in oracle too, so I converted the query above to sql to ORACLE like this server...


    Select addl_info_id, sort_seq, code, row_data, addl_info_group_id, group_sort_seq, group_row_data from (with t as)
    Select '2406081,2410381,2427008,2430449,2466981,2495083,1586420,2406081,2410381,2427008,2430449,2466981,2495083,1586420', ",","double str
    Select regexp_substr(str,'[^,]+',1,level) sub_str *) t connect by level < = regexp_count (str, ',') + 1) x *.

    Join cnh_cs_targ_csce_eur_1.ein_addl_info_v v x.sub_str = v.addl_info_id order of sort_seq


    but I don't get all the data. Can someone check if the query oracle above is equivalent to the above SQL query.

    Thank you/Kumar

    Published by: kumar73 on February 15, 2013 08:47

    So your query:

    select  addl_info_id,
            sort_seq,
            code,
            row_data,
            addl_info_group_id,
            group_sort_seq,
            group_row_data
      from      xmltable(
                         'ora:tokenize($str,",")'
                         passing ',2406081,2410381,2427008,2430449,2466981,2495083,1586420,2406081,2410381,2427008,2430449,2466981,2495083,1586420' as "str"
                         columns col1 varchar2(2000) path '.'
                        ) x
            join
                ein_addl_info_v v
              on x.col1 = v.addl_info_id
      order by sort_seq
    /
    

    SY.

  • SQL Server WaitFor Delay ' 00:00:15 ' equivalent in Oracle

    Does anyone know of an equivalent of the SQL Server SQL command WaitFor Delay ' 00:00:15 ' equivalent in SQL Oracle?

    Good, but I would say that if you do not understand WHY you wait 15 seconds then there is no need to wait 15 seconds.

    After all, it costs money ONCE to write a customization, it costs money to infinity to run bad code every day...

    Here's the code to put your DB in a useless loop.

    The exact time it will take depends on how quickly your database, so increase the number of zeros for scale at the break you want.

    select max(level)
    from    dual
    connect by level <= 1000000
    
  • Oracle, equivalent to the SQL SERVER CLRClipString function

    Hello friends,

    I am running the following sql query in SQL SERVER successfully...

    Select * from
    CLRSplitString ('33, 54, 105, 148, 149, 163, 165, 179, 193, 195, 201, 202, 234, 239, 279, 282, 297, 299, 329, 332, 350, 415, 417, 439, 440, 500, 552, 570, 589, 603, 628, 655', ", ',') x
    Join dbo. PART_ADDL_INFO_NAMES_V v x.col1 = v.addl_info_name_id

    I would like to implement the same ORACLE sql statement.

    I created the function that takes the comma-separated string and display as a single column... I want emerging in oracle as a sql statement...


    create or replace function str2tbl
    (p_str in varchar2)
    p_delim in varchar2 default '.')
    return myTableType
    as
    long l_str p_str default. p_delim;
    number of l_n;
    myTableType l_data: = myTabletype();
    Start
    loop
    l_n: = instr (l_str, p_delim);
    When the output (nvl(l_n,0) = 0);
    l_data.extend;
    l_data (l_data.count): = ltrim (rtrim (substr(l_str,1,l_n-1)));
    l_str: = substr (l_str, l_n + length (p_delim));
    end loop;
    L_data return;
    end;
    /

    DECLARE
    v_array mytabletype;
    BEGIN
    v_array: = str2tbl ('10.01.03.04.234');
    BECAUSE me in 1... v_array. COUNTING LOOP
    DBMS_OUTPUT. Put_line (v_array (i));
    END LOOP;
    END;
    /
    10
    01
    03
    04
    234


    appreciate your help...

    Thank you

    If you need to split a single string:

    with t as (
               select '33,54,105,148,149,163,165,179,193,195,201,202,234,239,279,282,297,299,329,332,350,415,417,439,440,500,552,570,589,603,628,655' str from dual
              )
    select  regexp_substr(str,'[^,]+',1,level) sub_str
      from  t
      connect by level <= regexp_count(str,',') + 1
    /
    
    SUB_STR
    -------------------
    33
    54
    105
    148
    149
    163
    165
    179
    193
    195
    201
    
    SUB_STR
    -------------------
    202
    234
    239
    279
    282
    297
    299
    329
    332
    350
    415
    
    SUB_STR
    -------------------
    417
    439
    440
    500
    552
    570
    589
    603
    628
    655
    
    32 rows selected.
    
    SQL> 
    

    SY.
    PS REGEXP_COUNT is available in 11g only. If you are using 10g:

    with t as (
               select '33,54,105,148,149,163,165,179,193,195,201,202,234,239,279,282,297,299,329,332,350,415,417,439,440,500,552,570,589,603,628,655' str from dual
              )
    select  regexp_substr(str,'[^,]+',1,level) sub_str
      from  t
      connect by level <= length(regexp_replace(str,'[^,]')) + 1
    /
    
  • Need help to write to Oracle and SQL Server in the Oracle triggering

    We have a third which feeds data for us. Their client application feeds directly to some source tables in our Oracle database 10g. We have triggers on those tables that sort and treat lines as they come.

    We have a new operation and try to write some of these incoming data now to a SQL Server database through heterogeneous services - essentially the same exact data in two databases. I have a related database that works very well for the selection, but I've never tried to write Oracle PL/SQL to write in a DB SQL Server 2008. My first attempt was met with the following error: "ORA-02047: impossible to join the current distributed transaction.

    I found another thread where they say that the only way to do it is by using a stand-alone transaction, but they do not give an example. Here is the section of relaxation that I use:
      select to_char(new_date,'MM-DD-YYYY') into sql_txt from dual;
      insert into mancamp_location@sqlweb
           ("UnitID", "ManCampID", "Lat", "Long", "UpdateDT", "VehSpeed", "VehDirection", "Landmark")
        values (v_truck, f_unit, f_lat, f_long, sql_txt, f_spd, f_dir, f_ldmk);
    Can someone point me to a way to accomplish this simple insertion?

    An example of a standalone trigger is:

    Suppose you have a table in Oracle:

    CREATE TABLE emp_sal
    (
    EMPNO NUMBER 4,
    SAL NUMBER (7.2));

    and a similar table in a SQL server:
    SQL Server:

    CREATE TABLE emp_sal
    (
    EMPNO NUMERIC (4).
    SAL NUMERIC (7.2));

    Then, you can create an insert trigger that replicates the data:
    CREATE OR REPLACE TRIGGER dg4odbc_repl AFTER INSERT ON emp_sal
    FOR EACH LINE
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    INSERT INTO 'emp_sal"@MSODBCSQLSERVER_DG4ODBC_EMGTW_1123_DB '.
    VALUES (: new.empno,: new.sal);
    COMMIT;
    END;
    /

    -Note the validation, otherwise risk of ORA-6519

    When you now insert a record into the Oracle database:
    insert into emp_sal values (1234, '1200,89');
    the trigger is activated and inserts the record in SQL Server:
    Select * from 'emp_sal"@MSODBCSQLSERVER_DG4ODBC_EMGTW_1123_DB;
    EMPNO, SAL
    ----- -------
    1234 1200.89

    It works fine when you post data insert, but as soon as restore you the insert only data Oracle will be cancelled - data will remain as long as the independent transaction dedicated to its SQL Server insert:

    insert into emp_sal values (1384, '1200,89');
    Rollback;
    Select * from emp_sal;
    EMPNO, SAL
    ----- -------
    1234 1200.89

    Select * from 'emp_sal"@MSODBCSQLSERVER_DG4ODBC_EMGTW_1123_DB;
    EMPNO, SAL
    ----- -------
    1234 1200.89
    1384 1200.89

    So I strongly recommend to use the DG4MSQL gateway which is able to participate in distributed transactions and allows validation/restore transactions.

    DG4ODBC lie on OTN (http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html-online check out the "See all" link for your favorite platform), cloud of delivery of software Oracle (https://edelivery.oracle.com/) or "My Oracle Support". My Oracle support welcomes the latest version 11.2.0.3. In My Oracle Support goto patches and updates, then search for 11.2.0.3 data set Patch 10404530patch: 11.2.0.3.0 PATCH SET for ORACLE database SERVER, choose your preferred platform and see the Readme which CD contains the gateway software.

    Published by: kgronau on April 24, 2012 08:44

  • filling of datetime column SQL Server with the data in the date column oracle

    After a lot of "finangling", I think I have my link dg4msql works well between Oracle and MSSQL.

    Now, what I'm trying to do, is fill a table in MSSQL with an Oracle table column values, whenever a new row is inserted in the Oracle table. I use a very simple trigger on the oracle table that goes basically like this:

    mware is dblink to MSSQL database, oracle col worth DATE and mssql col is of type DATETIME

    This is the relaxation: (edited to show only the column in question)
    ==================================================================================
    CREATE or replace TRIGGER < oracleowner >. INSERT_INTO_NVDB
    AFTER INSERT ON < oracleowner >. < oracletable > for each row
    BEGIN
    insert into '< mssqlowner > '. «< mssqltable > @mware «»
    (
    "load_date_time,"
    )
    VALUES)
    : new.loading_date,.
    );

    END;
    ==================================================================================

    Now, when you enter a record in the Oracle trigger triggers ok table but does not insert a date in the MSSQL table, the 'load_date_time' in the mssql table can have NULL values so I guess there just inserts a null value.

    When I activate the triggers on the table MSSQL, which then takes these values and inserts them into another table with values from other tables, inserting in the Oracle table fails because the relaxation on the MSSQL database tries to pass the date (which is empty) table MSSQL in another table where the datetime field is not null.

    I guess it's because Oracle date format is not compatible with MSSQL, which I think is "yyyy-mm-dd hh: mm:"- so I have to either convert the date format by default Oracle to match a MSSQL, or convert a char of the trigger value. (The developer of the side MSSQL says if I can convert it to a char value that should be ok too)

    I think that it is probably better to leave it in the date format, the best way to do this would be to put an "alter session set nls_date_format ="at the beginning of the trigger?

    Can I convert the date to char the trigger easily? If there is a better way to proceed in the way I approach it I'm all for it.

    Thank you!

    Hello
    Your best option is to explicitly convert dates Oracle in a format recognized by SQL * Server. It's more coding, but then you know exactly what is being inserted and you give more control, if anything changes. You can also code to handle null data.
    I'm not sure than to try to change the format of date to 'alter session... ". "do what you want.
    You can use "to_char" on a date into character data-

    To_char (, "HH24:MI:SSxFF of MON-DD-YYYY")

    and use any mask format supported.
    You also use 'to_date' to transform the character data in a date format, as well as 'to_char' and 'to_date' in combination.
    For example -.

    SELECT TO_CHAR (TO_DATE (October 27, 98 ',' DD-MON-RR'), 'YYYY') 'Year' FROM DUAL;

    This is all discussed in the documentation-

    Oracle® database
    SQL language reference
    11g Release 2 (11.2)

    where it also describes the different format masks.
    If you need further assistance on the use of to_date, to_char formats then ask in the forum SQL/PLSQL.

    SQL and PL/SQL

    where they have more experience.

    Kind regards
    Mike

  • DB link from oracle to sql server

    Hi all

    Which is the easiest way to connect to sql server from oracle database? Require a separate permit? It's 11.1.0.7 on RHEL 5.7, 64 bit.

    Kind regards

    Vinod

    Hello

    There is a simple example using the 'free' method described here Ed

    http://dbaharrison.blogspot.co.UK/2014/12/Oracle-talking-to-SQL-Server-over.html

    See you soon,.

    Rich

Maybe you are looking for