Would it be faster to use a trigger or modify the insert query?

We have a table that currently has latitude, longitude columns and are trying to decide what route to go as far as adding spatial data to future records. A spatial index will be placed on the new column.
There appear to be 3 solutions:
1 Create a materialized view which creates the spatial column based on the current latitude and longitude columns.
2 Create a trigger on the table that will populate the new spatial column on insert/update.
3 Modify the code to insert a spatial value into the new spatial column.
Due to the nature of the data we are not willing to use method 1.
What we are trying to figure out is which method, 2 or 3, will insert faster.
Has anyone done tests to determine if an insert with a spatial object is slower than an insert on a table with a trigger that creates a spatial object?
Thanks,
Pat

Pat,
Note that you don't need to store latitude, longitude in sdo_geometry type in order to spatially index it. Instead you can create a function that returns an sdo_geometry based on two numeric columns, then create a function based index on that. Its described here:
http://download.oracle.com/docs/cd/E11882_01/appdev.112/e11830/sdo_exten.htm#i1005799
Also note that in the sdo_geometry type, you need to define the data as longitude/latitude and not the other way around.
If you do want to create a column with sdo_geometry column, I'd recommend your third option. As a general principle I avoid triggers unless absolutely necessary. Triggers invariably lead to confusion when you (or someone else) revisits this code in the future. Also the change of context between and SQL and PL/SQL has a performance hit. Here's a simple test:
SQL> CREATE TABLE long_lat_no_trigger (
  2     geometry                SDO_GEOMETRY);
Table created.
SQL>
SQL> CREATE TABLE long_lat_with_trigger (
  2     longitude               NUMBER,
  3     latitude                NUMBER,
  4     geometry                SDO_GEOMETRY);
Table created.
SQL>
SQL> CREATE OR REPLACE TRIGGER long_lat_to_geometry
  2  BEFORE INSERT ON long_lat_with_trigger FOR EACH ROW
  3  DECLARE
  4  BEGIN
  5     :new.geometry := SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(
  6     :new.longitude, :new.latitude, NULL), NULL, NULL);
  7  END;
  8  /
Trigger created.
SQL>
SQL> SET TIMING ON
SQL> INSERT INTO long_lat_no_trigger (geometry) (
  2     SELECT
  3     SDO_GEOMETRY(2001, 8307, SDO_POINT_TYPE(
  4     dbms_random.value(0,180), dbms_random.value(0,90),
  5     NULL), NULL, NULL)
  6     FROM DUAL
  7     CONNECT BY LEVEL <= 1000000);
1000000 rows created.
Elapsed: 00:00:31.96
SQL>
SQL> INSERT INTO long_lat_with_trigger (longitude, latitude) (
  2     SELECT
  3     dbms_random.value(0,180),
  4     dbms_random.value(0,90)
  5     FROM DUAL
  6     CONNECT BY LEVEL <= 1000000);
1000000 rows created.
Elapsed: 00:01:21.15Cheers,
John

Similar Messages

  • Does a Insert trigger fire when the insert is committed?

    I'm curious, does a Insert trigger fire when the insert is committed? If you could point to an article as well that would be great !
    Thanks,
    Dman780

    Its depends of FOR | AFTER
    FOR | AFTER
    AFTER specifies that the DML trigger is fired only when all operations specified in the triggering SQL statement have executed successfully. All referential cascade actions and constraint checks also must succeed before this trigger fires.
    AFTER is the default when FOR is the only keyword specified.
    AFTER triggers cannot be defined on views.
    For mor information : http://technet.microsoft.com/en-us/library/ms189799.aspx

  • How to use a calculated column in the same query

    Hi All,
    I need some help with using a calculated column in the same query.
    For eq
    I am joining a couple of tables and some of the select columns are calculated based on the columns of the tables and i want a new column in the same query to use this calculated feild in some other calcualtion.
    something like this...
    select (12+3) as Sum1, (12-3) as Sum2, (Sum1 + Sum2 ) as Sum3
    from dual
    or
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( "Sum1" / "Sum2" * 100 > 0 ) THEN 'Yes' ELSE 'No' END
    from dual
    Thanks

    user548171 wrote:
    select (12+3) as Sum1, (12-3) as Sum2, (Sum1 + Sum2 ) as Sum3
    from dual
    or
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( "Sum1" / "Sum2" * 100 > 0 ) THEN 'Yes' ELSE 'No' END
    from dual
    ThanksWhat about just repeating the column values:
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( (12+3) / (12-3)  * 100  > 0 )  THEN 'Yes' ELSE 'No'  END FROM DUAL

  • How to retrieve multiple columns using "returning" in the Insert query.

    hi,
    wanted to know how to retrieve multiple columns using "returning" in the Insert Query.
    For retrieving one column we write the query as follows:
    Insert into TABLE values(1,2,3,4) returning COLUMN1 into PARAMETER
    But can we retrive multiple columns in the same query?
    am using oracle 10g and coding in .NET

    Hi,
    You can definetely get multiple values from a single query using the 'returning' clause.
    Eg : insert into emp (empno, ename, job, deptno) values (7324,'ADAM','MARKETING',30) returning ename, deptno into var1, var2; PN : var1 & var2 to be declared as varchar2 & number respectively.
    More insight into the 'RETURNING' clause in this link.
    http://www.samoratech.com/PLSQL/swArtPLSQLReturn.htm
    Regards,
    Bhanu.

  • OPEN CURSOR using a WITH clause in the select query

    Hi,
    I am using Oracle 9i. I have a requirement where I have a REFCURSOR as an OUT parameter for my procedure. I have declared the TYPE and created the procedure.
    In the procedure, I am using OPEN <cursor_name> FOR <query>;
    Ideally this works in most of the cases that I have tried earlier. However, in the current case I am using a WITH clause in my query to get the results.
    I need help in understanding if the above mentioned syntax would not allow me to use the WITH clause in the query.

    What error do you get , seems to work ok for me on 10g
    SQL> begin
      2  open :cv for 'with x as (select * from emp)  select * from x';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print :cv
         EMPNO
    ENAME
    JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7521
    WARD
    SALESMAN        7698 22-FEB-81       1250        500         30
          7566
    JONES
    MANAGER         7839 02-APR-81       2975                    20
         EMPNO

  • Using case when statement in the select query to create physical table

    Hello,
    I have a requirement where in I have to execute a case when statement with a session variable while creating a physical table using a select query. let me explain with an example.
    I have a physical table based on a select table with one column.
    SELECT 'VALUEOF(NQ_SESSION.NAME_PARAMETER)' AS NAME_PARAMETER FROM DUAL. Let me call this table as the NAME_PARAMETER table.
    I also have a customer table.
    In my dashboard that has two pages, Page 1 contains a table with the customer table with column navigation to my second dashboard page.
    In my second dashboard page I created a dashboard report based on NAME_PARAMETER table and a prompt based on customer table that sets the NAME_ PARAMETER request variable.
    EXECUTION
    When i click on a particular customer, the prompt sets the variable NAME_PARAMETER and the NAME_PARAMETER table shows the appropriate customer.
    everything works as expected. YE!!
    Now i created another table called NAME_PARAMETER1 with a little modification to the earlier table. the query is as follows.
    SELECT CASE WHEN 'VALUEOF(NQ_SESSION.NAME_PARAMETER)'='Customer 1' THEN 'TEST_MART1' ELSE TEST_MART2' END AS NAME_PARAMETER
    FROM DUAL
    Now I pull in this table into the second dashboard page along with the NAME_PARAMETER table report.
    surprisingly, NAME_PARAMETER table report executes as is, but the other report based on the NAME_PARAMETER1 table fails with the following error.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 16001] ODBC error state: S1000 code: 1756 message: [Oracle][ODBC][Ora]ORA-01756: quoted string not properly terminated. [nQSError: 16014] SQL statement preparation failed. (HY000)
    SQL Issued: SET VARIABLE NAME_PARAMETER='Novartis';SELECT NAME_PARAMETER.NAME_PARAMETER saw_0 FROM POC_ONE_DOT_TWO ORDER BY saw_0
    If anyone has any explanation to this error and how we can achieve the same, please help.
    Thanks.

    Hello,
    Updates :) sorry.. the error was a stupid one.. I resolved and I got stuck at my next step.
    I am creating a physical table using a select query. But I am trying to obtain the name of the table dynamically.
    Here is what I am trying to do. the select query of the physical table is as follows.
    SELECT CUSTOMER_ID AS CUSTOMER_ID, CUSTOMER_NAME AS CUSTOMER_NAME FROM 'VALUEOF(NQ_SESSION.SCHEMA_NAME)'.CUSTOMER.
    The idea behind this is to obtain the data from the same table from different schemas dynamically based on what a session variable. Please let me know if there is a way to achieve this, if not please let me know if this can be achieved in any other method in OBIEE.
    Thanks.

  • How to use a Formula Column in the main query?

    Hi All,
    I've tried to use a formula columns defined in some query in the condition of that query like this:
    where (:cf_ex - :cf_ex2) >= 5
    but when I run the report no data returned! Why? and how to use it the condition of the query?
    Note: I'm using Forms 6i

    where (:cf_ex - :cf_ex2) >= 5You cannot do that. Formula columns are not part of the select statement (which runs in the database), but are processed in the report.
    When you created this query, my guess is that you got the message "Note: the query Q1 has created the bind parameter(s) cf_ex, cf_ex2". Check these User Parameters in your data model. So, you are actually referencing user parameters in the query, not formula columns.
    I made a computations and things using PL/SQL that can't be done in the select statement in the data model!If it's pl/sql you can probably use that in your query. Create some database functions for cf_ex and cf_ex2 and use these in your query.

  • Can i insert doc/pdf/excel file to table using the INSERT query ?

    Hi,
    can i insert doc or pdf file to table by using INSERT query like we can insert char/numeric values by using INSERT query. But how how can i pass my word file that is placed at some location of my file system ?Is this possible ?

    EdStevens wrote:
    user12222356 wrote:
    Hi,
    can i insert doc or pdf file to table by using INSERT query like we can insert char/numeric values by using INSERT query. But how how can i pass my word file that is placed at some location of my file system ?Is this possible ?I've never worked with blobs, so don't know if this is the best way or not, but at least it is a starting point.
    (Hint: It was the first hit that came up when I googled "how to insert blob into oracle table")
    http://arjudba.blogspot.com/2008/06/how-to-insert-blob-dataimage-video-into.html
    Did not understood this very first statement:
    1)Create Directory Where BLOB resides.
    create or replace directory temp as '/oradata2';what is its purpose?

  • Using lag and rank in the same query

    Hi
    I am trying to find out the difference in time between peoples memberships and also the order that these memberships are taken out in. So far I have added in a rank statement to work out the order the memberships were created in, but now want to look at the difference between the dates returned. The SQL I used is:
    SELECT owner_party_id,
    mem_number,
    support_id,
    mem_start_date,
    RANK() OVER (PARTITION BY owner_party_id ORDER BY mem_start_date ASC) MEMBERSHIP_SEQUENCE
    FROM membership_all
    WHERE version_type = 'CUR'
    AND owner_party_id IN ('65051', '65051', '65348', '65348', '65607', '65607', '65607')
    to get:
    "OWNER_PARTY_ID"|"MEM_NUMBER"|"SUPPORT_ID"|"MEM_START_DATE"|"MEMBERSHIP_SEQUENCE"
    65051|318874751|8014747|01-MAR-10|1
    65051|412311060|21502883|15-AUG-12|2
    65348|308672459|3526913|01-MAY-10|1
    65348|409951130|20950524|18-JUN-12|2
    65607|315830192|7510133|17-MAY-10|1
    65607|406448110|20024246|16-MAR-12|2
    65607|409738130|20903556|14-JUN-12|3
    Now I would like to calculate the difference between the start dates of each of the owner_party_id groups, so to get something like this:
    OWNER_PARTY_ID|MEM_NUMBER     |SUPPORT_ID|MEM_START_DATE     |MEMBERSHIP_SEQUENCE|Diff
    65051|318874751|8014747|01-Mar-10|1|     
    65051|412311060|21502883|15-Aug-12|2|898
    65348|308672459|3526913|01-May-10|1     
    65348|409951130|20950524|18-Jun-12|2|779
    65607|315830192|7510133|17-May-10|1     
    65607|406448110|20024246|16-Mar-12|2|669
    65607|409738130|20903556|14-Jun-12|3|90
    I think that I need to use the Lag function in, but I am not too sure if it can be linkited to look at the data within a grouping of owner party id, as it would make no sense to calculate the difference in dates for two different owner party ids.
    Any advice much appreciated.
    Thanks
    Edited by: 992871 on 09-Mar-2013 23:34

    Couple notes:
    1. You wrote you want to get order that these memberships are taken out in, however, both your and Etbin's queries calculate order within each owner_party_id and not across all members. If you want to get rank and difference in time regardless of member's owner_party_id remove PARTITION BY caluse.
    2. You might want to use DENSE_RANK and not RANK depending how you want to display rank. If two people joined at the same time and were second in rank, analytic RANK will be:
    RANK
    1
    2
    2
    4
    5
    .while DENSE_RANK:
    DENSE_RANK
    1
    2
    2
    3
    4
    .SY.

  • Using a Variable to create the SQL Query

    I need to create a "dynamic" Update query. I want to store
    the meet of the command in a variable and then reference the
    variable in in query.
    Example:
    <cfquery name="fred" datasource="mydb">
    update db_table_name set
    pbname = 'Fred Flintstone',
    pbnumber = '555-555-1234'
    pbage = 25
    where recnum = 24
    </cfquery>
    I would like use code this:
    <cfset upst = "pbname = 'Fred Flintstone', pbnumber =
    '555-555-1234', pbage = 25">
    <cfquery name="fred" datasource="mydb">
    update db_table_name set
    #upst#
    where recnum = 24
    </cfquery>
    When I run this, I get the following error message:
    Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Syntax error
    (missing operator) in query expression ''Fred Flintstone''.
    The SQL line is:
    update db_table_name set pbname = ''Fred Flintstone'',
    pbnumber = ''555-555-1234'', pbage = 25 where recnum = 24
    I know its hard to see, but the '' are 2 ' not 1 " . I have
    no idea why Coldfusion (or maybe the ODBC driver??) is placing the
    2nd ' in the command which causes the errors.
    Can anyone shed some light on this topic?
    While this is a simple example, my application is far more
    complex. I have over 50 fields in the udpate and depending on
    changes to the form values, I may need to update all the fields,
    some of the fields or NONE of the fields.
    I can use <cfif> to test if any fields have changed and
    if so, include them in the update command, but if NONE of the
    fields have changed, I would have an empty update command and
    therefore get an error. I want to avoid having to test for changes
    twice (once to determine if I am doing the update and twice to
    perform the update).
    Thanks,
    Mike.

    cf automatically escapes the single quotes, so you need to
    preserve them
    <cfquery name="fred" datasource="mydb">
    update db_table_name set
    #PreserveSingleQuotes(upst)#
    where recnum = 24
    </cfquery>
    Ken

  • Using/calling  a parameter in the SQL Query!

    Hi
    How do I use or call a parameter from the parameterform in my SQL query in Reports ??
    Thanks in advange *S
    /Stig :-)

    If you have user parameters of P_BEGINDATE and P_ENDDATE, in your query you would reference them by the following:
    FROM auditlog
    WHERE (eventtimestamp between :P_BEGINDATE and :P_ENDDATE
    or :P_BEGINDATE IS NULL)
    If you are using the report through Oracle Applications Concurrent Manager make sure the Token (when setting up parameters for the concurrent program)matches the user parameter exactly.
    - Rob

  • Is it possible in firefox to close a browser window/tab using java script without modifying the configuration settings? If YES, please let me know.

    Requirement: On click of button, I want the browser window to be closed.
    Solution: I am calling below java script on "onClick()" event of button.
    function close_window()
    window.close()
    This works in internet explorer but not in Mozilla Firefox. What is the reason behind it. Is there any way out to close the browser window in Mozilla Firefox?

    Can you post a link to a page that opens a pop-up window where a close button doesn't work?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Use java.util.Date in the JMX query

    Hello All
    Anybody know How to write JMX query for finding InstanceObject by attribute that has java.lang.Date type
    Best regards

    Just refer to each class explicitly, through a fully qualified class name as:
    java.util.Date myDate = new java.util.Date();

  • Insert query is using parallel mode

    Hi All,
    Insert query is running against below tables. It is using Parallelism as the below explain shows.
    Execution Plan
    Id  Operation  Name  Rows  Bytes  Cost (%CPU) Time  TQ  IN-OUT PQ Distrib 
    0  INSERT STATEMENT        779K(100)        
    1     LOAD TABLE CONVENTIONAL                 
    2       PX COORDINATOR                 
    3         PX SEND QC (RANDOM)  :TQ10002  4116K 443M 779K (0) 999:59:59  Q1,02  P->S  QC (RAND) 
    4           HASH JOIN ANTI BUFFERED   4116K 443M 779K (0) 999:59:59  Q1,02  PCWP   
    5             BUFFER SORT            Q1,02  PCWC   
    6               PX RECEIVE    4116K 235M 36221 (0) 758:17:06  Q1,02  PCWP   
    7                 PX SEND HASH  :TQ10000  4116K 235M 36221 (0) 758:17:06    S->P  HASH 
    8                   TABLE ACCESS FULL  GL_POSTING_INTERIM_50123  4116K 235M 36221 (0) 758:17:06       
    9             PX RECEIVE    471M 23G 742K (0) 999:59:59  Q1,02  PCWP   
    10               PX SEND HASH  :TQ10001  471M 23G 742K (0) 999:59:59  Q1,01  P->P  HASH 
    11                 PX BLOCK ITERATOR    471M 23G 742K (0) 999:59:59  Q1,01  PCWC   
    12                   TABLE ACCESS FULL  GL_BALANCES  471M 23G 742K (0) 999:59:59  Q1,01  PCWP    WE are not using any parallel hint again all the tables in the insert query.
    Environment details.
    DB version - 11.2.0.1
    OS version - IBM AIX 6.1
    Please let me know why query is going for parallelism automatically as i am not using any parallel hint or any auto parallel.
    NAME                                 TYPE        VALUE
    fast_start_parallel_rollback         string      FALSE
    parallel_adaptive_multi_user         boolean     TRUE
    parallel_automatic_tuning            boolean     FALSE
    parallel_degree_limit                string      CPU
    parallel_degree_policy               string      MANUAL
    parallel_execution_message_size      integer     16384
    parallel_force_local                 boolean     FALSE
    parallel_instance_group              string
    parallel_io_cap_enabled              boolean     FALSE
    parallel_max_servers                 integer     8
    parallel_min_percent                 integer     0
    NAME                                 TYPE        VALUE
    parallel_min_servers                 integer     0
    parallel_min_time_threshold          string      AUTO
    parallel_server                      boolean     FALSE
    parallel_server_instances            integer     1
    parallel_servers_target              integer     64
    parallel_threads_per_cpu             integer     2
    recovery_parallelism                 integer     0Please suggest.
    Thanks

    That will depend on the query and whether it decides to use parallel or not. Having PARALLEL_AUTOMATIC_TUNING set to FALSE does not disable parallel query in your database. Unless you are talking about some other parameter when you say "parallel auto is manual"?
    Here is a worked example. Note my parallel settings at the end:
    create table rj_test (id number(10), name varchar2(20));
    exec dbms_stats.set_table_stats(ownname=>'SYS',tabname=>'RJ_TEST',numrows=>'1000000',numblks=>'10000');
    SQL> explain plan for
      2  select id, count(*)
      3  from rj_test
      4  group by id;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3757798270
    | Id  | Operation          | Name    | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |         |  1000K|    12M|  1058  (12)| 00:00:06 |
    |   1 |  HASH GROUP BY     |         |  1000K|    12M|  1058  (12)| 00:00:06 |
    |   2 |   TABLE ACCESS FULL| RJ_TEST |  1000K|    12M|   962   (3)| 00:00:05 |
    9 rows selected.
    SQL> select degree from user_tables where table_name = 'RJ_TEST';
    DEGREE
             1
    SQL> alter table rj_test parallel (degree 8);
    Table altered.
    SQL> explain plan for
      2  select id, count(*)
      3  from rj_test
      4  group by id;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    SQL> set lines 120
    SQL> set pages 1000
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2739002282
    | Id  | Operation                | Name     | Rows  | Bytes | Cost (%CPU)| Time     |    TQ  |IN-OUT| PQ Distrib |
    |   0 | SELECT STATEMENT         |          |  1000K|    12M|   145  (11)| 00:00:01 |        |      |            |
    |   1 |  PX COORDINATOR          |          |       |       |            |          |        |      |            |
    |   2 |   PX SEND QC (RANDOM)    | :TQ10001 |  1000K|    12M|   145  (11)| 00:00:01 |  Q1,01 | P->S | QC (RAND)  |
    |   3 |    HASH GROUP BY         |          |  1000K|    12M|   145  (11)| 00:00:01 |  Q1,01 | PCWP |            |
    |   4 |     PX RECEIVE           |          |  1000K|    12M|   145  (11)| 00:00:01 |  Q1,01 | PCWP |            |
    |   5 |      PX SEND HASH        | :TQ10000 |  1000K|    12M|   145  (11)| 00:00:01 |  Q1,00 | P->P | HASH       |
    |   6 |       HASH GROUP BY      |          |  1000K|    12M|   145  (11)| 00:00:01 |  Q1,00 | PCWP |            |
    |   7 |        PX BLOCK ITERATOR |          |  1000K|    12M|   133   (3)| 00:00:01 |  Q1,00 | PCWC |            |
    |   8 |         TABLE ACCESS FULL| RJ_TEST  |  1000K|    12M|   133   (3)| 00:00:01 |  Q1,00 | PCWP |            |
    15 rows selected.
    SQL> show parameter parallel
    NAME                                 TYPE        VALUE
    fast_start_parallel_rollback         string      LOW
    parallel_adaptive_multi_user         boolean     TRUE
    parallel_automatic_tuning            boolean     FALSE
    parallel_degree_limit                string      CPU
    parallel_degree_policy               string      MANUAL
    parallel_execution_message_size      integer     16384
    parallel_force_local                 boolean     FALSE
    parallel_instance_group              string
    parallel_io_cap_enabled              boolean     FALSE
    parallel_max_servers                 integer     16
    parallel_min_percent                 integer     0
    parallel_min_servers                 integer     1
    parallel_min_time_threshold          string      AUTO
    parallel_server                      boolean     FALSE
    parallel_server_instances            integer     1
    parallel_servers_target              integer     16
    parallel_threads_per_cpu             integer     2
    recovery_parallelism                 integer     0
    SQL>

  • What kind of database the SSMA uses to store metadata in the file named "source-metabase.mb" ?

    What kind of database the SSMA uses to store metadata in the file named "source-metabase.mb" ?
    I'm looking for the method to open the file and add 'cutom migration script' (some automatization).

    Hi Poman.Pokrovskij,
    When you generate SSMA Assessment Report, there are several files created and saved into Report folder under your SSMA project folder. It includes
    source-metabase.mb, project-container.mappings, preferences.prefs, and so on.
    . MD files are usually saved in plain text format including inline text symbols, defining how a text is formatted such as the indentations, its table formatting, fonts, and headers.
    SSMA provides a project setting that allow you to customize how to set customized database migration. For example, to customize data migration SQL statement, you can modify project setting by navigating to Tools and choosing Project Settings,
    then looking for the setting for
    Extended Data Migration Options and change the value to
    Show. You can select use custom select and modify the SQL statement.
    For more information about SSMA for Oracle, you can review the following articles.How To Perform Incremental Data Migration Using SSMA:
    http://blogs.msdn.com/b/ssma/archive/2010/10/04/how-to-perform-incremental-data-migration-using-ssma.aspx
    Using SSMA Project Setting to Customize Database Migration:
    http://blogs.msdn.com/b/ssma/archive/2011/03/16/using-ssma-project-setting-to-customize-database-migration.aspx?Redirected=true
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

Maybe you are looking for

  • HT4527 Itunes music transfer on one computer

    hello on my home computer I have two separate log in's, one for myself and one for another person,  is there any way to put the iTunes music from one log in to the other through the computer?

  • Error while doing risk analysis for a user

    Hi , When i did risk analysis at user level for a particular user we are getting this error under level  ."Exception!!. No relavent language message available in database for :0292".I had reuploaded the the messages text file but still the error pers

  • PHP errors in flex

    I have an application in PHP and I'm using Flex for the front. I was wondering how I could transfer information about errors to flex from php. So, the questions I am asking are: What does Flex's HTTPService consider a fault? Is there a way to write a

  • Reboot my z10 with original

    I have downloaded the blackberry 10.3.1 os it has reboot in my BlackBerry z10 then my phone is slow and some apps are missing those are file manager and galary and music app video apps missing so please tell us how to rebooting with original OS in in

  • Deplyoment Error

    Guys I am getting this error whenever I am deplyoing Web Dynpro application on WAS 640 , Guys can you help me out <i><b>Caught exception while checking the login credentials for SAP J2EE Engine. Check whether the SAP J2EE Engine is up and running. co