Cursor basic

hi ,
10.2.0.1.0
Please confirm if this the case for some functionality is not working
<cursor_variable>%rowcount gives the amount rows held by cursor ?
SQL%count gives no. of rows handled in last fetch of the cursor ?

804282 wrote:
hi ,
10.2.0.1.0
Please confirm if this the case for some functionality is not working
<cursor_variable>%rowcount gives the amount rows held by cursor ?
SQL%count gives no. of rows handled in last fetch of the cursor ?SQL%rowcount gives the number of rows affected by the last SQL statement and should be tested (or stored) immediately after the statement as other statements can effect it's value.
cursor_variable%rowcount gives the number of rows already fetched by the cursor. Note: A cursor does not hold or store rows inside itself.

Similar Messages

  • Vista Aero Basic = Cursor Lag

    I've had a extremely annoying photoshop issue for a very long time. I was hoping CS4 would eliminate this hideous bug but it's made it marginally worst.
    My studio makes video games so we often work in 3ds Max 7 & photoshop simultaneously. 3ds Max doesn't work very well with Vista Aero enabled, so those of us with Vista run the Aero Basic scheme.
    Photoshop CS3 & CS4 actually run way SLOWER in Aero Basic. You'll see this while zoomed in using the airbush. Even the cursor jumps across the screen without any tool being in use. If i change my cursor to 'standard' or 'precise' in the preferences the lag will go away.
    There must be many others that have noticed this problem. Has it not been fixed because its not possible? No one figured out what causes it? Many users that want maximum performance out of their workstations will disable aero. I'm sure this is embarrassing for adobe because it effects very high end machines.
    Please Adobe, fix this bug.
    Running in full Aero Mode is VERY smooth but I cannot use that because i need Max running too.
    I'm running on a Nvidia 9800GTX. Same problems on other earlier Nvidia cards too. No ATIs here.

    Few games companies can afford to recompile plugins every time a new version of Max is released. Especially since in recent years Max hasn't provided significant features worth upgrading for.
    Many games studios are still using older versions of Max; admittedly most are also still using XP. PS cursor problems are one of the reasons.
    With all the bloated features added to PS over the years, this seems like a simple & important fix. It effects CS2, CS3 & CS4. Alot of our guys still use CS1 because the more recent PS versions are considered bloated & laggy.
    Maybe a 'light' power user version for the furture is something to think about. CS4 is several GBs of god knows what. The Gimp is 25meg & improving.
    I'm sure we don't need GBs of bloat & services forced upon us.

  • I'm having a real problem with my cursor which seems to have developed a mind of its own, zigzagging allover, highlighting things without my command, and basically making my MacBook unuseable (it's taken me half an hour just to compose this!).

    I'm having a real problem with my cursor which seems to have developed a mind of its own, zigzagging allover, highlighting things without my command, and basically making my MacBook unusable (it's taken me half an hour just to compose this!).

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried until it's resolved. Some may not apply in your case.
    1. Follow the instructions in this support article, and also this one, if applicable. A damaged or defective AC adapter could be the cause, even if it's the right kind.
    2. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and in that case the unit must be serviced or replaced.
    3. Open the Bluetooth preference pane in System Preferences and delete all pointing devices other than the trackpad, if applicable. Disconnect any USB pointing devices. By a "pointing device," I mean a peripheral that moves the cursor, such as a trackpad, mouse, trackball, or graphics tablet. A plain keyboard is not a pointing device.
    4. Start up in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you restart as usual, stop here and post your results. Do the same if you can't start in safe mode. If there was no difference in safe mode, go on to the next step.
    5. Reset the System Management Controller.
    6. If you're using a Bluetooth trackpad or mouse, investigate potential sources of interference, including USB 3 devices.
    7. A swollen battery in a portable computer can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
    8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to behave erratically. If you're using such an adapter, disconnect it and test.
    9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
    11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

  • Nested FOR cursor LOOPs, BASIC QUESTION

    Hello,
    I am trying to nest a For-loop using a cursor (see below), but the program is not entering the second (nested) for-loop. This program compiles fine, but during run-time, the nested loop does not execute. I'd rather not use FETCH statements and keep everything in place. I think the solution is rather trivial, but I'm new to PL/SQL. PLEASE HELP!!!!!
    cursor c1 is
    select coi_con_uid,coi_not_code,coi_closed_yn,coi_timestamp
    from s_coi_con_issue
    where coi_not_code = 'NOT107'
    and coi_timestamp <= v_aweekago
    and coi_closed_yn = 'N';
    cursor c2 is
         select tsk_uid
         from s_tsk_task
         where tsk_status in ('C')
         and tsk_tty_code = 'CONTAC'
         and tsk_date_end = '' FOR UPDATE;     
    BEGIN
    select to_date(sysdate - 7) into v_aweekago from dual;
    DBMS_OUTPUT.PUT_LINE('System date used is ' || v_aweekago);
    FOR coi_row in c1 LOOP
    v_tsk_cnt := 0;
    v_coi_row_cnt := v_coi_row_cnt + 1;
    v_con_uid := rtrim(to_char(coi_row.coi_con_uid));
    v_tsk_act_str := ('"CON_UID","' || v_con_uid || '"') ;
    DBMS_OUTPUT.PUT_LINE('COI_CON_UID: ' || v_con_uid);
    DBMS_OUTPUT.PUT_LINE('v_tsk_act_str: ' || v_tsk_act_str);
    -----The Program is not entering into this Loop
              FOR tsk_row in c2 LOOP
              v_update_cnt := v_update_cnt + 1;
                   update s_tsk_task
                   set tsk_status = 'A'
                   where tsk_uid = tsk_row.tsk_uid and
                   tsk_action_string = v_tsk_act_str;     
                   DBMS_OUTPUT.PUT_LINE('----Task updated');                         
              END LOOP;
    END LOOP;
    COMMIT;

    using your query on your cursor c2 when you execute it on sql*plus did it return any rows?
      select tsk_uid
        from s_tsk_task
       where tsk_status in ('C')
         and tsk_tty_code = 'CONTAC'
         and tsk_date_end = ''; if not it might have something to do with the predicates in your where clause
         and tsk_date_end = '';consider revising your c2 cursor select statement to something like:
    cursor c2 is
      select tsk_uid
        from s_tsk_task
       where tsk_status   = 'C'
         and tsk_tty_code = 'CONTAC'
         and tsk_date_end IS NULL
      FOR UPDATE;

  • Basic cursor question

    When does the select statement in a cursor get execute?
    Is it when the program gets parsed during execution or when the cursor is opened.
    Thanks
    MD

    FrancisC_1 wrote:
    Would both queries for c1 and c2 be executed? Maybe it's more subtle than that and the queries might be parsed but no data actually fetched?
    I don't know if it matters, but I'm on version 9i.
    Any insight will be appreciated.In short. No.
    The cursor definitions in the declaration section do not cause "execution" of the cursors. This only happens when, you open the cursor, which in your case is done when the relevant FOR loop is started.
    Example:
    SQL> ed
    Wrote file afiedt.buf
      1  CREATE OR REPLACE PROCEDURE p1 (param1 IN VARCHAR2) IS
      2    CURSOR c1 IS
      3      SELECT empno
      4      FROM emp
      5      WHERE empno = to_number(param1);
      6  BEGIN
      7    DBMS_OUTPUT.PUT_LINE('Pre-Open');
      8    FOR r IN c1 LOOP
      9       DBMS_OUTPUT.PUT_LINE(r.empno);
    10    END LOOP;
    11    DBMS_OUTPUT.PUT_LINE('Post-Close');
    12  EXCEPTION
    13    WHEN OTHERS THEN
    14      DBMS_OUTPUT.PUT_LINE('Exception');
    15      RAISE;
    16* END;
    SQL> /
    Procedure created.
    SQL> set serverout on;
    SQL> exec p1('7788');
    Pre-Open
    7788
    Post-Close
    PL/SQL procedure successfully completed.
    SQL> exec p1('77xx');
    Pre-Open
    Exception
    BEGIN p1('77xx'); END;
    ERROR at line 1:
    ORA-01722: invalid number
    ORA-06512: at "SCOTT.P1", line 15
    ORA-06512: at line 1
    SQL>As you can see, when an invalid number was passed in, this didn't cause an exception to happen within the declaration section, but only when the FOR loop was started, so the actual execution of the query (that would try to convert the parameter to a number) only happened then, not during the declaration.
    As your procedure is designed to run one FOR loop or the other depending on the parameter, only the one relevant query will be executed.

  • Whenever I type in a text box I cannot click somewhere else in that text box to edit a word instead I have to use the cursor keys to go back why would a new browser have this basic problem?

    after clicking once in a text box I can not click anywhere else in said text box or i loose the ability to type/edit the text. This is a problem this browser has had since the beta is it specific to Mac's or what because I see this as a major problem. I've tried uninstalling it and reinstalling and everything. I now officially hate your browser. also whenever i go to start it a pop up comes up that says error.... and then i click ok and i can run the browser same thing happens whenever a pop-up comes up it does not block pop-ups and i have the pop-up blocker on i truly hate this browser! The pop-up that comes up says this "can't create mcafee plug-in object: TypeError: Components.classes[cid] is undefined" elaborate please!!!!!!!

    I am not even a Mac user but a suggestion
    #try disabling McAfee site advisor if you have it installed
    #if that helps then try updating it to the very latest version
    Also you mention Beta versions of Firefox. If there is any possibility that you have been using multiple versions of Firefox, then note it would be a good idea to ensure each is used in its own separate and unique [[profiles|profile]]

  • Open and closed cursor

    I have some doubts/questions .
    What is the difference between open and closed cursor?
    Are library cache locks same as parse locks?
    What is the difference between latch and mutex?
    I would be grateful if experts could answer these questions.
    Regards

    Almost correct. The terminology is however nor correct.
    Simplistically:
    The SQL engine receives a SQL. It attempts a soft parse first. This means looking for an existing cursor in the Shared Pool with the same SQL. This existing cursor can be in use by other sessions. It does not matter - if that cursor is in used (opend by other sessions), or not. It may not be in use at all and simply sitting there in the cache. If such a cursor is found, it is used for that session's SQL - and that session gets a cursor handle (reference/pointer) to that existing cursor.
    If the SQL engine does not find an existing cursor to use, it needs to create a brand new cursor in the Shared Pool. This is a hard parse. Again, the session receives a cursor handle for that new cursor created.
    And that is it.
    You now need to decide how to use that cursor handle. The cursor itself is a program. You have a handle to execute that cursor program. Via its bind interface you can input data to this cursor program. Then execute it and receive (fetch) output of that cursor program.
    So the ideal is to re-use the cursor handle again and again.
    Basic example: the following is not optimal as the same cursor is opened and closed, opened and closed, for each read from the file. A lot of soft parsing results.
    while not-eof( filehandle )   // read data from a file
      read file data into var1, var2
      open cursor for 'insert into testtab values( :1, :2)'   // create a cursor
      bind cursor :1 = var, :2 = var2  // bind values to cursor (for insert)
      exec cursor // do SQL insert
      close cursor 
    end whileThis is a lot better. A single cursor is used and executed again and again:
    open cursor for 'insert into testtab values( :1, :2)'   // create a cursor
    while not-eof( filehandle )   // read data from a file
      read file data into var1, var2
      bind cursor :1 = var, :2 = var2  // bind values to cursor (for insert)
      exec cursor // do SQL insert
    end while
    close cursor  In this case a single soft/hard parse - and the client uses that cursor handle to execute that cursor (insert data) program again and again.

  • Url does not show up in address bar...and when i type in a search box, the cursor jumps up to the address bar automatically

    I'm not sure what happened. However, I can never see the URL in the address bar anymore.
    I go from page to page, and the URL shows only for a split second, then disappers.
    All the address bar says is "Search or enter address"
    I copy and paste a lot of URL links for work, so this makes it very painful and a hassle now.
    Where now i need to go back, right click on a link, and do "copy link location".
    Where as i used to just go up to the address bar and copy the URL.
    Also, I notice now when I start typing on certain search boxes.
    The cursor automatically jumps to the URL address bar as soon as I start typing. Which is really annoying.
    It will only do it once it seems....but its annoying when i try to type a search...only to see that i've been typing in the URL address box cus it jumped up there.
    PLEASE HELP!!!!

    Try some basic troubleshooting.
    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Unable to set the Cursor focus on a particular field in OA Page

    Hi,
    I have a custom page with 3 controllers . Now when i delete a row from the Advance table, the focus of the cursor goes to the top of the page. My requirement is that, the focus should remain in the Advance table region itself.
    I tried to set the focus using the below code. It dosent work. Could there be an issue since iam using more than one controller for the page?
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    bodyBean.setInitialFocusId("item164"); // item164 is the messageTextInput field in the Advance table region.
    I tried to get the Initialfocus value after its set. The value shows as 'item164'. However , it doesnt focus on that item.
    Please help me out in fixing this issue.
    Thanks
    AG

    Hi,
    Thanks for the Info. Can you help me with this java script or if you can provide me any reference it would be hepful.
    Basically the focus has to stay in that particular AdvanceTable region where the row is deleted. Not required that the focus has to point to the next row after the delete.
    Thanks
    AG
    Edited by: 928445 on Apr 26, 2012 12:06 AM

  • T-SQL: Cursor is not advancing to next record

    SQL Version:  2008 R2
    Problem:  I have the code below which uses a cursor.  The cursor keeps returning the first record and does not advance to the next record in the cursor.  It appears as if the Fetch Next is not being recognized.  The Select
    Statement in the cursor declaration returns two records which is the result set I expect to be contained in the cursor record set.
    ...bob sutor
    SQL CODE:
    DECLARE
      @ProcessGroupID nchar(4)
     , @RemoveAuditUser nchar(128)
    DECLARE CertGroupCursor CURSOR FOR
     SELECT DISTINCT CertGroups.GroupCode, CertGroups.RemoveAuditUser
         --, UserControl.ProcessGroupID, UserControl.VPUserName
     FROM udCertGroups AS CertGroups
      LEFT JOIN udAuditUsers AS UserControl
      ON CertGroups.GroupCode = UserControl.ProcessGroupID
     WHERE CertGroups.GroupCode = UserControl.ProcessGroupID
      AND CertGroups.RemoveAuditUser = UserControl.VPUserName
    OPEN CertGroupCursor
     FETCH NEXT FROM CertGroupCursor INTO @ProcessGroupID, @RemoveAuditUser
     WHILE @@FETCH_STATUS = 0
     Print @ProcessGroupID + '-' + @RemoveAuditUser
     DELETE FROM udAuditUsers
      WHERE ProcessGroupID = @ProcessGroupID
       AND VPUserName = @RemoveAuditUser
     FETCH NEXT FROM CertGroupCursor INTO @ProcessGroupID, @RemoveAuditUser
    CLOSE CertGroupCursor
    DEALLOCATE CertGroupCursor
    Bob Sutor

    The real question is how to get rid of this mess. Think about the local “@remove_audit_user” as a variable; it's name is a verb, not a noun! and the NVARCHAR(n) lets you use Chinese Unicode. Why? In ISO-11179 rules , “remove_” is a called a role, and the
    audit user would be the attribute with the attribute property “_user” in a valid data model. Where is the table that models “audit_users”? It has to be here by definition. 
    One of the first rules of data modeling is that a data element has one and only one name. This is a results of the Law of Identity in Logic (A is A: to be is to be something in particular, to be nothing in particular or many things in general is to be nothing
    at all). 
    So how did “G.remove_audit_user = U.vp_user_name” occur??  ANSWER: lack of a design!
    Your “G.group_code = U.process_group_id” is wrong. An identifier is not a code! TOTALLY DIFFERENT type of data elements! Do you have a postal code or a postal id? Blood_type or blood_id?  Etc.? Have you ever read a book on basic data modeling? 
    The purpose of PRINT is debugging and not output. We had  joke in the ANSI X3H2 Committee that SQL means “scarcely Qualified as a Language” because there is no I/O. PRINT will screw up performance in so many ways. 
    In a properly designed schema, we seldom use SELECT DISTINCT; we have keys and a valid schema that does not produce redundant duplicate rows. It might be valid, but after 30+ years of SQL, I would bet against it. 
    Your statement would use an EXISTS() predicate to handle multiple columns and conditions. But you did not bother with DDL, as required by basic Netiquette, so here is the skeleton I can give you. 
    DELETE FROM UD_Audit_Users
     WHERE EXIST
           (SELECT *
              FROM UD_Cert_Groups AS G
             WHERE G.process_group_id = ?? 
               AND G.vp_user_name = ??;
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Help needed for using BASIC authentication through JDBCRealm

    Help needed.
    Hello,
    I am doing a degree project, so far it works fine in my local machine, I need to try it on my virtual hosting (as it is a live server).
    My project requires JDBCRealm, that is BASIC authentication loading access data from mysql database. Normally this setup can be done in Server.xml file, because my Tomcat hosting is a virtual one, I only have permission to access the web.xml file.
    My question is: is it possible to get it done in an alternative way? In web.xml? Some properties file maybe?
    Thank you very much.

    You can set this up for your context using META-INF/context.xml instead of working with server.xml.
    Make a directory called META-INF under your webapp ( it'll be at the same level as WEB-INF ). Under this, add a context.xml with all your context specific configuration including the realm. A sample is below
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/myApp" reloadable="true">
        <Realm
            className="org.apache.catalina.realm.JDBCRealm"            
            driverName="com.microsoft.jdbc.sqlserver.SQLServerDriver"         
            connectionURL="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=myDB;SelectMethod=Cursor;"
            connectionName="username" connectionPassword="password"
            digest="MD5" userTable="users" userNameCol="userid" userCredCol="userpassword"
            userRoleTable="user_roles" roleNameCol="rolename"
        />
    </Context>Hope this helps.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    ----------------------------------------------------------------

  • Ref Cursor over Implicit and explicit cursors

    Hi,
    In my company when writing PL/SQL procedure, everyone uses "Ref Cursor",
    But the article below, says Implicit is best , then Explicit and finally Ref Cursor..
    [http://www.oracle-base.com/forums/viewtopic.php?f=2&t=10720]
    I am bit confused by this, can any one help me to understand this?
    Thanks

    SeshuGiri wrote:
    In my company when writing PL/SQL procedure, everyone uses "Ref Cursor",
    But the article below, says Implicit is best , then Explicit and finally Ref Cursor..
    [http://www.oracle-base.com/forums/viewtopic.php?f=2&t=10720]
    I am bit confused by this, can any one help me to understand this?There is performance and there is performance...
    To explain. There is only a single type of cursor in Oracle - that is the cursor that is parsed and compiled by the SQL engine and stored in the database's shared pool. The "+client+" is then given a handle (called a SQL Statement Handle in many APIs) that it can use to reference that cursor in the SQL engine.
    The performance of this cursor is not determined by the client. It is determined by the execution plan and how much executing that cursor cost ito server resources.
    The client can be Java, Visual Basic, .Net - or a PL/SQL program. This client language (a client of SQL), has its own structures in dealing with that cursor handle received from the SQL engine.
    It can hide it from the developer all together - so that he/she does not even see that there is a statement handle. This is what implicit cursors are in PL/SQL.
    It can allow the developer to manually define the cursor structure - this is what explicit cursors, ref cursors, and DBMS_SQL cursors are in PL/SQL.
    Each of these client cursor structures provides the programmer with a different set of features to deal with SQL cursor. Explicit cursor constructs in PL/SQL do not allow for the use of dynamic SQL. Ref cursors and DBMS_SQL cursors do. Ref cursors do not allow the programmer to determine, at run-time, the structure of the SQL projection of the cursor. DBMS_SQL cursors do.
    Only ref cursors can be created in PL/SQL and then be handed over to another client (e.g. Java/VB) for processing. Etc.
    So each of the client structures/interfaces provides you with a different feature set for SQL cursors.
    Choosing implicit cursors for example does not make the SQL cursor go faster. The SQL engine does not know and does not care, what client construct you are using to deal with the SQL cursor handle it gave you. It does not matter. It does not impact its SQL cursor performance.
    But on the client side, it can matter - as your code in dealing with that SQL cursor determines how fast your interaction with that SQL cursor is. How many context switches you make. How effectively you use and re-use the SQL (e.g. hard parsing vs soft parsing vs re-using the same cursor handle). Etc.
    Is there any single client cursor construct that is better? No.
    That is an ignorant view. The client language provides a toolbox, where each tool has a specific application. The knowledgeable developer will use the right tool for the job. The idiot developer will select one tool and use it as The Hammer to "solve" all the problems.

  • What causes a slow mouse/cursor response on a fast machine?

    I have a system that has always displayed poor cursor redraw performance with certain adobe applications.   All rendering and other effects are fast, but basic mouse selections and button knobs are extremely unresponsive.   I have searched and searched and can not seem to find out what causes the mouse cursor speed issues.   Does anyone have any ideas as to why my mouse would slow for such basic Interface interactions?    Do I need to change my hardware, settings, displays, BIOS, etc?
    Any insight into what the mouse redraw/refresh is called in terms of computing would help me search for a solution.  And if you have a solution as to why my mouse cursor acts drunk and sluggish when interacting with the Adobe UI's in premiere and after effects and sometimes Photoshop I would greatly appreciate the help.
    Thank You.  I attached a screen shot of a very basic selection interaction that is dog slow.  The selection box redraws like there is a lag in some process associated with the square box overlay.
    Computer Specs
    Windows 7 64
    ASUS Z9PE-d8
    dual xeon
    64 gig ram
    quadro 5000 (driving two 30 inch dell monitors of different models  One DVI-D and the other Display Port)
    512 SSD main drive with windows Swap on 10k Raptor drive.
    *All have been updated and the issue remains for over a year and a half.
    Thank you so much.
    Cliff

    Your answer is in this part of your specs:
    > (driving two 30 inch dell monitors)
    It takes a long time to draw and redraw the pixels to the screen(s) with such large monitors.
    We can mitigate this by making some changes in how our UI is drawn to the screen, and such changes are a rather high priority for use to work on for the near future.

  • Copying value from one cursor to another

    Hi,
    I have a problem while copying values from one cursor to another cursor.
    The code looks like below.
    PROCEDURE XYZ
                TransactionResultSet OUT NOCOPY types.ref_cursor,
    IS
                temp_cursor types.ref_cursor;
                wip_rec types.ref_cursor;
    BEGIN
    DECLARE
                    CURSOR temp_cursor IS
                SELECT ...........
    END;
    BEGIN     
        FOR wip_rec IN temp_cursor
        LOOP
        update tinsagr set something
        where {the condition}
            IF SQL%ROWCOUNT = 0 THEN
      dbms_output.put_line('this is test ');
            Fetch wip_rec into TransactionResultSet;
         END IF;
       END LOOP;so basically i want to iterate the "temp_cursor" and depending on the values i get it from here i shall update a table. Actually i want to exclude few records from "temp_cursor" and add it/copy rest of the records to "TransactionResultSet"
    That means say initially " temp_cursor" has 100 records and i updated 5 records in a table and same number of records should be excluded and rest should be added to the output cursor TransactionResultSet.
    How do i achieve it?
    while saving i am getting
    (1): PLS-00456: item 'WIP_REC' is not a cursor.
    Do any one has any idea what to do in such scenario?

    There are options like....
    SQL> CREATE OR REPLACE TYPE emp_obj AS OBJECT (ename VARCHAR2(50), dept NUMBER);
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_tbl IS TABLE OF emp_obj;
      2  /
    Type created.
    SQL> set serverou on
    SP2-0158: unknown SET option "serverou"
    SQL> set serverout on
    SQL> DECLARE
      2    rc      sys_refcursor;
      3    v_ename emp.ename%TYPE;
      4    v_dept  emp.deptno%TYPE;
      5    ---End Of Local Varriable Declaration
      6    --Procedire declaration !
      7    PROCEDURE TEST_CUR(pi_out_ref_cur IN OUT sys_refcursor) IS
      8      emp_rec emp_tbl;
      9    BEGIN
    10      /* This BULK COLLECT can be done with explicit cursor,Ref Cursor
    11      with some simple modification, Here I have used implicit cursor! */
    12      SELECT emp_obj(ename, deptno) --Casting as the object
    13      BULK COLLECT
    14        INTO emp_rec
    15        FROM emp
    16       WHERE deptno = 10;
    17   
    18      dbms_output.put_line('Records selected are:');
    19      FOR i in 1 .. emp_rec.COUNT LOOP
    20        dbms_output.put_line(emp_rec(i).ename || '--' || emp_rec(i).dept);
    21      END LOOP;
    22      --Now we are filtering the record and may be doing some operation with each record.
    23      FOR i in 1 .. emp_rec.COUNT LOOP
    24        IF emp_rec(i).ename = 'KING' THEN
    25          --You can change this IF according to your need.
    26          emp_rec.DELETE(i);
    27        END IF;
    28      END LOOP;
    29      OPEN pi_out_ref_cur FOR
    30        SELECT * FROM TABLE(emp_rec); --Using the TYPE AS table.
    31    END TEST_CUR;
    32    /* Main execution or procedure calling section*/
    33  BEGIN
    34    --Actual calling
    35    TEST_CUR(rc);
    36    dbms_output.new_line;
    37    dbms_output.put_line('Now in Ref Cursor');
    38    dbms_output.put_line('****************');
    39    LOOP
    40      FETCH rc
    41        INTO v_ename, v_dept;
    42      dbms_output.put_line(v_ename || '--' || v_dept);
    43      EXIT WHEN rc%NOTFOUND;
    44    END LOOP;
    45 
    46  END;
    47  /
    Records selected are:
    CLARK--10
    KING--10
    MILLER--10
    Now in Ref Cursor
    CLARK--10
    MILLER--10
    MILLER--10
    PL/SQL procedure successfully completed.
    SQL>

  • Black Screen with mouse cursor

    Hello
    We are an enterprise organization with staffs logging in to their systems using domain username and password.
    For some of our users having Windows 7 as OS, when they log in with their domain credentials a blank screen appears with movable mouse cursor, this screen does not go away until we disconnect them from LAN as well as wireless after which only the login
    happens.
    Kindly suggest how to resolve this issue

    Hi,
    Have you tried the suggestion Cyber_Defend_Team provided?
    If the issue persists, start the computer in Safe mode to check the result:
    If it doesn't reappear when you start in safe mode, you can eliminate the default settings and basic device drivers as possible causes. If a recently installed program, device, or driver prevents Windows from running correctly, you can start your computer
    in safe mode and then remove the program that's causing the problem.
    If it still in the safe mode, we may need to repair the installation with the recovery media.
    In addition, please logon the problematic computer with the domain user account which works fine in other computer to test to see if it's the user account issue.
    Karen Hu
    TechNet Community Support

Maybe you are looking for

  • Replaced an asset and now project won't open

    I was finishing up some subtitles when I noticed an audio problem that needed to be corrected. So I saved my DVDSP4 project, quit the program, then made a quick audio cut in FCP. The amount of audio cut was less than a second. And because I cut my au

  • Is it possible to install and run Windows Server 2008 on a Mac Mini Server in a Virtual Machine software like Parallels

    I am wondering if it is possible to install and run Windows Server 2008 on a Mac Mini Server as a VM as my main application uses Windows VisualBasic and Fox Pro and requires a Static IP to connect to it, My other offices connects to Windows Server vi

  • HELP!!:  Report Width And Size Problem

    Hello everybody I'm developing reports for Oracle Applications. Question. 1.Can i develop a 255 column report for oracle applications. If yes Then 2.What would be the report width in inches for a 255 Column Report. If inches Given 3.What style would

  • Use JNI to Read C++ Structure from a Socket

    Hi all, I'm new to JNI and I have a problem for reading a tcp stream from a C++ server in my Java client. Does someone now if it's possible to use JNI to "cast" my tcp stream (array of byte) in a java structure (class of data) ? I've heard about Stru

  • Missing user role assignments

    Hello Gurus, We have a strange issue in our ECC production environment. The role assignments for a few users are missing. The roles were assigned to these users almost a year back. The change documents do not show any record of the role assignment be