SQL Developer in Read-Only-Mode

Oracle SQL Developer version 1.2.1 BUILD MAIN-32.13
Running under WinXP
Issue description:
Impossible to start SQL Developer in Read-Only-Mode for certain users who should not be able to modify any data.

The feature is under consideration in http://htmldb.oracle.com/pls/otn/f?p=42626:39:3043613241465472::NO::P39_ID:4701, but something similar was previously rejected in http://htmldb.oracle.com/pls/otn/f?p=42626:39:3043613241465472::NO::P39_ID:2741 ...
K.

Similar Messages

  • SQL Server database (read-only mode) in Oracle SQL Developer

    Hello,
    I connected SQL server database with Oracle SQL Developer 3.2.10.09, everything looks good except i can only browse data, i cannot change data in tables cannot insert new or delete rows. Query is also disabled (i got message: Query Builder is not supported for this connection type.) I used Third Party JDBC Drivers - jtds-1.2.6.jar as my connection to SQL server. Is there a way to change data in tables?
    Thank you.

    AFAIK editing table data in the grid is only possible with an Oracle database. On MS SQL you'll have to use update statements in the worksheet.
    Hope that helps,
    dhalek

  • Remove Standby/Read only mode for a database in sql server 2005

    Hi,
          I have a problem in sql sever . my database is showing standby/read-only mode. i want to remove that mode.please help me for the issue.

    HI
    Did you assign any DB read only user?
    check the administrator guide in your SAP Business one->Documntation->system setup->Administrator guide...
    but removing DB read only user is impossible.....

  • How to provide a LINK on normal TEXT field in read only mode

    Hi,
    I have a TEXT item and that is used for only url purpose.
    so a user can enter something like http://www.abc.com in that field.
    So when I am in read only mode for that item, I want a link also on that text..
    how can I do that.
    thanks,
    Deepak

    You could create a pl/sql expression computation on the TEXT item which will convert the value shown for the field to be a HTML link
    '<a href="http:// ' || :PXX_TEXT || '">' || :pXX_TEXT || '</A>';Make the computation conditional using the same condition as is used to render the item as read-only
    varad

  • Unable to open database in READ ONLY mode

    When trying to open database in READ ONLY MODE it says needs recovery. How ever database opens succesfully in READ WRITE MODE.
    1) Startup mount
    2) SQL> ALTER DATABASE OPEN READ ONLY;
    ALTER DATABASE OPEN READ ONLY
    ERROR at line 1:
    ORA-16005: database requires recovery
    But database opens succesfully when opened in READ WRITE mode.

    user12038051 wrote:
    When trying to open database in READ ONLY MODE it says needs recovery. How ever database opens succesfully in READ WRITE MODE.
    1) Startup mount
    2) SQL> ALTER DATABASE OPEN READ ONLY;
    ALTER DATABASE OPEN READ ONLY
    ERROR at line 1:
    ORA-16005: database requires recovery
    But database opens succesfully when opened in READ WRITE mode.
    sqlplus '/as sysdba'
    shutdown imediate;
    startup;
    shutdown imediate;
    startup mount;
    recover database;
    alter database open read only;

  • Shuttle issue when in read only mode

    version: Application Express 3.2.0.00.27
    I have created a shuttle based on an LOV. It displays the correct values on the left.
    select party_name d, party_id r
    from tbl_parties
    order by 1The right side is populated as a source from a function that returns the ID delimited by a colon(ID1:ID2).
    When in edit mode(not read only). The shuttle functions and displays correctly. In readonly mode however what is displayed is only the ids and not the description.
    The description of each value(id) is displayed correctly in edit mode.
    I also tried using a sql query instead of a function as the source. When I do that, the description is displayed but just one record(even though more then one should return). This is in read only mode. In edit more nothing returns.
    Source for the sql is
    Select party_name d , ':' , p.party_id r
    from tbl_authorization_parties a, tbl_parties p
    where a.party_id = p.party_id
    and a.authid = :P14_AUTHIDalso tried:
    Select party_name d ,  p.party_id r
    from tbl_authorization_parties a, tbl_parties p
    where a.party_id = p.party_id
    and a.authid = :P14_AUTHIDWith sql as a source in edit mode nothing is displayed on the right side.

    Hi ashalon,
    have you checked APEX 4.1, because I think in the most current version this is not the case anymore. You can test 4.1 on apex.oracle.com.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Sharing a view in read only mode

    Hi,
    I am new in this domain. I have made an application in which I made two local development projects. Through that I am using views of one into another with the help of "Used WebDynpro Components" concept. After deploying, I have got these two views.
    But the problem is that I want that view in read only mode which I have taken from other local development project and this view was not in read only mode in its local development projects.
    Please provide me the solution in detail so that I can understand easily.

    Hi Manish,
                   Say View1 is the view in main Component,View2 is the view in used Component.  Exactly follow these steps.
    Create a context attribute <b>enable </b>of type String in used Component's controller,used Component's Interface controller, View1 and View2.
    Using context mapping map these attributes  View2 ->  used Component's controller->  used Component's Interface controller -> View1 ( if you don't know how to map double click the  the Main component: Data navigation modeler is opened; In  the diagram, right side select small arrow  first select  View1 drag to used Component's Interface controller,in the wizard select right hand side <b>enable </b>attribute drag to left side)
    you can map similarly View2 ->  used Component's controller->  used Component's Interface controller.
    In View2 create another variable <b>edit </b>of boolean type.
    Open Layout tab of View2, bind this attribute to enable property of all the UI elements which you want to disable.
    In  implementation tab of View1 in method wdDoInit() write this code
    wdContext.currentContextElement.setEnable("display");
    In  implementation tab of View2 in method wdDoInit() write this code
    if(wdContext.currentContextElement.getEnable().equalIgnoreCase("display"))
    wdContext.currentContextElement.setEdit(false);
    else
    wdContext.currentContextElement.setEdit(true);
    Hope this helps for you.
    Best regards,
    Siva
    Message was edited by:
            Armin Reichert

  • Want to transfer in read only mode

    Hi All
    I had created one form and one report.i want when user enter the data in form that time data will save in intereactive report which already in same page.And the data which i fill in the form that would be reamin in form but in read only mode.And when i click on button EDIT button of intereactive report then form data will trasfer to read only mode to editable mode.
    can anyone help me with that
    Thanks
    rommy

    Rommy:
    Take a look now. I have made the following changes
    1) Made the pl/sql region conditional with the following condition
    not :request in ('CREATE');
    2) Modified the definition of the 'Create' button on page 1 to set the Request to 'CREATE'
    3) Modified the edit link on the report in page 1 to set the Request to 'EDIT'
    4) Modified the branch on page2 to set the Request to 'EDIT'
    Varad

  • Open a document in read only mode

    HI All,
    I created a panel in which we have
    edit box which shows the document path
    Browse button to allow a user to select an indesign document
    "Open read only" button.
    My requirement is that after selecting an Indesign document if user click to "OPen read only" button then it will opened selected document in read only mode.
    I will be highly thankfull to all community memeber if anyone can give me some hint to achieve this.
    Regards,
    Alam

    Alam,
    If you change the attributes of the file before opening it to read only the file will be opened as read only by Indesign. And then you could place a responder that could clear this read only flag when the file is being closed so that the permissions are restored to the original state.
    Manan Joshi
      - Efficient InDesign Solutions -
    MetaDesign Solutions
    http://metadesignsolutions.com/services/indesign-development.php

  • It is possible to apply redo while the standby is open in read only mode ?

    Hi,
    I am using Oracle 11g R2 (11.2.0.1.0)
    Step 1: Two node RAC is Configured.
    Step 2: One node Data Guard RAC is configured.( i,e Standby is one node RAC).
    Primary:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ WRITE PRIMARY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Standby:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    Question:
    I have not purchased active dataguard license.
    In my case In Data Guard RAC it is possible to apply redo while the database is open in read only mode?
    Thanks
    Solaiman

    876149 wrote:
    SQL> select open_mode,database_role,PROTECTION_MODE,PROTECTION_LEVEL from v$database;
    OPEN_MODE DATABASE_ROLE PROTECTION_MODE PROTECTION_LEVEL
    READ ONLY WITH APPLY PHYSICAL STANDBY MAXIMUM AVAILABILITY MAXIMUM AVAILABILITY
    "READ ONLY WITH APPLY" in V$DATABASE.OPEN_MODE means Active Data Guard is enabled.
    Oracle code cannot check if you have the right license: it is up to you to know which license you have for your database environments.

  • Database Open in Read Only Mode

    Hi
    I would like to open database in read only mode
    like
    SQL> startup mount
    SQL> ALTER DATABASE OPEN READ ONLY
    this will open database for read only mode for all user
    i want to give read write access on database to one user
    any idea how i can proccess
    Thanks
    Chetan

    Hi,
    Alter database open read only;
    this should work fine and everything will be in read only mode. Hence if any auditing is going on and audit_trial=db then it fails to open the database in read only mode.
    If you want to control only users to stop writing to it, you may remove tablespace quotas for those users. Also, you may control them through grants. Remove any current grants assigned to them or to roles through which the grants are assigned.
    Several ways to do this. If you tell us the particular scenario then we might help in getting a solution.
    Regards,
    Vasu.

  • Editor stuck in read only mode

    Am able to connect to a 9i database, but am unable to edit any code. Logon appears successful, connection made, and am able to query the database. However, when I open stored procedures for editing, the edit window doesn't respond to any keystrokes.
    The editor behaves as though I were in some kind of read-only mode. However, when I exit the procedure, I am prompted to save "changes".
    James Brockman

    Logged this as a SR on Metalink and the problem seems to be down to use of colons in my connection names.
    I was using a naming convention of
    host:SID     for accounts connecting as system and
    host:SID:schema     for accounts connecting as specific schema
    Which nicely groups and orders my connections by host. Sadly this prevents edit of stored pl/sql units (package, procedures, functions)

  • View sharing in read only mode

    Hi,
    I have made an application in which I made two local development projects. Through that I am using views of one into another with the help of "Used WebDynpro Components" concept. After deploying, I have got these two views.
    But the problem is that I want that view in read only mode which I have taken from other local development project.
    Please provide me the code for the same.

    Hi,
    Create a context attribute of type boolean in your used component
    bind this to the controls
    set this attribute to true by default
    expose this context attribute through interface controller and set the value to false
    from used component.
    Regards
    Ayyapparaj

  • Starting database in Read only mode

    hi,
    i am using oracle 8i, we want to copy the Production database to other machine, but on starting that m/c database should be opened in read only mode without DBA interaction what to do for that. pl tell
    thanx in advance

    SQL> STARTUP MOUNT
    ORACLE instance started.
    Total System Global Area 177281688 bytes
    Fixed Size 453272 bytes
    Variable Size 150994944 bytes
    Database Buffers 25165824 bytes
    Redo Buffers 667648 bytes
    Database mounted.
    SQL> ALTER DATABASE OPEN READ ONLY;
    Database altered.
    SQL> DELETE FROM SCOTT.EMP;
    DELETE FROM SCOTT.EMP
    ERROR at line 1:
    ORA-16000: database open for read-only access
    kuljeet pal singh

  • TG4MSQL ora-28500 error on RECOVER login in READ-ONLY mode

    We're connecting from a 10.2 dbase to SqlServer2000 via TG4MSQL. No upfront problem connecting but the Oracle .trc file shows below error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Transparent gateway for MSSQL][Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'RECOVER'. (SQL State: 00000; SQL Code: 18456)
    Below is the content of .ora file:
    HS_FDS_CONNECT_INFO=INETSQL3.ComPro
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    We are using READ-ONLY mode so the RECOVER login was not defined on SqlServer.
    Anyone know why TG4MSQL is trying to open a connection as RECOVER? And is there a way to stop it?

    Pending transactions turned out to be the culprit. Below is info from our TAR that
    provides some detail on what RECOVER is doing.
    Oracle handles all transactions as if they were distributed transactions. He takes a very conservative approach on the assumption that you may want to update
    or insert later. This has been like this since Oracle version 6 and will never
    change. Hence all transactions get handled as a distributed transactions even though there are no simultaneous updates. A common remote transaction would involve reading from SQL Server and then taking that data an inserting into an Oracle database. In the event a transaction gets aborted for some reason RECO must rollback the transaction. SQL Server requires a valid username/password and hence uses the recovery username/password specified in the gateway init file. The default parameters for both are RECOVER , if they are omitted in the init.ora file for the gateway. Obviously these do not exist on SQL Server. Note that this recovery process is detected and processed by the Oracle kernel. READONLY mode only prevents inserts, updates or deletes to be issued to SQL Server and nothing else. The gateway has nothing to do with handling and monitoring transactions to SQLServer. In all likelyhood you have several in doubt transactions in the dba_2pc_pending view. As long as those entries remain RECO will continue to try and rollback these in doubt transactions and fail each time due to an invalid username/password. This will go on until you either manually remove them or give RECO a valid SQL Server username/password to use.
    OPTION 1
    ==========
    Code the follwing in your gateway init.ora file
    HS_FDS_RECOVERY_ACCOUNT=use the username specified in your db_link
    HS_FDS_RECOVERY_PWD=use the password specified in your db_link
    OPTION 2
    ==========
    Define a username with password RECOVER on the SQL Server database you are connecting to
    OPTION 3 (Manually removing in doubt transactions)
    ================
    Use dbms_transaction.purge_lost_db_entry(local_tran_id)
    STATUS should be in collecting
    Please see Metalink
    Note.126069.1 Ext/Pub Manually Resolving In-Doubt Transactions Different Scenarios
    for detailed information

Maybe you are looking for

  • Get document number in user exit EXIT_SAPLMRMC_001 (MIRO)

    Hi, i'm implementing exit MM08R002, FM EXIT_SAPLMRMC_001(changing tolerance check). In this FM I need to get document number that the user is modifying. But in the import parameters i don't have the document number. I have found FM (MRM_PROT_GET), wh

  • Client Login to own album

    Hi everyone, Is it possible to login and display an album for a specific client? I have set up two tables client_login and Wedding_alb, which both contain the field client_id. Each client has an album of wedding images that I want them to be able to

  • Employeee wise report

    Hi all, i have two account groups sold to and ship to my cliant has asked me give employee wise sales report can anybody suggest me on this issue cheers

  • Merge columns in an ALV Table

    Hi colleagues, is it possible to merge two or more columns in ALV Table (like ColSpan in the Matrix-Layout) to write a text over more than one column? I haven't found any solution for it until now. Best regards Stefan

  • Looking for alternative to Web Start

    Hello all, After a couple years of using Java Web Start to deploy our educational software to schools, we're starting to realize that we need a new deployment strategy. h4. Here's what we're looking for: 1. All files should be kept in OS-standard loc