Slooooow Append Query

I have an append query that takes over an hour to run (which is fine), but when I use vba and call this append query it will never run.  I have 3 of these that are very similar.  Here is the query itself.  
The select version of this query takes approx 3 min to run
INSERT INTO CosiTemp ( Reg, <Group #>, Dist, Store, <Eligible Items>, <Plans Sold>, <Power Plus Success Rate>, <Power Plus Rank>, ppIndex, ppPotentialSales, <Power Plus Sales $>, <Trans w/A>, <Trans W/ A & B>, <Add-On Success Rate>, <Add-On Rank>, <Add-OnSales $>, aoIndex, aoPotentialSales, <Trans w/ Iotm>, <Units Sold>, <All Trans>, <IotM Sales $>, <Units Per Trans>, <IotM Rank>, ioIndex, ioPotentialSales, <Culture Of Selling Index>, <Additional Sales Potential>, dteDate, City, ST, <Open Date> )SELECT tblMainStoreList.Region, tblMainStoreList.<Group #>, tblMainStoreList.District, tblMainStoreList.<Store #>, pp.numOfItemsTrans, pp.numOfWarrantyTrans, <pp>.<numOfWarrantyTrans>/<pp>.<numOfItemsTrans> AS <Success Rate>, (select Count(*) from <qryPowerPlusStores> where <Success Rate> >= <pp>.<Success Rate> and <pp>!<District>= <District>;) AS ppRank, CDbl(IIf(<Success Rate>="","",<Success Rate>/perPowerPlus())) AS ppIndex, IIf(<ppIndex><1,((<numOfItemsTrans>*perPowerPlus())-<numOfWarrantyTrans>)*curPPCompanySales(),0) AS ppPotentialSales, pp.curPowerPlusSales, ao.SumofA, ao.Sumofb, ao.<Percent%>, (select Count(*) from <qryAddOnSummaryStores> where <Percent%> >= <ao>.<percent%> and <ao>!<District>= <District>;) AS aoRank, ao.<SumofSales$>, CDbl(IIf(<Percent%>="","",<Percent%>/perAddOn())) AS aoIndex, IIf(<aoIndex><1,((<sumofA>*perAddOn())-<sumofb>)*curAoCompanySales(),0) AS aoPotentialSales, io.SumOftrxwIotM, io.<SumOfSales Units>, io.TransCount, io.<SumOfSales$>, io.UnitsPerTrans, (select Count(*) from <qryIotmFromIotmDb> where <UnitsPerTrans> >= <io>.<unitsPerTrans> and <io>!<Districtt>= <Districtt>;) AS ioRank, CDbl(IIf(<unitsPerTrans>="","",<unitsPerTrans>/perIotM())) AS ioIndex, IIf(<ioIndex><1,((<TransCount>*perIotM())-<sumofsales Units>)*curIotMCompanySales(),0) AS ioPotentialSales, IIf(IsNull(<ppIndex>) And IsNull(<aoIndex>) And IsNull(<ioIndex>),0,(Nz(<ppIndex>)+Nz(<aoIndex>)+Nz(<ioIndex>)))/(IIf(IsNull(<ppIndex>),0,1)+IIf(IsNull(<aoIndex>),0,1)+IIf(IsNull(<ioIndex>),0,1)) AS Cosi, <ppPotentialSales>+<aoPotentialSales>+<ioPotentialSales> AS ttlPotSales, Date() AS Expr1, tblMainStoreList.City, tblMainStoreList.ST, tblMainStoreList.<Open Date>FROM qryIotmFromIotmDb AS io INNER JOIN (qryAddOnSummaryStores AS ao INNER JOIN (qryPowerPlusStores AS pp INNER JOIN tblMainStoreList ON pp.<Store> = tblMainStoreList.<Store #>) ON ao.Store = tblMainStoreList.<Store #>) ON io.<Store No> = tblMainStoreList.<Store #>;
I have also set Use Transaction to No in the query properties.  
Thanks in advance for the help!!

As msdnPublicIdentity has suggested, reformulate your query as a series of "subqueries". To get you going, peel things out of your
queries, starting from the inside
INSERT INTO
CosiTemp(
Reg,
[Group #],
Dist,
Store,
[Eligible Items],
[Plans Sold],
[Power Plus Success Rate],
[Power Plus Rank],
ppIndex,
ppPotentialSales,
[Power Plus Sales $],
[Trans w/A],
[Trans W/ A & B],
[Add-On Success Rate],
[Add-On Rank],
[Add-OnSales $],
aoIndex,
aoPotentialSales,
[Trans w/ Iotm],
[Units Sold],
[All Trans],
[IotM Sales $],
[Units Per Trans],
[IotM Rank],
ioIndex,
ioPotentialSales,
[Culture Of Selling Index],
[Additional Sales Potential],
dteDate,
City,
ST,
[Open Date]
SELECT
tblMainStoreList.Region,
tblMainStoreList.[Group #],
tblMainStoreList.District,
tblMainStoreList.[Store #],
pp.numOfItemsTrans,
pp.numOfWarrantyTrans,
[pp].[numOfWarrantyTrans] / [pp].[numOfItemsTrans] AS [Success Rate],
select
Count(*)
from
[qryPowerPlusStores]
where
[Success Rate] >= [pp].[Success Rate]
AND
[pp]![District] = [District]
) AS ppRank,
CDbl(IIf([Success Rate] = "", "", [Success Rate] / perPowerPlus())) AS ppIndex,
IIf([ppIndex] < 1,(([numOfItemsTrans] * perPowerPlus()) - [numOfWarrantyTrans]) * curPPCompanySales(), 0) AS ppPotentialSales,
pp.curPowerPlusSales,
ao.SumofA,
ao.Sumofb,
ao.[Percent%],
select
Count(*)
from
[qryAddOnSummaryStores]
where
[Percent%] >= [ao].[percent%]
AND
[ao]![District] = [District]
) AS aoRank,
ao.[SumofSales$],
CDbl(IIf([Percent%] = "", "", [Percent%] / perAddOn())) AS aoIndex,
IIf([aoIndex] < 1,(([sumofA] * perAddOn()) - [sumofb]) * curAoCompanySales(), 0) AS aoPotentialSales,
io.SumOftrxwIotM,
io.[SumOfSales Units],
io.TransCount,
io.[SumOfSales$],
io.UnitsPerTrans,
select
Count(*)
from
[qryIotmFromIotmDb]
where
[UnitsPerTrans] >= [io].[unitsPerTrans]
AND
[io]![Districtt] = [Districtt]
) AS ioRank,
CDbl(IIf([unitsPerTrans] = "", "", [unitsPerTrans] / perIotM())) AS ioIndex,
IIf([ioIndex] < 1,(([TransCount] * perIotM()) - [sumofsales Units]) * curIotMCompanySales(), 0) AS ioPotentialSales,
IIf(IsNull([ppIndex])
And IsNull([aoIndex])
And IsNull([ioIndex]), 0,(Nz([ppIndex]) + Nz([aoIndex]) + Nz([ioIndex]))) /(IIf(IsNull([ppIndex]), 0, 1) + IIf(IsNull([aoIndex]), 0, 1) + IIf(IsNull([ioIndex]), 0, 1)) AS Cosi,
[ppPotentialSales] + [aoPotentialSales] + [ioPotentialSales] AS ttlPotSales,
Date() AS Expr1,
tblMainStoreList.City,
tblMainStoreList.ST,
tblMainStoreList.[Open Date]
FROM
qryIotmFromIotmDb AS io
INNER JOIN
(qryAddOnSummaryStores AS ao
INNER JOIN
(qryPowerPlusStores AS pp
INNER JOIN tblMainStoreList
ON pp.[Store] = tblMainStoreList.[Store #]
ON ao.Store = tblMainStoreList.[Store #]
ON io.[Store No] = tblMainStoreList.[Store #]
peter n roth - http://PNR1.com, Maybe some useful stuff

Similar Messages

  • Append Query with multi values

    I am attempting to append information into a new database. The old project information has some fields that are multi-value. Apparently an append query cannot handle this. Is there a way I can over come this?

    Hi
    >>Apparently an append query cannot handle this
    Have you got some error? What's the problem you have encountered? Could you please show the sql you are using or share a sample to reproduce this ?
    If you're adding a value to your multi-valued field, you can us an append query like this,
    Insert into table (FieldName.value) values (value)
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Help needed in - appending query string

    Hai All,
    Its very Urgent for me.Can anyone pls tell me how can I do the following.
    I want the query String of first page to be appended to the next following pages also.

    u want first page URL to second page or page data?

  • Can an asterisk be used in an Append Query or some other way?

    Hi friends,
    Is there anyway to merge two or more tables reflecting the view with all the columns in such a way that similar ones are used ones and additional ones also included in a way other than using the Columns names being literally typed?
    As an example table for month of January includes Columns:
    Customer_ID     Customer_Name     Customer_Cell_No
    While the table for month of Feb includes Columns:
    Customer_ID     Customer_Name     Customer_Cell_No     Customer_Email
    and the March table contains:
    Customer_ID     Customer_Name     Customer_Email     Customer_City
    Can a view be created to reflect as:
    Customer_ID     Customer_Name     Customer_Cell_No     Customer_Email     Customer_City
    Without actually typing all the fields for different tables?
    Got monthly tables for Jan 2013 to Jun 2014 being somehow inconsistent with 40 to 50 different but some similar fields
    Thanks in advance.
    Best Regards, Faraz A Qureshi

    Hi kalam, 
    Maybe I did not understood correctly, but I understand that he want to get the columns names dynamically, am I wrong? did you understood differently?
    "Without actually typing all the fields for different tables?"
    * If each table was with different columns then using simple query like this will do the job:
    select * from t1
    FULL OUTER JOIN t2 on 1=2
    but if there is a column C which is in both tables then in this solution you will get it twice. Therefore there is need another step or to build the columns names dynamically.
    for example if he have this DDL+DML
    create table t1 (x1 int, x2 int,c int)
    create table t2 (y1 int, y2 int, y3 int,c int)
    GO
    insert t1 values (1,1,6),(1,2,6),(1,3,6),(1,4,6)
    insert t2 values (11,11,33,6),(11,12,33,6),(11,13,33,6),(11,14,33,6)
    GO
    then the result should be (without using the column's names in the query):
    x1 x2 c y1 y2 y3
    1 1 6 NULL NULL NULL
    1 2 6 NULL NULL NULL
    1 3 6 NULL NULL NULL
    1 4 6 NULL NULL NULL
    NULL NULL 6 11 11 33
    NULL NULL 6 11 12 33
    NULL NULL 6 11 13 33
    NULL NULL 6 11 14 33
    FARAZ
    A QURESHI, Is this not what you are trying to get?
    am I right that you want to get it without using any column name?
    [Personal Site] [Blog] [Facebook]

  • URL-Rewriting or append query string in URL

    Hi
    I have one other quetion related to my project I am working and need to finish tonight.
    I read one table in first JSP and want to send one column, eventname to the other JSP. Can I use URL-rewriting. I need to keep the event name thruoghout too.
    Is this syntax correct..
    Please help me !!!

    Syntax is:
    <a href="ListEvents.jsp?event=eventname">Click me</a>In the JSP, there are two things you may need to do when generating the link.
    1. Encode the URL - this is needed if any arguments (in this case "eventname") might include spaces or special characters.
    2. Apply URL rewriting info if this may be needed. This will add "&JSESSIONID=xxxxx" if required.
    <%
    String link = "ListEvents.jsp?event=" + getEventName();  // or whatever gets the event name
    link = java.util.URLEncode.encode(s,"UTF-8");    // encode the event name data
    link = response.encodeURL(link);                      // add the session id if URL rewriting in use
    %>
    <a href="<%=link%>">Click Me</a>The event name is retrieved using request.getParameter("event")

  • Order of a Append Query?

    I am trying to get  QryNoZeroUpdateFliltered to filter OwnerID  before my Dues function is called, is this possible. Thanks for any help........Bob
    INSERT INTO tblOverdue ( OwnerID, ThreeMonths0, TwoMonths0, OneMonth0, Current0, ThreeMonth, TwoMonth, OneMonth, Currents )
    SELECT DISTINCT tblOwnerInfo.OwnerID, Nz([3],0) AS tb3Months0, Nz([2],0) AS tb2Months0, Nz([1],0) AS tb1Month0, Nz([0],0) AS tbCurrent0, Dues([tb3Months0],[tb2Months0],[tb1Month0],[tbCurrent0],3) AS tb3Months, Dues([tb3Months0],[tb2Months0],[tb1Month0],[tbCurrent0],2)
    AS tb2Months, Dues([tb3Months0],[tb2Months0],[tb1Month0],[tbCurrent0],1) AS tb1Month, Dues([tb3Months0],[tb2Months0],[tb1Month0],[tbCurrent0],0) AS tbCurrent
    FROM ((tblOwnerInfo INNER JOIN qPayableTotalForPayment ON tblOwnerInfo.OwnerID = qPayableTotalForPayment.OwnerID) INNER JOIN QryNoZeroUpdateFliltered ON qPayableTotalForPayment.OwnerID = QryNoZeroUpdateFliltered.OwnerID) INNER JOIN qOverDueRep ON QryNoZeroUpdateFliltered.OwnerID
    = qOverDueRep.OwnerID;
    xxx

    Hi TurnipOrange,
    Could you please share a copy of your database file? Or just make a sample database if there's some confidential data, so that we can easily reproduce your problem. It's hard to identify the problem without the sample database.
    Thanks!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Need solution for this query

    i want solution for shape & append query as run in access for oracle
    RS.Open "SHAPE {select ID,MAX(Module_Name) AS MainMenu from USER_MODULE GROUP BY ID} APPEND ({select ID,NAME,USER_module.srno,iif(right(param_str,1)='P','ü','') as Allow,iif(left(param_str,1)='A','ü','') as Ins,iif(MID(param_str,2,1)='E','ü','') as Edit,iif(MID(param_str,3,1) = 'D','ü','') as Del,flag,CODE,NAME from USER_MODULE left join user1 on user1.srno=USER_module.srno where user_name='" & Master_Rst!USER_NAME & "' or user_name is null} RELATE ID TO ID) AS AA", G_CompCn, adOpenDynamic, adLockOptimistic

    If you are in migration from one DB to other - you should not go with one to one convertion.
    First understand the business requirment - whats working and how is it working and whats expected out of your new code etc.
    Then decide what to place and how using your new DB.
    There might not be one to one exact match in all DBs.
    Simple example if you find any connect by prior in oracle - can you replace it with simple SQL command in ACCESS / SQL SERVER as it is without any functions?

  • Retain existing query strings on seach

    Hi All
    I have the following scenario. Any help is appreciated.
    I have an existing query string in the url . When I click the search button, it removes all existing query string and adds its own and redirects to the results page.
    Is there a way I can retain the existing query strings in the url.
    I'm using Sharepoint 2013

    Hi,
    For reproducing this issue, please give the detailed information about the existing query string in URL and the parameter.
    In addition, please check if the link is useful for you:
    http://techmikael.blogspot.com/2013/09/appending-query-terms-in-sharepoint.html
    Best Regards,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Query not ended properly..

    hi frenz
    I am running this program , taking data froom a file n passing it between th IN clause but when more that 100 values are passed to
    it gives thae error that "Query not ended properly.."
    plz help as soon as posible
    String query = "SELECT * FROM "+service+"."+fileName + " where " + fileName + "." + colNames[0] + " IN (";
    System.out.println("Curr Qry >>> "+query);
    try {
    String newFile = filePath+fileName+".CTL";
    bufWrite = new BufferedWriter(new FileWriter(newFile));
    bufWrite.write("LOAD DATA INFILE * APPEND INTO TABLE " + service + "." +
    fileName + "\n");
    bufWrite.write("FIELDS TERMINATED BY '" + delimiter +
    "' OPTIONALLY ENCLOSED BY '\"' (");
    for (int x = 0; x < fileDataFormat.length; x++) {
    bufWrite.write(fileDataFormat[x]);
    counter = 0;
    while (counter < dateFields.length) {
    System.out.println(" checking >> "+fileDataFormat[x]+" with >>> "+dateFields[counter]);
    if (fileDataFormat[x].equals(dateFields[counter])) {
    bufWrite.write(" DATE 'yyyymmdd' ");
    System.out.println("EQUALITY check >>> "+fileDataFormat[x]+".equals("+dateFields[counter]+")"+fileDataFormat[x].equals(dateFields[counter]));
    counter++;
    if ( (x+1) != fileDataFormat.length) {
    bufWrite.write(",");
    bufWrite.write("\n");
    bufWrite.write(") BEGINDATA \n");
    bufWrite.flush();
    con = SQLUploader.getConnectionObj(uName, uPass, driver, url);
    System.out.println("1111");
    //Check the code from here
    enumer = hash.keys();
    String personId = null;
    while (enumer.hasMoreElements()) {
    //Getting personid's in array
    personId = (String) enumer.nextElement();
    vector.add(personId);
    qryBuff.append(personId);
    ctr++;
    if (ctr != hash.size())
    qryBuff.append(",");
    query += qryBuff.toString() + ")";
    System.out.println("Query generated >>> " + query);
    stmt = con.createStatement();
    rs = stmt.executeQuery(query);

    Unreadable. Use code tags
    Awful code. Appears to be a muddled mess to me.
    That doesn't look like ANSI standard SQL to me. Which database uses "FIELDS TERMINATED BY"?
    Some databases have a max query length and a limit to the number of entries in the IN clause. Maybe you've hit that.
    Print out the SQL you've generated and see if it's correct. Hard to tell in code.
    You should use PreparedStatement if your query involved Dates.
    All that writing is confusing and messy. I'd prefer something like Log4J that I could turn off and on.
    %

  • Hyperion Explorer 8.3 querying multiple tables that contain a specific item

    I have 3 annual tables that contain data for 3 different years.  Each table has a sale amount, item sold, and customer ID.  I want to pull a specific customer ID from all 3 tables at once. 
    Is there a way to achieve this?
    Thanks!
    Johnny

    Add the 3 fields from the first table, then click Query > Append Query, then add the same 3 fields in the same order from the second table, then add the same 3 fields in the same order from the third table.  This creates a UNION between the three tables; which means they need to be in the same order and have the same datatype.
    If you want to show duplicate data found in the different sources, just change the UNION operator to a UNION ALL operator, otherwise it will suppress any duplicate rows.
    To limit the data to one specific customer ID, you can set a limit on each of the UNION tabs with 'Customer ID = <selection>'.
    Good luck!
    Jarod Vierstra

  • To solve this query

    i want solution for shape & append query as run in access for oracle
    RS.Open "SHAPE {select ID,MAX(Module_Name) AS MainMenu from USER_MODULE GROUP BY ID} APPEND ({select ID,NAME,USER_module.srno,iif(right(param_str,1)='P','ü','') as Allow,iif(left(param_str,1)='A','ü','') as Ins,iif(MID(param_str,2,1)='E','ü','') as Edit,iif(MID(param_str,3,1) = 'D','ü','') as Del,flag,CODE,NAME from USER_MODULE left join user1 on user1.srno=USER_module.srno where user_name='" & Master_Rst!USER_NAME & "' or user_name is null} RELATE ID TO ID) AS AA", G_CompCn, adOpenDynamic, adLockOptimistic

    Hi ,
    Let the Oracle transform this query and the whole Access application using the Oracle Migration Workbench...
    You can download and test it in http://www.oracle.com/technology/software/index.html
    at the bottom of this page....!!!!!!!!!!
    To find out how to use ..., visit the link:
    http://www.oracle.com/technology/documentation/migration.html
    Regards,
    Simon

  • How to impdp usera.table1 into userb.table2 with a query...

    Greetings
    Environment:
    Oracle 11.2.0.3 EE on Solaris
    I have a full table export of USERA.TABLE1 and I want to import a portion of that table into USERB.TABLE2 using impdp.
    I have tried several versions of my parfile but have not yet been successful.  The import succeeds but imports ALL rows of the source table and not just the ones filtered by the QUERY.
    Here is the latest version of my parfile: (not sure if the '{code}' formatting is still valid so pardon me if it's not)
    {code}
    userid=system/**********
    directory=data_pump_dir
    dumpfile=table1.dmp
    logfile=table1_impdp.log
    tables=usera.table1
    remap_table=usera.table1:userb.table2
    remap_schema=usera:userb
    table_exists_action=append
    query=usera.table1:"where trunc(ACTIVE_DATE)=to_date('31-jul-2013','dd-mon-rrrr')"
    {code}
    There is something wrong with the QUERY statement but I can't get the syntax correct.
    ACTIVE_DATE is a valid column in both tables.
    Is the schema.tablename supposed to be the original source values (usera.table1) or the new target values (userb.table2)?
    Any help is greatly appreciated!!
    -gary

    Gary,
    Here is the right parfile.  I'll explain the reasoning.
    tables=orig_schema.orig_table
    remap_table=orig_schema.orig_table:new_table
    remap_schema=orig_schema:new_schema
    query=orig_schema.orig_table:"where rownum < 10"
    The tables= parameter is a filter which needs to be applied to the existing dumpfile.  It is done first regardless of which parameter you enter first on your command.  So, since no remap has taken place yet, all Data Pump knows about is the original information.
    remap_table - takes an optional original schema then an optional . then the required original table name.  Then the required : and then just a new table name, NOT NEW_SCHEMA.NEW_TABLE.
    In your case, you are also remapping the schema, so you need a remap schema= old_schema:new_schema
    The query is also verified before any remapping is done so you need to specify the original information here.
    Hope this helps.
    Dean

  • Need solution to solve this query

    i want solution for shape & append query as run in access for oracle
    RS.Open "SHAPE {select ID,MAX(Module_Name) AS MainMenu from USER_MODULE GROUP BY ID} APPEND ({select ID,NAME,USER_module.srno,iif(right(param_str,1)='P','ü','') as Allow,iif(left(param_str,1)='A','ü','') as Ins,iif(MID(param_str,2,1)='E','ü','') as Edit,iif(MID(param_str,3,1) = 'D','ü','') as Del,flag,CODE,NAME from USER_MODULE left join user1 on user1.srno=USER_module.srno where user_name='" & Master_Rst!USER_NAME & "' or user_name is null} RELATE ID TO ID) AS AA", G_CompCn, adOpenDynamic, adLockOptimistic

    This forum is for JHeadstart related questions/suggestions. This problem seems to be related to other products. Please ask this question in the appropriate discussion forum.
    kind regards,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • Exporting data from a multiple worksheet excel to oracle database.

    Hi,
    Am having a very big problem,i have to export data from excel to database.My excel is havin multiple worksheet.
    I thought of most of the options nothing is suiting my layout.
    SQL loader ,can't use due to multiple worksheet.
    HSServices can;t use because my column headings are row wise,and the excel start with a big Heading rather than having column headings.
    UTL_FILE can't use beacuse of multiple worksheet,and frankly speaking i don't know how to use utl file with excel to read paticular cell in excel.
    Thanks

    First of all: this is a forum of volunteers.
    So no one is obliged to respond to you.
    Therefore 'urgent' does not exist in this forum, and labeling your request as 'urgent' is considered rude by many. If it is really that urgent, submit a prio 1 request at Metalink.
    Secondly, I don't think you thought of most of the options.
    Yes, you can use SQL*Loader as you can dump each individual worksheet to a separate CSV file.
    Also, you didn't consider ODBC. If ODBC in Excel is too cumbersome, you can use MsAccess to hook the Excel sheet in Msaccess, connect to the database using the Oracle ODBC driver and design an ordinary append query,
    Obviously, you would need one query per worksheet.
    Hth
    Sybrand Bakker
    Senior Oracle DBA

  • How do I view Migrate Data errors - Access 2003 - Oracle 10g

    I'm trying to use the SQL Developer to migrate data from an Access 2003 database to an Oracle 10g database. I followed the instructions found here:
    http://www.oracle.com/technology/tech/migration/workbench/files/omwb_getstarted.html
    I was able to complete every step except the actual data move. I exported the xml for the Access database, I captured the export and then ran the generation scripts on my target Oracle database (I'm using the same schema for the migration repository and the actual data). It created the tables with only one or two errors which I resolved.
    Now, when I select Migration->Migrate Data, I get the dialog that appears to start 4 or 5 threads and attempts to migrate each table. They all error and do not transfer any rows. I can see that there's one error per table, but I can't see the error text. I just know that an error occurred. Is there a log somewhere or is the error displayed somewhere else? How do I know what's gone wrong?
    Thanks.

    I too receive unexplained error counts using the Migrate Data menu selection and unexplained failures using the Generate Data Move Scripts menu selection. Permissions granted by role or direct grants should not be a problem, but a Migrate Data error appears in the Migration Log panel at the bottom of the SQL Developer window, "Failed to disable constraints: ORA-00942 ... ". No further details available on what constraints or why the error. No other errors were detected while following the instructions found in the Oracle SQL Developer Migration Workbench Getting Started guide. SQL Developer never migrates the data from the existing Access 2000 mdb file to the newly created schema objects in Oracle 10g using either method. The following roles and privileges have been granted to both the repository owner and the target schema owner:
    GRANT RESOURCE TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT CONNECT TO MIGRATE_USER WITH ADMIN OPTION;
    ALTER USER MIGRATE_USER DEFAULT ROLE ALL;
    -- 25 System Privileges for MIGRATE_USER
    GRANT CREATE ROLE TO MIGRATE_USER;
    GRANT ALTER TABLESPACE TO MIGRATE_USER;
    GRANT ALTER ANY SEQUENCE TO MIGRATE_USER;
    GRANT INSERT ANY TABLE TO MIGRATE_USER;
    GRANT SELECT ANY TABLE TO MIGRATE_USER;
    GRANT CREATE ANY TABLE TO MIGRATE_USER;
    GRANT UNLIMITED TABLESPACE TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT DROP TABLESPACE TO MIGRATE_USER;
    GRANT CREATE ANY TRIGGER TO MIGRATE_USER;
    GRANT ALTER ANY ROLE TO MIGRATE_USER;
    GRANT CREATE VIEW TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT DROP USER TO MIGRATE_USER;
    GRANT CREATE TABLESPACE TO MIGRATE_USER;
    GRANT GRANT ANY ROLE TO MIGRATE_USER;
    GRANT CREATE ANY SEQUENCE TO MIGRATE_USER;
    GRANT ALTER ANY TABLE TO MIGRATE_USER;
    GRANT DROP ANY TRIGGER TO MIGRATE_USER;
    GRANT DROP ANY ROLE TO MIGRATE_USER;
    GRANT DROP ANY SEQUENCE TO MIGRATE_USER;
    GRANT UPDATE ANY TABLE TO MIGRATE_USER;
    GRANT ALTER ANY TRIGGER TO MIGRATE_USER;
    GRANT COMMENT ANY TABLE TO MIGRATE_USER;
    GRANT DROP ANY TABLE TO MIGRATE_USER;
    GRANT CREATE PUBLIC SYNONYM TO MIGRATE_USER WITH ADMIN OPTION;
    GRANT CREATE USER TO MIGRATE_USER WITH ADMIN OPTION;
    -- 1 Tablespace Quota for MIGRATE_USER
    ALTER USER MIGRATE_USER QUOTA UNLIMITED ON USERS;
    Operating system for both Access 2000 and Oracle 10g is Windows XP PRO SP2.
    Oracle SQL Developer is version 1.1.2.25 build MAIN-25.79 on Windows XP PRO SP2. All three are on the same PC.
    Since only the last step failed, I created a User DSN with the ODBC administrator. Then, linked the newly created Oracle table to Access via ODBC using the DSN created. Next, I created an append query with the source being the Access table and the target being the Oracle table. I moved the data by pressing the red exclamation mark.

Maybe you are looking for