SQL/Buffer trace RC=1403

665859990      VBAP            FETCH            3        1403                          
After running a trace on transaction VA03, I'm getting the above RC 1403 for a fetch on table VBAP that has a 15 min runtime.
I can not find the definition of RC=1403 anywhere.  Does anyone know what this means? 
Thanks!

Hello Jayson,
> I can not find the definition of RC=1403 anywhere. Does anyone know what this means?
This codes are oracle related "errors" codes .. in this case an ORA-01403 is not an error, it symbolizes that all records have been fetched (= the end of the query). You get an ORA-01403 at the end of every query.
For more information take a look at here: http://ora-01403.ora-code.com/
Regards
Stefan

Similar Messages

  • Sql net trace file

    Hi All,
    Our prod db is 2 nodes RAC 10g in MS window 2003 servers. It is located in a remote place. Recently one of our local app servers lost connection to this db although we can tnsping it but got ORA3113 error when we tried to logon using sql plus. Most of our local PCs did not have problem logon at all. We enabled the sql net trace on this app server and network administrators spent a lot of time on this and finally shutdown one of the app servers in the same remote location which seemed cause a lot of network traffic with a local app server. So the problem went away and the app server can logon to the db now. I (I know nothing about network) tried to read the sql net trace file generated during the trouble time using the help outlined in the “Examining Oracle Net Trace Files” written by Kevin Reardon. The error happened after client sending server character set and conversion graph it supports and before receiving character set and conversion graph from the server. It took a minute in this step and finally gave up. Following is a section of the trace file where error happens. My question is: even we know when the error happens and at what step how can we use this info to further identify the root cause: Is this because we have too much network traffic which caused timeout or other reason(s)? By the way our db servers have “INBOUND_CONNECT_TIMEOUT=180" (3 minutes) in the sqlnet.ora file and whole trace file starts at [06-NOV-2009 14:50:23:352] and ends at [06-NOV-2009 14:51:24:758] which is a little over 1 minute. Greatly appreciate your insights and thoughts.
    Shirley
    [06-NOV-2009 14:50:23:836] nsdo: normal exit
    [06-NOV-2009 14:50:23:836] nsdo: entry
    [06-NOV-2009 14:50:23:836] nsdo: cid=0, opcode=85, *bl=0, *what=0, uflgs=0x0, cflgs=0x3
    [06-NOV-2009 14:50:23:836] nsdo: rank=64, nsctxrnk=0
    [06-NOV-2009 14:50:23:836] nsdo: nsctx: state=8, flg=0x400d, mvd=0
    [06-NOV-2009 14:50:23:836] nsdo: gtn=127, gtc=127, ptn=10, ptc=32730
    [06-NOV-2009 14:50:23:836] nsdo: switching to application buffer
    [06-NOV-2009 14:50:23:836] nsrdr: entry
    [06-NOV-2009 14:50:23:836] nsrdr: recving a packet
    [06-NOV-2009 14:50:23:836] nsprecv: entry
    [06-NOV-2009 14:50:23:836] nsprecv: reading from transport...
    [06-NOV-2009 14:50:23:836] nttrd: entry
    [06-NOV-2009 14:51:24:742] nttrd: exit
    [06-NOV-2009 14:51:24:742] ntt2err: entry
    [06-NOV-2009 14:51:24:742] ntt2err: Read unexpected EOF ERROR on 644
    [06-NOV-2009 14:51:24:742] ntt2err: exit
    [06-NOV-2009 14:51:24:742] nsprecv: error exit
    [06-NOV-2009 14:51:24:742] nserror: entry
    [06-NOV-2009 14:51:24:742] nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    [06-NOV-2009 14:51:24:742] nsrdr: error exit
    [06-NOV-2009 14:51:24:742] nsdo: nsctxrnk=0
    [06-NOV-2009 14:51:24:742] nsdo: error exit
    [06-NOV-2009 14:51:24:742] nioqer: entry
    [06-NOV-2009 14:51:24:742] nioqer: incoming err = 12151
    [06-NOV-2009 14:51:24:742] nioqce: entry
    [06-NOV-2009 14:51:24:742] nioqce: exit
    [06-NOV-2009 14:51:24:742] nioqer: returning err = 3113
    [06-NOV-2009 14:51:24:742] nioqer: exit
    [06-NOV-2009 14:51:24:742] nioqrc: exit
    [06-NOV-2009 14:51:24:742] nioqrs: entry

    I am certainly not an expert in this area, but these lines are of interest
    >
    06-NOV-2009 14:51:24:742 ntt2err: Read unexpected EOF ERROR on 644
    06-NOV-2009 14:51:24:742 nserror: nsres: id=0, op=68, ns=12537, ns2=12560; nt[0]=507, nt[1]=0, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
    06-NOV-2009 14:51:24:742 nioqer: incoming err = 12151
    >
    The TNS 12537, 12560 and 12151 codes indicate network errors.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14219/tnsus.htm#sthref14851
    Is this a consistently reproducible error ? Do other applications on this network operate without error ?
    HTH
    Srini

  • SQL Buffer character limit too small.

    I am attempting to execute an .SQL script file using the SQLPlus.exe command line. The script is a simple INSERT statement and executes fine as long as the text being inserted is english. But when the text is translated to either Traditional or Simplified Chinese the script generates the following error:
    SP2-0341: line overflow during variable substitution (>3000 characters at line 2)
    Some background information:
    1. The database was created with the National Character Set of AL16UTF16 and the Database Character Set of AL32UTF8.
    2. The data types for the columns being populated are NVARCHAR2 and NCLOB.
    3. SQLPlus command line syntax: SQLPLUS.EXE -MARKUP "HTML ON SPOOL ON" UID/PWD@DBNAME @CREATE-5-CHINESE1.sql > CREATE-5-CHINESE1.HTML
    4. Environment variable setting: NLS_LANG=.UTF8
    5. Contents of CREATE-5-CHINESE1.SQL:
    WHENEVER SQLERROR EXIT SQL.SQLCODE
    SET DEFINE OFF
    SET ECHO ON;
    SET ESCAPE ON;
    CLEAR BUFFER
    INSERT INTO tbl_lm_notification_nls (col_id_notification, col_id_language, col_name_notification, col_subject, col_text) VALUES (1001, 5, '默认测评者邀请', '%s - 你被选择参与', '你已经被选择参加360度反馈调查,本调查使用一种称为 xxxxxxxxxxxxxxxxx(R) 的网络反馈工具来收集对人们的强项和发展需要的观察信息。 \
    你要完成的调查将要求你对自己在一些与工作相关的技能、行为和知识等方面进行评估。 你还将邀请与你的工作有关的人们完成调查。 这些测评者可以包括你的经理、同级人员、直接下属、客户及其他人。 评估信息的质量和准确性要依赖于你和你的测评者们诚实地提供反馈。\
    A提交调查答案之后,xxxxxxxxxxxxxxxxx 将计算结果并产生报告。 报告将把你的自我看法与测评者对你的看法相比较。 这个比较可以指出先前未知的强项和发展需要,还将协助确认你和他人有一致看法的领域。\
    报告中的信息将协助你回答两个重要问题:\
    o 你最强的地方是什么?\
    o 你最需要发展的地方是什么?\
    了解你的强项和发展需要将协助你和你的组织识别适当的发展活动和你的未来成长计划。\
    COMMIT;
    EXIT SQL.SQLCODE;
    6. Contents of CREATE-5-CHINESE.HTML (command output):
    SQL*Plus: Release 10.1.0.2.0 - Production on Wed Oct 19 11:02:58 2005
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    SQL> SET ESCAPE ON;
    SQL> /
    SP2-0103: Nothing in SQL buffer to run.
    SQL> CLEAR BUFFER
    SQL> INSERT INTO tbl_lm_notification_nls (col_id_notification, col_id_language, col_name_notification, col_subject, col_text) VALUES (1001, 5, '默认测评者邀请', '%s - 你被选择参与', '你已经被选择参加360度反馈调查,本调查使用一种称为 xxxxxxxxxxxxxxxxx(R) 的网络反馈工具来收集对人们的强项和发展需要的观察信息。 \
    2 \
    3 你要完成的调查将要求你对自己在一些与工作相关的技能、行为和知识等方面进行评估。 你还将邀请与你的工作有关的人们完成调查。 这些测评者可以包括你的经理、同级人员、直接下属、客户及其他人。 评估信息的质量和准确性要依赖于你和你的测评者们诚实地提供反馈。\
    4 \
    5 A提交调查答案之后,xxxxxxxxxxxxxxxxx 将计算结果并产生报告。 报告将把你的自我看法与测评者对你的看法相比较。 这个比较可以指出先前未知的强项和发展需要,还将协助确认你和他人有一致看法的领域。\
    6 \
    7 报告中的信息将协助你回答两个重要问题:\
    8 \
    9 o 你最强的地方是什么?\
    10 o 你最需要发展的地方是什么?\
    11 \
    12 了解你的强项和发展需要将协助你和你的组织识别适当的发展活动和你的未来成长计划。\
    13 \
    14 ');
    SP2-0341: line overflow during variable substitution (>3000 characters at line 2)
    SQL> /
    SP2-0341: line overflow during variable substitution (>3000 characters at line 2)
    SQL> COMMIT;
    Commit complete.
    SQL> EXIT SQL.SQLCODE;
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    I believe that increasing the size of SQL Buffer may fix the problem, but I am unsure of how to do this or if it is even possible.
    Thanks in advance for any information that you can provide.
    Mike Z.

    I'm not suggesting this is your problem, but
    select status
    into v_status,
    from registration_offender_xref But you have declared
          v_status  varchar2(10);Much better to declare things like this
          v_status  registration_offender_xref.status%type;That way you know your variable is declared with a proper length, if the column length ever changes ... your code doesn't go kaboom.
    Cheers,

  • Abap import error DbSl Trace: ORA-1403 when accessing table SAPUSER

    hi all
    I am installing ERP  6.0 (ABAP) on win2003 cluster, oracle 10g, I have error at database instance intallation. here some logs
    DD03L.log
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: START OF LOG: 20090812102157
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#18 $ SAP
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: version R7.00/V1.4 [UNICODE]
    Compiled Apr  3 2009 09:03:56
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error
    DbSl Trace: ORA-1403 when accessing table SAPUSER
    (DB) INFO: connected to DB
    (RTF) ########## WARNING ###########
         Without ORDER BY PRIMARY KEY the exported data may be unusable for some databases
    (TPL) ERROR: unknown template variable "tablespace"
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: job finished with 1 error(s)
    I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe: END OF LOG: 20090812102157
    import_monitor.log
    ERROR: 2009-08-12 10:21:57 com.sap.inst.migmon.LoadTask run
    Loading of 'DD03L' import package is interrupted with R3load error.
    Process 'I:\usr\sap\PRD\SYS\exe\uc\NTAMD64\R3load.exe -i DD03L.cmd -dbcodepage 4103 -l DD03L.log -stop_on_error' exited with return code 2.
    For mode details see 'DD03L.log' file.
    Standard error output:
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    WARNING: 2009-08-12 10:22:25
    Cannot start import of packages with views because not all import packages with tables are loaded successfully.
    WARNING: 2009-08-12 10:22:25
    1 error(s) during processing of packages.
    INFO: 2009-08-12 10:22:25
    Import Monitor is stopped.
    sapinst_dev.log
    ERROR      2009-08-12 10:22:25.718
               CJSlibModule::writeError_impl()
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    TRACE      2009-08-12 10:22:25.718 [iaxxejsbas.hpp:483]
               EJS_Base::dispatchFunctionCall()
    JS Callback has thrown unknown exception. Rethrowing.
    ERROR      2009-08-12 10:22:25.734 [sixxcstepexecute.cpp:951]
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:752]
                CGuiEngineImp::showMessageBox
    <html> <head> </head> <body> <p> An error occurred while processing service SAP ERP 6.0 Support Release 3 > SAP Systems > Oracle > High-Availability System > Based on AS ABAP > Database Instance( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.). You may now </p> <ul> <li> choose <i>Retry</i> to repeat the current step. </li> <li> choose <i>View Log</i> to get more information about the error. </li> <li> stop the task and continue with it later. </li> </ul> <p> Log files are written to C:\Program Files/sapinst_instdir/ERP/SYSTEM/ORA/HA/ABAP/DB. </p> </body></html>
    TRACE      2009-08-12 10:22:25.781 [iaxxgenimp.cpp:1255]
               CGuiEngineImp::acceptAnswerForBlockingRequest
    Waiting for an answer from GUI
    sapinst.log
    WARNING 2009-08-12 10:22:25.718
    Execution of the command "C:\j2sdk1.4.2_21-x64\bin\java.exe -classpath migmon.jar -showversion -Xmx1024m com.sap.inst.migmon.imp.ImportMonitor -sapinst" finished with return code 103. Output:
    java version "1.4.2_21"
    Java(TM) Platform, Standard Edition for Business (build 1.4.2_21-b03)
    Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_21-b03, mixed mode)
    Import Monitor jobs: running 1, waiting 1, completed 26, failed 0, total 28.
    Loading of 'DD03L' import package: ERROR
    Import Monitor jobs: running 0, waiting 1, completed 26, failed 1, total 28.
    ERROR 2009-08-12 10:22:25.718
    CJS-30022  Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.
    ERROR 2009-08-12 10:22:25.734
    FCO-00011  The step runMigrationMonitor with step key |NW_ABAP_DB|ind|ind|ind|ind|0|0|NW_CreateDBandLoad|ind|ind|ind|ind|8|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|5|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|runMigrationMonitor was executed with status ERROR ( Last error reported by the step :Program 'Migration Monitor' exits with error code 103. For details see log file(s) import_monitor.java.log, import_monitor.log.).
    any idea
    Regards
    ABH

    hi
    All logs are above (include import_monitor.log and java)
    thanks

  • Error "Nothing in SQL buffer to run"

    Hi All,
    I am facing an error while running sql script (names.sql) " Nothing in SQL buffer to run" .
    The sql file contains insert and update statements.
    I don't understand why it is giving that error. i tried changing the directory where the file is kept , even then the problem exist.
    Kindly suggest me .

    Hi,
    I am facing an error while running sql script (names.sql) " Nothing in SQL buffer to run" .
    The sql file contains insert and update statements.Can You share with us what is the first line in your sql file which you are calling.
    I hope its not '/' in the first line.
    I have come across a problem where I had / in the first line following the sql commands. That gave me the same error which you are facing.
    Twinkle

  • SP2-0103: Nothing in SQL buffer to run.

    Hi All,
    When i execute the script it throws the following error msg.
    SP2-0103: Nothing in SQL buffer to run.
    Thanks in advance!

    Please past here below what you tried.
    SQL> /
    SP2-0103: Nothing in SQL buffer to run.
    SQL> l
    SP2-0223: No lines in SQL buffer.
    SQL> Nicolas.

  • Buffer trace for more than 5 defined tables possible?

    Hello!
    With ST05 you can switch on a buffer trace. Using 'trace on for user' makes it possible to activate the trace for a defined number of tables. The number of tables is limmited to 5.
    I would like to trace 100 tables. Is it possible to extend this formula. Is it possible to do this with one trace at one time?
    Thanks,
    Holger

    Hi Holger!
    You can, but you don't need to restrict the trace to specific tables.
    So one option: just don't filter any tables and ignore the additional lines later in trace analysis.
    Other option: use wildcards (e.g. MAR* for MARA; MARC; MARD tables)
    If some tables are blowing up your trace, but aren't any performance problem -> use the exclude part.
    Also a restriction to a special program can restrict the tables without using the tables filter explicit.
    Also a filter in trace display can restrict the results - but it's still using more memory and time.
    Regards,
    Christian

  • SQL Buffer

    I have a problem where if I cut a SQL script (farely sizeable) from notepad. Then, paste the script directly into SQL*Plus (bypassing the editor). All the lines in the script do not paste to SQL Buffer.
    Is there any way that I can prevent this from happening?
    Thanks,
    Mike

    Sure, Sql*Plus has a problem with long strings that are PASTED into sql*plus,
    However if you issue the edit command then past the string into the editor window (normally notepad) then it will read in the entire string.
    The edit command may only be invoked after the first ddl command is issued. The easest way to start the ball rolling is to issue a "select;" command in sql*plus, this is invalid, but will allow the edit command to be issued.

  • Lock monitor, top sql and trace data viewer

    can any one please tell me how can i access lock monitor, top sql and trace data viewer
    i am also not sure whether these tools are installed on my machine or not, if they are please tell me how can i access them, if not please tell me how can i install them
    thanks a lot

    Hey,
    You can launch OEM from a client machine and then:
    - Log in as system for example;
    - go to tools,
    - then - Diagnostics Packs, then you will have:
    a) Lock Monitor
    b) Perfomance Manager
    c) Performance Overview
    d) Top Sessions
    e) Top SQL.
    I hope this can help you a little.
    Regards,
    Marcello

  • Pls/sql in trace file

    Hi!
    The problem is appearence of pl/sql code in trace file instead of separate cursors of SQL statements. So, I can't get information about each SQL statement separatelly. What's wrong? How to separate SQL statements?
    Nosorog

    As Satish indicated, the "SQL*Net message from client" wait is an event which indicates that the database server was waiting for the next request from the client computer, and not an indication that the query needs to be tuned. Manually review the trace file. At one point in the trace file, you will see this wait event with an ela= value which begins with 14142 - please post to this thread that line from the trace file along with the 20 lines before that line and the 20 lines after that line. You may just have a long wait on this event at the beginning, and another long wait on this event at the end of the query.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Record type variables in the SQL database trace file

    Hi,
    I turned on the trace with binds and waits in a ebusiness form and captured the database SQL trace file. It lists the values for the generic datatypes for the call, but does not list the values of record type variables. Is there a way to identify the values of record type variables? The below section lists the procedure call and the values passed. Thanks in advance.
    RPC CALL:PROCEDURE APPS.HZ_PARTY_SEARCH.FIND_PARTY_DETAILS(P_INIT_MSG_LIST IN VARCHAR2, P_RULE_ID IN NUMBER, P_PARTY_SEARCH_REC IN PARTY_SEARCH_REC_TYPE, P_PARTY_SITE_LIST IN PARTY_SITE_LIST, P_CONTACT_LIST IN CONTACT_LIST, P_CONTACT_POINT_LIST IN CONTACT_POINT_LIST
    , P_RESTRICT_SQL IN VARCHAR2, P_MATCH_TYPE IN VARCHAR2, P_SEARCH_MERGED IN VARCHAR2, X_SEARCH_CTX_ID OUT NUMBER, X_NUM_MATCHES OUT NUMBER, X_RETURN_STATUS OUT VARCHAR2, X_MSG_COUNT OUT NUMBER, X_MSG_DATA OUT VARCHAR2);
    RPC BINDS:
    bind 0: dty=1 bfp=2ae5927c13c8 flg=08 avl=01 mxl=01 val="T"
    bind 1: dty=6 bfp=2ae5927c13f0 flg=00 avl=02 mxl=22 val=8
    bind 2: dty=118 bfp=2ae593432e48 flg=00 avl=00 mxl=00 val=00
    bind 3: dty=251 bfp=2ae5929ac0b8 flg=00 avl=1944 mxl=00 val=00
    bind 4: dty=251 bfp=2ae592d85548 flg=00 avl=5336 mxl=00 val=00
    bind 5: dty=251 bfp=2ae592d84d58 flg=00 avl=4984 mxl=00 val=00
    bind 6: dty=1 bfp=2ae5927c1550 flg=08 avl=125 mxl=2000 val="exists (select 'x' from hz_parties where party_id =stage.party_id and party_type = 'ORGANIZATION') and party_id <>1002277174"
    bind 7: dty=1 bfp=2ae5927c1d50 flg=0a avl=00 mxl=00 val=""
    bind 8: dty=1 bfp=2ae5927c1d80 flg=08 avl=01 mxl=01 val="I"
    bind 9: dty=6 bfp=2ae5927c1da8 flg=02 avl=00 mxl=22 val=00
    bind 10: dty=6 bfp=2ae5927c1de0 flg=02 avl=00 mxl=22 val=00
    bind 11: dty=1 bfp=2ae5927c1e28 flg=0a avl=00 mxl=01 val=""
    bind 12: dty=6 bfp=2ae5927c1e50 flg=02 avl=00 mxl=22 val=00
    bind 13: dty=1 bfp=2ae5927c1e98 flg=0a avl=00 mxl=2000 val=""

    Hello,
    From the sounds of it, when you are adding a child the application is not maintaining the Company's reference to it. For instance, in a 1:M and M:1 relationship, the application seems to be setting only the M:1 part (child to parent) which will cause the database to be updated, but both sides need to be set to keep the cache in synch with the database.
    Setting the cache type to be none is not a good idea - it prevents any caching, which will hurt performance and object identity. What instead is recommended is disabling the shared cache using the
    toplink.cache.shared.<ENTITY>=false property. This still might not help though if the Company's reference to the child hasn't been set as mentioned above if you are reading Company from the same context you are adding the child.
    The Cache is described for TopLink Essentials in the blog at:
    http://weblogs.java.net/blog/guruwons/archive/2006/09/understanding_t.html
    Best Regards,
    Chris

  • Tuning: how distinguish PL/SQL timings from SQL in trace and/or tkprof output?

    Hi,
    we have a performance problem with one of our customer's databases and are trying to tune it out.
    The activity in question is a long-running PL/SQL stored procedure operating more-or-less in batch mode, calling many sub-procedures along the way. The PL/SQL code has been instrumented to take timings of execution of different operations, and we are running with tracing on, and analyzing the trace output using TKPROF.
    Oddly, even though we are running through 70+ pages of PL/SQL code, with bulk-collect into large tables and nesting of SQL in other SQL cursor loops, TKPROF is reporting SQL times which account for nearly all the elapsed time reported by our log messages. I mean, we're talking within one or two percent of elapsed time.
    How can I distinguish the time spent in PL/SQL operations from the time doing an execute or a fetch in SQL? Should I just believe TKPROF when it says all the time is going into SQL?
    Thanks in advance...

    A common problem with Oracle timings is the granularity of the clock can give misleading results when viewed over many itterations. That might not be your issue but it's worth noting. I would suggest you use DBMS_PROFILER if you want to get a more accurate picture of your codes performance. In most PL/SQL processes, the SQL will account for the vast majority of the processing time (maybe even 95%+). You really have to be doing some intense string or analytical processing for that percentage to change much.
    Richard

  • SSAS SQL Profiler Trace Results - Error metadata unknown

    I am using a control that generates MDX queries and am tracing these through SQL Server Profiler. On one of the MDX queries, the Query End event is showing a 49 in the Error column. Does
    anyone know where to find what the codes in the Error column translate to for MDX trace events?
    Chad Dotzenrod SWC | TECHNOLOGY PARTNERS 1420 Kensington Road, Suite 110 Oak Brook, Illinois 60523-2144 http://www.swc.com

    The textdata has the mdx query that is getting an error but no error detail so this doesn't help.  We were hoping there was a dictionary of all the SSAS error codes for queries so that we could understand what error code 49 means.
    Chad Dotzenrod SWC | TECHNOLOGY PARTNERS 1420 Kensington Road, Suite 110 Oak Brook, Illinois 60523-2144 http://www.swc.com
    Hi Chad,
    SQL Profiler will not capture the detail error message under the "Error" column. I would recommend you submit a wish to the Microsoft Connect at
    https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
    Best Regards,
    Elvis Long
    TechNet Community Support

  • SQL Query trace

    Hello,
    I have a big sql query with lot of subqueries, virtual column queries. When i run this SQL query, its returning the error message "single row subquery returns more than one row".
    When i run it for individual employees, it runs fine but not sure for which employee its causing this error. Is there any way we can trace an SQL Query.
    I appreciate your help - thanks
    Thank You
    KK

    We can't provide much help outside of:
    *ORA-01427: single-row subquery returns more than one row*
    Cause: The outer query must use one of the keywords ANY, ALL, IN, or NOT IN to specify values to compare because the subquery returned more than one row.
    Action: Use ANY, ALL, IN, or NOT IN to specify which values to compare or reword the query so only one row is retrieved.
    >
    This error means that a subquery was expecting a single row, but more than one was returned. You can take that subquery and try and run it on it's own for each case (if the result set is small) to see which case is causing multiple rows to be returned. If it's a large set you can take advantage of aggregate functions like COUNT(*) to determine which is returning multiple rows.
    If you need additional help please see: {message:id=9360002}
    Edited by: Centinul on Dec 16, 2011 2:13 PM

  • Error - SP2-0103: Nothing in SQL buffer to run - With only one user

    I receive this error when we login to the sqlplus tool using - sqlplus /nolog command - sql prompt. This error is specific to one of the users in the Solaris[5.10] unix box. In the other users we do not receive this message.
    Workarounds tried -
    1. Verfied the glogin.sql under $ORACLE_HOME/sqlplus/admin for any additional "/" characters as suggested by metalink
    2. Tried to clear the buffer.
    Please anyone help me on this issue.

    Sounds like a local login.sql exists for that user and that results in the error.
    Refer to http://www.jlcomp.demon.co.uk/faq/glogin.html for details.

Maybe you are looking for

  • Lookout Client V6.0.2 keeps crashing - lkwrks.dll problem

    On several of my machines running the Lookout client version (6.0.2 with updates), Lookout consistently crashes. Below is the information from Event Viewer: Event Type: Error Event Source: Application Error Event Category: None Event ID: 1000 Date:  

  • How do I back up my IPad to my laptop.  It is asking for a password I am signed it

    How do I back up my IPad to my laptop.  It is asking for a password but I am signed it

  • Creation of Authorization group

    Hello All, I have a requirement from FI consultant for creation of new authorization group. This auth. group we want to use in FI objects like F_BKPF_BEK. so that for few end users they should not change any vendor data in FK02. I have gone through s

  • Best way to work with Dreamweaver files...

    Hi guys... Am learning more and more about the server but still not 100%. I have many sites I work on, these were all housed on my iMac in a folder called '_sites'. I also work at home on a Mac Book so each day I would have to copy this folder over t

  • Request Administration in GRC 10.

    Dear GRC Experts, Currently, my GRC system in I have two issues in GRC AC 10 (SP 10), for which I couldn't find an answer here. Help me if you have encountered the same and solved it. 1. When we search the request, we are not able to see the approver