Create a tab that points to an external link?

Hello

Oracle 11g r2.
Apex 4.1.1.00.23.

I need to create a tab that points to an external link (in fact a link to our old Forms application).

For now, I simply added the tab "manually" in the model by writing the necessary HTML code after the substitution #TAB_CELLS string #.
It works but it does not control permission scheme, etc.

Is there a way I can create a tab without associating it with an existing page, but pointing to an external link?

Thank you.

Yann.

Hello

OK, you didn't say in the first post you need to open the url in a new window.

But create tab that lead to the page zero.
Create a dynamic action in the zero page that is triggered when loading the page and alter the tab a tag href and adds the target attribute.

Set the permission tab and dynamic action

Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Tags: Database

Similar Questions

  • Contact data of visiting as part of an external link?

    We must create a link to a landing page that takes data extracted from the contact record and include it in a URL that points to an external site.  For example, suppose that we have to have a custom field called OrderID in our contact database and you want to end up with a URL that looks like this:

    " < a href =" http://www.externalpage.com/subpage?OrderID='12345' >

    How to find the value of the OrderID of the contact record and enter this amount as a dynamic variable in the URL?  I guess that it will take some javascript or a form blind or maybe a more complex expression which resolves the URL above, but I couldn't find something here on Topliners explaining the details.  Does anyone have any suggestions?

    Thank you

    Andy

    One of my colleagues told me this page:

    http://topliners.Eloqua.com/message/41403

    who has some good and detailed instructions on how to do what I'm trying to do.

  • Create dynamic tabs

    Hi I want to create a tab dynamically with a function in c, I had something like that, what am I missing? or whats wrong?

     QmlDocument *qml = QmlDocument::create("asset:///UIcities.qml").parent(this);
         AbstractPane *root = qml->createRootObject();
         Tab* tab = Tab::create().title("title").description("description");
         tab->setContent(root);
         tabbedPane->add(tab);
    

    In the header in C++, something like this:

    class YourApp : public QObject {
       TabbedPane* tabbedPane;
    
    public:
       Q_INVOKABLE void setPane( TabbedPane* pane );
    }
    

    Then in your cpp file:

    void YourApp::setPane( TabbedPane* pane ) {
       this->tabbedPane = pane;
    }
    

    And finally your QML:

    TabbedPane {
       id: tabbedPane
    
       onCreationCompleted: {
          app.setPane(tabbedPane);
       }
    }
    

    Of course, this assumes that you have exposed Yourapplication to QML app. Now you can access your TabbedPane anywhere in your CPP like this-> tabbedPane. The reason why I like to do it this way, it is that I am absolutely sure that the pane was created entirely before you set the pointer in C++. I had difficulties in the past using findChild() where the component had not been entirely built before I tried to access it.

    edusal100 wrote:
    Thank you, yes you are right, it is defined in my qml, can you do me a small example of the first?

  • How to create a polygon that covers a set of geometries?

    Hi people,

    I have a spatial table with the parcel data. Some are polygons and lines.
    What I have to do is to create a single polygon that covers all these plots.
    I tried some spatial functions, but the result is not perfect.
    Could you guys give some advice on how to do it using the Oracle Spatial functions?

    Thank you
    Luis

    Luis etc.,

    Delicate using the ST_PolygonBuilder (JTS) that implements my code SC4O Java-in-the-database and some coding, I managed to product a polygon that covers the data correctly.

    Note that I use only external linestrings which provides some Luis.

    -- First create a table holding only the outer lines.
    --
    create table outerLines as
      SELECT SDO_GEOMETRY(2002, 8292, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(-49.6878936628642, -18.4995538840232, -49.6875224063873, -18.4994400734344, -49.6882811644211, -18.4960292763006, -49.6886251490431, -18.4958803030445, -49.6906307026931, -18.4950115281619)) as geom from dual union all
      SELECT SDO_GEOMETRY(2002, 8292, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(-49.6884083531774, -18.4917625230274, -49.6886528151554, -18.4922451253898, -49.6898503241639, -18.4946091658756, -49.690098431643, -18.4950991112698, -49.6902068702432, -18.4950498009285, -49.6905958643821, -18.4948724904445)) as geom from dual union all
      SELECT SDO_GEOMETRY(2002, 8292, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(-49.6883413960309, -18.4918992292229, -49.6885491287687, -18.4923048595269, -49.6849860033691, -18.4934740072225, -49.6855427926656, -18.4945793006294, -49.6857982402423, -18.4950861997106, -49.6860079716291, -18.4955025995491, -49.6836133980005, -18.4962994912622, -49.6834396716227, -18.4957578264012)) as geom from dual union all
      SELECT SDO_GEOMETRY(2002, 8292, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(-49.6792385551751, -18.5000418095053, -49.6797119992317, -18.4998345697814, -49.6783397446724, -18.4980535328215, -49.6810365599698, -18.4971609552001, -49.6810385833744, -18.4971564511947, -49.6835051531636, -18.4963355157698, -49.6833312619652, -18.4958030666281)) as geom from dual union all
      SELECT SDO_GEOMETRY(2002, 8292, NULL, SDO_ELEM_INFO_ARRAY(1,2,1), SDO_ORDINATE_ARRAY(-49.6878678853177, -18.4996181336176, -49.6861731626715, -18.4991017919552, -49.6834080082784, -18.4982775371379, -49.6833583465082, -18.4983066497055, -49.6832975737928, -18.4983520405102, -49.6831594052426, -18.4984987309426, -49.6830586383606, -18.4986094463067, -49.6829994956301, -18.4986769870823, -49.6829194669485, -18.4987385992949, -49.6828337343539, -18.4987905933782, -49.6827167582476, -18.4988411048671, -49.6825978712605, -18.4988566328165, -49.6824876108137, -18.4988587567866, -49.6824343436196, -18.4988638980162, -49.6823495710101, -18.498901802054, -49.6820036074112, -18.4990727977958, -49.6815739264209, -18.4993045655044, -49.6815394467332, -18.4993194542279, -49.6815037571481, -18.4993313944568, -49.681467095582, -18.4993402576461, -49.6814297528519, -18.4993459734892, -49.6813920251781, -18.4993484966453, -49.6813542118344, -18.4993478070996, -49.6813166127745, -18.4993439103221, -49.6812795262518, -18.4993368372241, -49.6812432464542, -18.4993266439127, -49.6812080820875, -18.4993134018902, -49.6793284309429, -18.5001537628556)) as geom from dual;
    
    -- Firstly, fill in the gaps between all the outer lines by generating small 2 point linestrings....
    -- This is what the CTE, connected_lines, produces
    --
    with connected_lines as (
    select row_number() over (order by 1) as rid,
           f.geom
      from (select sdo_geometry(2002,8292,null,sdo_elem_info_array(1,2,1),sdo_ordinate_array(sx,sy,ex,ey)) as geom
              from (select distinct sx,sy,ex,ey,dist,
                           min(dist) over (partition by sx,sy) as mdist
                      from (select a.x as sx,a.y as sy,b.x as ex,b.y as ey,
                                   sdo_geom.sdo_distance(sdo_geometry(2001,8292,sdo_point_type(a.x,a.y,null),null,null),
                                                         sdo_geometry(2001,8292,sdo_point_type(b.x,b.y,null),null,null),
                                                         0.005) as dist
                              from (select p.x as x, p.y as y
                                      from outerLines g,
                                           table(geom.getVector(g.geom)) v,
                                           table(geom.getPointSet(v.AsSdoGeometry(8292))) p
                                    group by p.x, p.y
                                    having count(*) = 1
                                   ) a,
                                   (select p.x as x, p.y as y
                                      from outerLines g,
                                           table(geom.getVector(g.geom)) v,
                                           table(geom.getPointSet(v.AsSdoGeometry(8292))) p
                                    group by p.x, p.y
                                    having count(*) = 1
                                   ) b
                              where a.x != b.x and a.y != b.y
                            )
                    )
                    where dist = mdist
            UNION ALL
            select g.geom
              from outerLines g
          ) f
    )
    /* Now ask SC4O's ST_PolygonBuilder to try and create a polygon from the set of lines */
    select sc4o.ST_PolygonBuilder(CAST(COLLECT(f.geom) as mdsys.sdo_geometry_array),8) as polygon
      from ( /* Now, the WITH connected_lines produces 2 copies of each linestring with the coordinates reversed.
                    These have to be removed/de-duped before being passed into the ST_PolygonBuilder */
            select sdo_geometry(2002,8292,null,sdo_elem_info_array(1,2,1),sdo_ordinate_array(sum(x1),sum(y1),sum(x2),sum(y2))) as geom
              from (SELECT rid,
                           case when rid=NVL((lag(rid,1) over (partition by rid order by x)),rid)
                                then case when vertexId = 1 then x else null end
                            end as x1,
                           case when rid=NVL((lag(rid,1) over (partition by rid order by x)),rid)
                                then case when vertexId = 1 then y else null end
                            end as y1,
                           case when rid=NVL((lag(rid,1) over (partition by rid order by x)),rid)
                                then case when vertexId = 2 then x else null end
                            end as x2,
                           case when rid=NVL((lag(rid,1) over (partition by rid order by x)),rid)
                                then case when vertexId = 2 then y else null end
                            end as y2
                    FROM   (select rid,
                                   row_number() over (partition by rid order by x) as vertexId,
                                   x, y
                              from (select min(m.rid) rid,
                                           t.x, t.y
                                      from connected_lines m,
                                           table(sdo_util.getVertices(m.geom)) t
                                     where sdo_util.GetNumVertices(m.geom) = 2
                                     group by t.x,t.y
                                     order by t.x )
                           )
                      )
                    group by rid
        union all
        /* Select and pass into ST_PolygonBuilder the original outer lines */
        select m.geom as geom
          from connected_lines m
         where sdo_util.GetNumVertices(m.geom) > 2
        ) f;
    -- Result
    --
    POLYGON
    -----------------------
    MDSYS.SDO_GEOMETRY(2003,8292,NULL,MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),MDSYS.SDO_ORDINATE_ARRAY(-49.6906307026931,-18.4950115281619,-49.6886251490431,-18.4958803030445,-49.6882811644211,-18.4960292763006,-49.6875224063873,-18.4994400734344,-49.6878936628642,-18.4995538840232,-49.6878678853177,-18.4996181336176,-49.6861731626715,-18.4991017919552,-49.6834080082784,-18.4982775371379,-49.6833583465082,-18.4983066497055,-49.6832975737928,-18.4983520405102,-49.6831594052426,-18.4984987309426,-49.6830586383606,-18.4986094463067,-49.6829994956301,-18.4986769870823,-49.6829194669485,-18.4987385992949,-49.6828337343539,-18.4987905933782,-49.6827167582476,-18.4988411048671,-49.6825978712605,-18.4988566328165,-49.6824876108137,-18.4988587567866,-49.6824343436196,-18.4988638980162,-49.6823495710101,-18.498901802054,-49.6820036074112,-18.4990727977958,-49.6815739264209,-18.4993045655044,-49.6815394467332,-18.4993194542279,-49.6815037571481,-18.4993313944568,-49.681467095582,-18.4993402576461,-49.6814297528519,-18.4993459734892,-49.6813920251781,-18.4993484966453,-49.6813542118344,-18.4993478070996,-49.6813166127745,-18.4993439103221,-49.6812795262518,-18.4993368372241,-49.6812432464542,-18.4993266439127,-49.6812080820875,-18.4993134018902,-49.6793284309429,-18.5001537628556,-49.6792385551751,-18.5000418095053,-49.6797119992317,-18.4998345697814,-49.6783397446724,-18.4980535328215,-49.6810365599698,-18.4971609552001,-49.6810385833744,-18.4971564511947,-49.6835051531636,-18.4963355157698,-49.6833312619652,-18.4958030666281,-49.6834396716227,-18.4957578264012,-49.6836133980005,-18.4962994912622,-49.6860079716291,-18.4955025995491,-49.6857982402423,-18.4950861997106,-49.6855427926656,-18.4945793006294,-49.6849860033691,-18.4934740072225,-49.6885491287687,-18.4923048595269,-49.6883413960309,-18.4918992292229,-49.6884083531774,-18.4917625230274,-49.6886528151554,-18.4922451253898,-49.6898503241639,-18.4946091658756,-49.690098431643,-18.4950991112698,-49.6902068702432,-18.4950498009285,-49.6905958643821,-18.4948724904445,-49.6906307026931,-18.4950115281619))
    

    The result is a nice clean polygon.

    http://www.spatialdbadvisor.com/files/PolygonCoveringGeometrySet.PNG

    This, more than my last post is the best I can do. It took me many, many hours to implement. Please allow points since it is a correct result. Also, consider making a PayPal donation on my Web site for the hours I spent.

    NOTE: The package space companion 4 Oracle (SC4O) is available for download FREE on my site. Again, donations accepted if the code made what you want.

    concerning
    Simon

    Published by: Simon Greener on April 11, 2013 09:53 Changed where a.x, b.x and b.y-a.y etc. to where a.x! = b.x and a.y! b.y =

  • I pinned tabs but they don't open when I open a new window? Permenantly pinned tabs that open when you open the browser is something that is so simple and usefu

    It should not necessarily be a "pin", but I wonder how to keep one eye permanently there everytime I open a new browser, as they appear.

    Pinned tabs are related to a specific window and you can have a different game in each window.
    You have to re-create the tabs pinned, if you want in a new window, possibly by the bookmarks in a folder (to bookmark all tabs) or set them as many home pages (a new window opens with the home pages).
    Maybe there is an extension that allows to open newly opened tabs pinned in windows, so you can search the Addons site.

  • Firefox always opens all tabs that were open when last closed

    Firefox, started out of the blue, to always show my tabs in the last session when it is started. I checked Firefox not listed in the Task Manager list after closing. So I tried the following:

    -change the "Startup of Firefox" option to all three of the available choices
    -Change the setting browser.startup.page 0 manually via "subject: config.
    -from Firefox in safe mode.

    None of them changed the behavior. It nevertheless opens the tabs that were open last.

    I'm under V25.0. Any suggestions? It is a major nuisance.

    You can check if you have a user.js file in the Firefox profile folder that affects the pref browser.sessionstore.resume_session_once true value.

    The user.js file appears only if you or another software created, therefore, normally, he wouldn't be here.
    You can check its contents with a text editor if you do not create this file yourself.

    The user.js file is read whenever you launch Firefox and initializes the preferences to the value specified in this file, so set of preferences via user.js can be changed temporarily for the current session.

  • How to configure firefox to run as a single instance, so that all external links open within my existing window rather than opening another window?

    How to configure firefox to run as a single instance, so that all external links open within my existing window rather than opening another window?

    Sorry, there is no setting for what is built into Firefox.

    https://addons.Mozilla.org/en-us/Firefox/addon/tab-utilities/

    In the utilities tab > Options > links there is a preference to enable single window mode.

  • TDMS file creates several tabs data. You want to create only one.

    Hello NOR community,

    I am currently using the DAQ Assistant with my pots of chain record travel over a long time interval (see annex VI). I then use the vi "Write to a file as" to save the data in a file TDMS (see 'Write the file settings' photo attached for all the parameters chosen for the writing of the file). The file is written, however when I open the PDM file, the document creates a tab in Excel for every second of recorded data (please see attachment ""). It seems that the TDMS file is grouping all data every second, and then by creating a new group of data.

    How can I get the file to write all data on a single tab instead of creating multiple? I don't want to concatenate hundreds of tabs in a single great sheet.

    Thank you

    Chris

    You should not use the comment.  I just removed who and everything worked for me.

  • Create a manual restore point

    I need to create a point of restoration about 10 days ago, and this date is not in my choices.  What you type in the creation of a restore point to activate a date that far behind?

    Hello

    Sorry, but you cannot create a Restore Point for any other day but today.

    This Point of restoration 10 days ago is already created or it is not.

    Think about it: how could create a restore today 10 days ago, when 10 days ago is now spent.

    You create a restore today Point to use 1, 2, 10 or 20 days time from the date of today in the future, not in the past; This is how the system restore works.

    And read this topic to do more than Restore Points 5 days you under the graphic window "choose a Restore Point":

    http://www.computer-answers.info/maintenance/Vista/How_to_Use_System_Restore.php

    Check the box downstairs "Points of restoration show more than 5 days.

    See you soon...

  • Cannot create 0 system restore point error code 80070057 x

    Hello

    Please help me with this error:

    Today, when I do a manual create a system restore point, I received the following message "could not perform scheduled task for the following reason: parameter is incorrect." I do a sfc/scannow, but the process has frozen the audit of 100% and has not given any results. I have also uninstall the antivirus software and redo the creation but without success. Please let know me what I can do?

    Thank you

    Negis

    Hello

    Sorry for the late post. I don't try to back up or restore. I just want to create a restore point.

    Netherless, I followed the advice on this thread http://social.technet.microsoft.com/Forums/en/itprovistasecurity/thread/37160397-349e-4aa2-992e-1ffe58b5e51e and renamed the SR file in %windir%\System32\Tasks\Microsoft\Windows\SystemRestore to SR.sav and can create restore points successfully. So I create a restore point, a new SR file is created adjacent to the old (SR.sav)

    However, is it to let the SR.sav file remains in the folder or just delete it? Is it possible that renaming some files to offset it later?

    Please kindly answer. Thank you

    Negis

  • I get the message "unspecified error" when you try to create a system restore point

    That this is an autofocus of startoff a I have create, fSystem restoration returns with 'unspecified error', he never worked on my laptop.

    Can anyone help? Thks

    Hi somnop,

    1. What antivirus do you use?

    2. do you get any specific error code?

    Follow the steps below and check, if it helps.

    Step 1:

    Disable all security software and check if the problem persists.

    http://Windows.Microsoft.com/en-us/Windows-Vista/turn-Windows-Firewall-on-or-off

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software
     
    Note: Antivirus software can help protect your computer against viruses and other security threats.  In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Step 2:

    Do SFC scan and check if the problem is related to corruption in the file system.

    Step 3:

    I know that you cannot create a restore but point as a test, try to do System Restore in safe mode and check if you are able to restore.

    Note: Restart the computer in normal mode after the test.

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Cannot create the tab menu

    Hello

    I am trying to create a 'Menu of the tab' as described in

    http://developer.BlackBerry.com/native/documentation/Cascades/dev/ios_porting/mapping.html

    I want to hide the tabs and actionbar and try to implement showing on the sliding tab menu to the right!

    I am able to hide the tab menu! But cannot hide the actionbar! Please help me with that! Also, I want to know if it is possible to load the menu tab by code?

    I think that's the problem you describe

    You've created a tabbed pane and have the tabs stored in the overflow but want to hide the whole action bar("tabbedPane").
    

    I'm not posotive, but I am not belive this is possible, because the action bar is now the tabbed pane is the default component, which allows you to switch between tabs.   I have not noticed all the apps that hide the pane tabs, and I did not belive it would be consistent with the user B4BB interface instructions either.

  • create a system restore point cases printers stop working

    I have two HP printers (Laserjet 1536dnf & Officejet 6500) installed on a PC running Win7 64-bit.  Until January, they worked very well after Win7 updates (restore point created automatically).  Since then, any time a system restore point is created I lose access to these two printers.  By clicking on "Devices and Printers" opens the window and the progress bar goes to infinity with nothing found and the process must be closed with the Task Manager.  Printers are not accessible, but no error message appears.  Any reference to a printer causes this particular process hang and must be closed with the Task Manager.

    Both printers are wired Ethernet to Cisco E3000 router and are set up to be shared in the same home group.  Oddly, a second PC in Win7 that is connected via Ethernet to the same router, using the same two printers can create the system restore points without any impact on these two printers.  The main difference between the two is that the PC works an AMD based system, while the affected uses a system based on Intel.

    Printer is restored when I restore the system since early January restore point.  Any later restore point using simply reproduces the problem. I have searched the FAQ and forum but can find no cure.

    Hi Amundarken,

    Thanks for posting your query in Microsoft Community and thank you for the opportunity to help you.

    After the description of the problem, looks like HP printers (Laserjet 1536dnf & Officejet 6500) stop working after you have created a restore point system.

    To help you to propose measures to solve the problem, I would appreciate if you could answer the following question:

    You receive an error message or error code?

    Follow the suggestions below for a possible solution:

    Method 1: You can check the status of the Printer Spooler service after you have created a restore point system, if the Printer Spooler service is not started and then start the service and check:

    A print spooler is software that temporarily stores the disk printing hard or in memory until the printer is ready to print. If you were expecting an abnormally long time to print a document, or if you see an error message about the print spooler, Spooler subsystem or spooler resources, you might need to change and then restart the print spooler service on your computer.

    To do this, we recommend that you save your work and restart the computer to restart the print spooler service. If you do not want to restart the computer, try these steps.

    To change or restart the print spooler service, you must be logged on as administrator to perform these steps:

    a. click Startand then click Control Panel.

    b. double-click Administrative Toolsand then click Services.

    c. double-click the Printer Spooler service, and then change the startup type to Automatic. This option sets the spooler service starts automatically when you restart the computer.

    d. If you want to start the spooler service immediately, click Start in the area of The State of the Service .

    Method 2: You can update the printer drivers and check if it works.

    See the following articles from Microsoft for more information on the update of drivers:

    Update drivers: recommended links

    http://Windows.Microsoft.com/en-us/Windows7/update-drivers-recommended-links

     

    Updated a hardware driver that is not working properly

    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Hope this information helps. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

  • Create the tab navigation links as in Apex5 using the universal theme

    Hello everyone.

    I use Apex 5.0.3 against Oracle 12 c on my laptop Windows7.  I want to create an application that uses the universal theme that also includes the type navigation tab.  I read that the tabs used in pre-Apex5 applications have been written off in favor using the navigation links.  But I see no intuitive method to create these links of the type tab.

    Could someone tell me please a guide or packed app that gives a tutorial step by step on how to proceed.

    Thank you.

    Elijah

    Maybe this helps:

    ORA-00001: Unique constraint violated: easy tab to Apex 5 regions

    Also that:

    Martin Giffy Souza on Oracle APEX: APEX 5: create submenus

    Dimitri Gielis Blog (Oracle Application Express - APEX): APEX 5.0: Bye bye tabs, welcome to the Navigation lists

    -Morten

  • Can I set a default role to that point of connection?

    Hi all;

    I have a doubt of roles.  After three roles assigned to the test user.

    SQL > select dealer, granted_role dba_role_privs default_role where dealer = 'TEST ';

    DEALER DEFAULT_ROLE

    --------------- ------------------------------

    TEST R1

    TEST R3

    TEST ORCL_DEV

    SQL > alter user test by default role orcl_dev;

    Modified user.

    SYS > select dealer, granted_role dba_role_privs default_role where dealer = 'TEST ';

    DEALER DEFAULT_ROLE

    --------------- ------------------------------

    TEST R1

    TEST R3

    TEST ORCL_DEV

    $ sqlplus test/test

    TEST > select * from session_roles;

    no selected line

    TEST > set orcl_dev role identified by oradev;

    Role play.

    When I connect you as "USER of TEST" stated I must perform the role play .

    so, what's the point to set the default role for users?

    Without executing set instruction role, can I get a default role to that point of connection?

    '

    Thank you.

    Hello

    default role assigned to the users are by default roles. This means that roles does not need to be explicitly enabled with set role.

    If you set a role as a default to a user role, it must be explicitly enabled.

    that is to say:

    SQL > create user identified by test test

    Created by the user.

    SQL > grant create session to test

    Total grant.

    SQL > create role r1

    Created role.

    SQL > create role r2

    Created role.

    SQL > create orcl_dev role

    Created role.

    SQL > grant r1 to test

    Total grant.

    SQL > grant r2 to test

    Total grant.

    SQL > grant orcl_dev to test

    Total grant.

    SQL > alter user default test except orcl_dev's role

    Modified user.

    SQL > select the dealer, granted_role, dba_role_privs default_role where dealer = 'TEST '.

    DEFAULT_ROLE GRANTED_ROLE ASSIGNEE

    ------------------------------ ------------------------------ ------------

    TEST                           R1                             YES

    TEST                           R2                             YES

    TEST                           ORCL_DEV                       NO

    3 selected lines.

    sqlplus test/test

    SQL * more: Production version 11.2.0.1.0 Mon May 18 10:03:15 2015

    Copyright (c) 1982, 2010, Oracle.  All rights reserved.

    Connected to:

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production

    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > select * from session_roles;

    ROLE

    ------------------------------

    R1

    R2

    SQL > role play all;

    Role play.

    SQL > select * from session_roles;

    ROLE

    ------------------------------

    R1

    R2

    ORCL_DEV

    For more information you can take a look at the Oracle documentation on roles:

    http://docs.Oracle.com/CD/E25054_01/network.1111/e16543/authorization.htm

    Kind regards.

    Alberto

Maybe you are looking for

  • Writing math graphically with the TX 1000

    I need to be able to write handwritten mathematics in MS Office applications (or elsewhere).  I thought that I would be able to open PowerPoint and write on slides, but I can't get the TX 1000 to stop the recognition of writing and graphics just reco

  • Can I install Windows 7 on Imac end 16.1 2015?

    Hi all, I want to install windows 7 x 64 on my Imac end 16.1 2015. Is it possible to install windows 7?

  • Satellite L500 - 20 X - screen problems

    Hello first of all, I would like to apologize for the case that I couldn't be very good to use this forum. I'm new and have never used any before support forum. And English is not my mother tongue. I use a Toshiba Satellite L500 - 20 X. For some time

  • New downloaded skins will not activate

    After a new skin for my Windows Media Player, I have download it it activate again after that I'm going to the original two skins that come with the program.  Please advise me on how I can get these programs to activate after selecting.  At the prese

  • I can not save or print a quark 6 file in Windows 7

    I tried to update the drivers (in windows 7) and nothing has worked. I also tried to install the VM from sun and I am able to save my quark file, but are still unable to print.Help