Find out the locking information

Hi,
In oracle form, if a user tries to update a record which has been locked by others,
it will automatically shows the locking error.
How can I achieve it if I want to show the locking information such as the user who
locked the record instead of the simple locking error.
Many thanks in advance.
Ivan

Look at
Re: How to find the lock on a record??

Similar Messages

  • How to find out the locks in BPS & IP

    Hi Viewers,
    Can any body tell me how to find out the locks in BPS and same thing in IP.If possiable provides navigation steps also.
    Thanks & Regards,
    Venkat Vanarasi.

    Dear Venkat,
    You can use SM12 Transaction code for Lock Management.
    Regards,
    Malik
    If reply is useful Dont forget about the points.

  • Is there any way to find out the dependency information for column of view?

    Does Oracle provide some view / table / pl/sql pkgs to find out the dependency information for column of view ?
    For example, there are two table mytable1 (col1 varchar2(10), col2 date) & mytable2 (col1 varchar2(10), qty int), and there is one view myView as
    select mytable1.col1, col2, qty from mytable1 inner join mytable2 on mytable1.col1 = mytable2.col
    Can I get some information such as myView.col1 is come from mytable1.col, myView.col2 is come from mytable1.col2, myView.qty is come from mytable2.qty
    ?

    I can get the information about the columns list in table/view from ALL_TAB_COLUMNS table, but I wish to know the column in the view is come from which original table's column.
    Is there any way to find it out from Oracle meta data / through any PL/SQL packages ?

  • How to find out the locks

    How to find out which user has accuired the lock and which type user has accquired the locks.

    SQL> select l1.sid, ' IS BLOCKING ', l2.sid
    2 from v$lock l1, v$lock l2
    3 where l1.block =1 and l2.request > 0
    4 and l1.id1=l2.id1
    5 and l1.id2=l2.id2
    SQL> /
    SID 'ISBLOCKING' SID
    422 IS BLOCKING 479
    1 row selected.
    Even better, if we throw a little v$session into the mix, the results are highly readable:
    SQL> select s1.username || '@' || s1.machine
    2 || ' ( SID=' || s1.sid || ' ) is blocking '
    3 || s2.username || '@' || s2.machine || ' ( SID=' || s2.sid || ' ) ' AS blocking_status
    4 from v$lock l1, v$session s1, v$lock l2, v$session s2
    5 where s1.sid=l1.sid and s2.sid=l2.sid
    6 and l1.BLOCK=1 and l2.request > 0
    7 and l1.id1 = l2.id1
    8 and l2.id2 = l2.id2 ;
    BLOCKING_STATUS
    BULKLOAD@yttrium ( SID=422 ) is blocking BULKLOAD@yttrium ( SID=479 )

  • How to find out the provider information of a cell phone (from deceased relative)

    Hello all!
    I have an odd sort of question that I am hoping for some help on.  My wife's uncle recently passed away and we are now in possession of his old cell phone.  He was slightly estranged from the family and didn't share a lot of information so we currently have no idea whether this phone is prepaid or if it uses a service provider.  We would like to find out who the provider is, if there is one, so that we can cancel service, but are not sure how to go about doing this.  We have been unable to find any information on his phone as of yet.  Is there any way that this information can be found?
    Thank you so much for the help!

    http://http://www.peoplesmart.com/phone
    Enter the number, the next screen will show the provider.
    Other option, just call *611 from the phone

  • How to find out the locks in the table

    Any query anybody have to find out locks in any table.

    Here is a version with SID and serial# data:
    set linesize 150;
    set head on;
    col sid_serial form a13
    col ora_user for a15;
    col object_name for a35;
    col object_type for a10;
    col lock_mode for a15;
    col last_ddl for a8;
    col status for a10;
    break on sid_serial;
    SELECT l.session_id||','||v.serial# sid_serial,
           l.ORACLE_USERNAME ora_user,
           o.object_name,
           o.object_type,
           DECODE(l.locked_mode,
              0, 'None',
              1, 'Null',
              2, 'Row-S (SS)',
              3, 'Row-X (SX)',
              4, 'Share',
              5, 'S/Row-X (SSX)',
              6, 'Exclusive',
              TO_CHAR(l.locked_mode)
           ) lock_mode,
           o.status,
           to_char(o.last_ddl_time,'dd.mm.yy') last_ddl
    FROM dba_objects o, gv$locked_object l, v$session v
    WHERE o.object_id = l.object_id
          and l.SESSION_ID=v.sid
    order by 2,3;

  • Need to find out the hierarchy information of a particular Menu

    I have written a query using "select ... start with initial-condition connect by recurse-condition" syntax to get the Hierarchical information for a prticular menu.
    select count(SUB_MENU_ID) from FND_MENU_ENTRIES_VL
    start with MENU_ID = 76580
    and SUB_MENU_ID is not null
    connect by prior menu_id=sub_menu_id
    O/P: *16*
    Now if I write the query to get the number of record manually upto level 2 thats gives me the output as *36*.
    select distinct(SUB_MENU_ID) from FND_MENU_ENTRIES_VL
    where MENU_ID = 76580
    and SUB_MENU_ID is not null
    union
    select distinct(SUB_MENU_ID) from FND_MENU_ENTRIES_VL where MENU_ID in(
    select distinct(SUB_MENU_ID) from FND_MENU_ENTRIES_VL where MENU_ID = 76580
    and SUB_MENU_ID is not null)
    Please let know whats wrong with the first query.

    Hi,
    Whenever you have a question, please post CREATE TABLE and INSERT statements for your sample data, so that the people who want to help you can re-create the problem and test their ideas. From looking at your posting:
    981094 wrote:
    SUB_MENU_ID     MENU_ID
    67723     72570
    67723     72581
    77139
         76580It's impossible to know even which columns are NULL.
    Read the forum FAQ {message:id=9360002} again, especially the part about sample data (section 7) and the part on \ tags (section 9).
    If you want to restrict a CONNECT BY query to LEVEL<x, then just include that condition in the CONNECT BY clause:SELECT COUNT (sub_menu_id)
    FROM      fnd_menu_entries_vl
    START WITH     menu_id          = 76580
    AND     sub_menu_id     IS NOT NULL
    CONNECT BY      PRIOR menu_id     = sub_menu_id
         AND     LEVEL           <= 2
    You could also put that condition in a WHERE clause, to discard the rows after they were found.  But it's more efficient to put conditions like that in the CONNECT BY clause, so the unwanted rows are not found in the first place.
    Your CONNECT BY query does not consider whether the sub_menu_ids found were distinct or not.  If you're trying to find an alternative query that does not use CONNECT BY, why are you including DISTINCT when that wasn't part of the original query?
    In the UNION query you posted, the first branch (before the keyword UNION) corresponds to LEVEL=1 of the CONNECT BY query, but the second branch (after the keyword UNION) corresponds to what would be LEVEL=2 if the CONNECT BY condition was
    "menu_id = PRIOR sub_menu_id", but for your CONNECT BY condition:
    "PRIOR menu_id = sub_menu_id", a corresponding UNION query would be:SELECT sub_menu_id
    FROM      fnd_menu_entries_vl
    WHERE     menu_id      = 76580
    AND     sub_menu_id     IS NOT NULL
    UNION ALL
    SELECT sub_menu_id
    FROM     fnd_menu_entries_vl
    WHERE     sub_menu_id IN (
              SELECT menu_id     -- DISTINCT not needed in an IN sub-query
                   FROM fnd_menu_entries_vl
                   WHERE menu_id     = 76580
                   AND sub_menu_id     IS NOT NULL
    Depending on what results you want, you may or may not need SELECT *DISTINCT* outside of the IN-subquery, but you never need DISTINCT in the IN-subquery.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Help me to find out the brushes information?

    Is it possible to find out wheather the "textframe" and "stroke" contains the "Brushed object" or not in "illustrator cs" through javascript or vbscript. Please help me.

    Anybody please!

  • Help me to find out the color information in illustrator

    I need to know how to get the counting of RGB objects, CMYK Objects and Grayscale Objects information for illustrator vector(editable) file via script for windows.
    In illustrator raster image file i need to know how to get the Embedded image information(CMYK or RGB or Grayscale) via script for windows.
    I collect these infomation manually from "Windows->Document info". I saved the "Document Info" details in illustrator manually using "Document Info Pannel". I dont know how to save the information through illustrator action. Could you please advice me.
    Thanks,
    Prabudass

    Anybody please!

  • Purchased iphone and its still registered under previous owner and don't/can't find out the needed info. how can I activate with my info?

    I purchased and Apple Iphone 4S 8g from a girl and it is still linked to her boyfriends Apple ID. He is in basic training and can not be contacted to find out the needed information to unhook the phone from his Find my Iphone. How can I go around needing that info to activate the phone under me so it can be used? I have already tried the Forgot passcode for your iphone and successfully restored the phone but it didnt fix the needing Apple ID of previos owner problem.

    You need to send the person who set the lock these instructions and get that person to follow them. If neither the person who set the lock nor the device's original owner can be reached, it's useless to you.
    Apple won't remove the lock for anyone other than the device's original owner. The activation lock is an anti-theft measure.
    (117468)

  • Find out the original provider

    Good evening,
    I´ve tried to search issues like this but can`t found any in the "3GS" topic, just one which doesn`t helped me.
    At first I want to excuse my german-school-english.
    My parents bought an iPhone and it has a simlock. In germany the only provider was long time T-Mobile and now there are O2 and Vodafon, too.
    I thought it will be locked on T-Mobile - I`ve a contract with T-Mobile - but when I will activate, it tells me theres a wrong sim-card in it.
    After that I tried with a Vodafon and an O2-Sim from my sisters, but without success. Now I think it has to be from an other country.
    However, in the moment I want to try to contact the right provider to make a contract with them or unlock it legality with the agreement of the provider.
    In this case I need to know the provider, I think.
    Is there any option to find out the lock-provider before activation?
    Perhaps over the Hotline?
    Even the country it was sold could help me.
    I`d happy to help
    faithfully,
    Jan-Peter

    Good news O2 do unlock but only if the iPhone is working and used in the UK
    This the O2 guidance
    http://www.o2.co.uk/unlockmyiphone
    You would need to buy an O2 PAYG sim in the UK use the iPhone IN the UK so the IMEI is recognised
    by the O2 network and then follow the instructions above ensuring you have enough credit on the sim etc.
    Probably not what you want to hear but emphasises the risks of buying on ebay from unscrupulous
    vendors

  • How to find out, who locked the same row

    Dears,
    I have a problem,
    sometimes our user complain that, when he tyring to make a transaction to a specific customer's Account
    its says 'Some other user access the same account, keep trying...' (like this).
    and in this response I just kill that user's session. then he can make the transaction by reconnecting.
    sometimes my solution(killing the session) can not slove this problem.it stayed even 5/6 hours long.
    in this time,i cannot find any bloking session or such a long waiting session.
    In this Scenario..
    I need to find out who(SID,SERIAL#,USERNAME) locked the same ROW (not table).
    There are many users who are locking different rows of the same table at the
    same time. I need to find the one who locked my row.
    is it possible to find out, who locked the specific customer's Account ?
    I am trying to find out by the following query but failed.
    SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id
    SELECT *
    FROM (SELECT s.SID, serial#, machine, osuser, terminal, b.object_name,
    row_wait_obj#, row_wait_file#, row_wait_block#, row_wait_row#,
    DBMS_ROWID.rowid_create (1,
    row_wait_obj#,
    row_wait_file#,
    row_wait_block#,
    row_wait_row#
    ) rowidd
    FROM v$session s, dba_objects b
    WHERE s.row_wait_obj# = b.object_id)
    WHERE rowidd IN (SELECT ROWID
    FROM account_mas
    WHERE branch = '999' AND accout_no = '009990215454')
    please help me...
    My Database version- 10.2.0.4, windows
    Regards
    Halim
    Edited by: Abdul Halim on Oct 26, 2009 2:43 AM

    Just check with this query, find the lock and kill the session.
    select b.session_id ,a.SERIAL#, a.username "Blocker Details"
    from v$session a,dba_lock b
    where b.session_id = a.sid
    and b.blocking_others = 'Blocking';
    Regards
    Asif kabir

  • How to find out the save as setting information in illustrator cs3?

    How to find out the save as setting information in illustrator cs3 through programmatically. I saved the file using the setting like Overprint, EmbedAllFonts, IncludeDocumentThumbnails throgh scripting. But i don't know how to find out the save as setting information(Overprint, EmbedAllFonts, IncludeDocumentThumbnails) whether the checkbox true or not through scripting. Kindly advice me.

    Thanks for your response. Some time the operator will set the wrong "save as setting" in the eps file . So i need to check wheather the operator set the correct save as setting or not. If the operator set the wrong save as setting,  i need to inform while running the script. So please advice me how to find out the save as setting information of the active document file, and then inform to the operator if any improper "save as setting" occured.

  • How to find out the account group information in customer master record?

    how to find out the account group information in customer master record?
    in which tab? thanks in advance

    Hi
    Go to XD02 and select the Extras from the main menu , you will find Account group info -> click on the No.ranges.
    reward if it helps
    SR

  • How to find out the tables effected information from oracle from

    can any one tell me how to find out the tables effected information from oracle form

    Hi,
    Please refer to the following documents.
    Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
    Note: 241628.1 - How to Find the Query That Succeeded Recently?
    Regards,
    Hussein

Maybe you are looking for