View inside view

I'm encourtering a problem with a new application that I'm looking at. There is a view that is in turn by referring to another inside view in the FROM clause. I have a SELECT main view access, but do not SELECT the underlying view access. I'll be able to see the data if I do a SELECT * FROM vw_main;

Login as XXX

SQL > create view test1 in select * from app_user.

View created

SQL >

SQL > drop view test2;

View dropped

SQL > create view test2 in select * from test1;

View created

SQL > create user aaa identified by 'aaa ';

Created by the user

SQL > grant connect to aaa.

Grant succeeded

SQL > grant select on test2 to aaa.

Grant succeeded

SQL >

Log in as AAA

SQL >

SQL > select APP_ID in the rr_app_resource.test2;

APP_ID

----------

0

10045

10047

10048

----

Ramin Hashimzade

Tags: Database

Similar Questions

  • PIX 515e - can't view the site from the inside

    Hi people

    I have a PIX 515E with a Web server in the DMZ. Using a static control that is on the web with an internet address and can be viewed from anywhere outside of the firewall. But users inside can't display it, by ip address or domain name. Would be grateful for any help on the access for this list

    Thank you

    Oops...

    I did not understand how you want this configuration...

    It should work...

    http://www.Cisco.com/en/us/products/HW/vpndevc/ps2030/products_tech_note09186a0080094aee.shtml#DMZ

  • Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside

    Hi, I'm developing a simple mobile app in DW CC 2015 using JQuery Mobile. LIKE I need the list view with description of the product, functionality and image, I would like to connect with database instead of "writing" all the tables in the bearings inside the Jquery page. In the future I would also be able to add, to remove the DB records. Any help, tutorial... Thanks TG

    I would like to connect with the database instead of "writing" all the tables in the bearings inside the Jquery page

    This is usually done with a CMS (content management system). There are commercial products CMS like WordPress, Joomla and perch. You create one or several layouts and then create pages of these page layouts using the CMS. In this way, it is possible to have hundreds of pages, each with unique content, but a page layout that can be managed in a place of sharing.

    CMSs on shelf don't require programming skills. Otherwise, some of us write our own CMS with custom functions, but this requires back-end, as with PHP programming.

  • text is fuzzy inside the cursor object, only in the Viewer for android, only the latest content

    After the upgrade to the new Adobe Content Viewer for Android, text inside a sliding pixelated of blurred subject become. It looks exported with high compression JPEG.

    The same folio posted on the old version of hovercraft for Android (and also on iOS) is OK.

    Changing the settings of export of the object in inDesign are no effect.

    Someone has experienced this problem?

    For a discussion on this issue and the two workarounds, see Android - frame scrolling adding shadows .

    Neil

  • Is a floating within an OSM inside a view scrolling possible?

    Hi all

    I'm trying to add a frame floating within an OSM within a scrolling view.

    The result is a moving map, where you can click on the pop - ups. In these pop ups sometimes scrolling images, sometimes other MSO and sometimes just text there.

    The text and the of mso are working at the moment, but I can't get the view floating inside the OSM inside the scrolling view to work.

    Can someone please help?

    I've never tried, but I tried to put a scroll in a scroll in

    WHO and the second roller does not work. I think you might have exploited

    against the same restriction.

  • I need to display a search form web app, inside the detail of another web application view. Anyone know

    I can't seem to get a search form web app to work within another page of detail web app. Anyone know if this is possible?

    I can view a list of web app; and the search engine works on a standard page. but when I try to load it into another web application details page, I get an error: "page not found". In this case, regarless of whether if I put {module_searchresuts} on the same page as the form or if I redirect the results to a different page.

    Does anyone have any suggestions?

    Thank you, but I needed to get the search form and the results of the Web A app to show inside the detail for the Web App B model... Apparently is not possible. I finished by simply using an iFrame - inase anyone who crosses the same question

  • Timer of $ v (view does not exist) inside the procedure

    Hello

    I am very new to Oracle, please forgive me in advance for the novice questions. DB = Oracle 9i R2, develop using SQL Developer 1.51.5440. I'm an admin on a test server account. On the screen of the application, I can run this query:

    SELECT hsecs FROM V$ TIMER

    Inside a procedure, this line hsecs SELECT INTO pseudoRandomSeed OF V$ TIMER;

    failed to compile with error: "Error (19.43): PL/SQL: ORA-00942: table or view does not exist. What is the reason why I can run the query outside of the procedure, but not on the inside? And how to fix it?

    I tried to GRANT SELECT on the view SYS.v_$ timer to my user. But I don't know the SYS pwd and wonder if it would be the solution. Because my account is already the admin of the schema.

    Can you please suggest a solution or links to documentation topics where I can continue the investigation.

    Thaks in advance for any help.

    V_$ TIMER is owned by SYS. Ask your DBA or connect as SYSDBA and issue:

    GRANT SELECT ON V_$TIMER TO your-username;
    

    Then log in as your user name and the compilation.

    SY.

  • With the help of QProperty for a label inside the list view

    Hello

    I wanted to assign the value of a label in the list view to a string QPROPERTY. I did it using Qt.myname = _app. QPropertyName. And Qt.myname attributed to label.

    It updates correctly during installation. But if I change the value, it is not updated within the display list, but working in another label that is outside the view of the list.

    It works for me

            ListView {
                property string myCppProperty: app.cppProperty
                listItemComponents: [
                    ListItemComponent {
                        Container {
                            id: listItemContainer
                            Label {
                                text: listItemContainer.ListItem.view.myCppProperty
                            }
                        }
                    }
                ]
            }
    
  • Windows Photo Viewer shows the files blank JPEG thumbnails (inside folders) poster white icon, already tried a lot of Solutions - please help! S.O.S.

    Dear all,

    I have this problem:

    All JPEG files are normal, I tried to open with the help of Adobe Photoshop CS5. But if I use it to watch my files, it takes too long to load.

    This is the case if I try to open them using the Windows Photo Viewer:

    It's when I try to open it with Adobe Photoshop CS5:

    So the file is fine, they are non-empty JPEG.

    The difficulties I've tried before posting on the forum:

    - Fix it with Microsoft to photo viewer

    Fix It for animals works well and could not find any problem though, so nothing is fixed.

    - Removal 'External event AMD' Service

    Nothing change

    - Removal of color for the monitor profiles

    Nothing to change also

    - Updated all the drivers and windows

    Nothing change

    - Boot in Safe Mode

    The thumbnails are displayed correctly and "Windows Photo Viewer" display my images perfectly well BUT...

    - Start in Normal Mode with all the Services of persons with disabilities (except Microsoft)

    The problem happens again, that the thumbnails are blank and the images also.

    - Cleaning disc (with checked "thumbnails")

    The problem still exists

    - Set programs "Default" for the Windows Photo Viewer

    The problem still exists

    - Run SFC/scannow From The Command Line

    The problem still exists, and the SFC somehow told me that my Windows is fine

    - Removal of hidden miniature manual

    The problem still exists

    - Windows Live Essentials installation and use the 'Photo Gallery'

    Photo Gallery crashes all the time after asking if I want to associate files "JXR" or not, but I'm not on this topic, but this does not solve the problem.

    I tried every step, I have found on various types of forum, but not the last magic: Reinstall Windows, I really want to solve this problem without cleaning Windows installation if possible, and I'm so in love with "Windows Photo Viewer" because it's simple, fast, and it is very precious to me. I tried free viewer and FastStone Image Viewer but is a bit complicated, controls are small and it always comes out in full screen, I need this so baaad.

    My computer is:

    A10-7800 Kaveri AMD processor

    RAM 8GB Corsair Vengeance DDR3 black

    Western Digital 1 TB Caviar Black hard drive

    Motherboard ASRock FM2A88X +.

    Power supply Corsair VS550

    OS: Windows 7 64-bit

    Thanks in advance :) I really want this wrong, please...

    Dear Ramesh,

    I thank very you much for your time to help me, after tumbling around with other solutions, windows finished in "the RPC server is blahblah" thing a bit, then I reinstalled everything from the ground up and the problem disappeared... I don't know what happened to the previous window, I am now using the same drivers, same software, except perhaps the earlier had too many junks (I think this is the classic problem with windows, after sometimes he collected too and begins to act dumb)

    It seems that the problem came, neither windows nor the drivers... But too bad it should remain as an "Unsolved Mystery": P

    Anyway thanks, see again you and Merry Christmas and happy new year to you

  • Inside af AF:selectOneChoice: table sometimes does not display the appropriate values, based on the results of the query of the view object

    Hello

    I use jdev 12.1.2.

    I have a few components of af: selectOneChoice that is contained in an af:table element.  The table is extracting lines from database and display data.  Now here's the weird part: sometimes the component of selectOneChoice will have the correct value selected, and other times it will be just left unchecked.  I can verify that the data in the object view lines are indeed correct after I request them.  The LOV for soc components are properly set up (some are configured as static list display objects and some are set up as model driven lists based on display objects).  I have just completely puzzled me as to why they work sometimes and then not work at times even though I am following the exact same steps to reach that point in my application.  Someone at - he never meets this problem before?

    Thanks for reading.

    Problem solved!

    For anyone having this problem in the future: do not try to do a partial trigger on a table that is not in the visible panelTab.  The problem is that when my view criteria applying, I was refreshing the TWO tables.  This caused that was not visible to lose the selectOneChoice selection, while the other table was very good.  Remove the partial relaxation for the table that was not visible caused the data to be maintained properly during the exchange between the tabs and change the view criteria.  Thanks for the help again Ashish, stumbled on the real root of the problem, after following some of your suggestions.

  • How to create a new subfolder and do appear in the view files after you import the pictures inside?  The folder does not appear after that I imported the photos.

    I use 14 elements on Windows 10.  I would like to create new subfolders in the folder view as I get pictures sent to me.  I want to keep by date.  When I import from a camera it creates folders but when I try to import them from a subfolder I created with the windows file manager, it does not appear in the Organizer.

    RonHoward wrote:

    I use 14 elements on Windows 10.  I would like to create new subfolders in the folder view as I get pictures sent to me.  I want to keep by date.  When I import from a camera it creates folders but when I try to import them from a subfolder I created with the windows file manager, it does not appear in the Organizer.

    Don't forget that your left folder tree is set to 'tree' (the little menu icon on the right of the title bar).

    Click on the + sign to the left of the main folder to display subfolders with images.

    If you want to see the subfolders without all the media files, select the master folder and right click, then choose the last option to display all of the subfolders.

  • Exception of null pointer so that he was trying to get the view inside the AM object

    Hi all

    I use jdev 11.1.2.2
    I try to create the session of the application
    but the view object is thrown null pointer exception even if the view object is available within the impl class
        protected void prepareSession(Session session) {
            LOGGER.log(ADFLogger.TRACE, "Preparing the user session...");
            super.prepareSession(session);
          String emailId = ADFContext.getCurrent().getSecurityContext().getUserName();
            LOGGER.log(ADFLogger.TRACE, "Setting the user-context - app_user_lang on the database...");*/
            
               ViewObjectImpl UserAuthentionEVO =  this.getUserAuthenticationEVO();
              UserAuthentionEVO.setNamedWhereClauseParam("The_EmailId", emailId);//Throws null pointer exception
                UserAuthentionEVO.executeQuery();
                Row row= UserAuthentionEVO.first();
                 if (row != null) {
                getSession().getUserData().put("USER_ID", row.getAttribute("UserId"));
               getSession().getUserData().put("ROLE_ID" , row.getAttribute("RoleId"));
                 }
        public ViewObjectImpl getUserAuthenticationEVO() {
            return (ViewObjectImpl)findViewObject("UserAuthenticationEVO");
        }
    this.getUserAuthenticationEVO () returns null

    Why is what is throwing the error?
    No idea why its pointing to null?

    Thanks in advance,
    Rakesh

    Published by: Rakesh on July 4, 2012 07:22

    Because of the hierarachy?

    Your test case shows apparently so.

    What I am doing wrong?

    I wouldn't say that you're doing something wrong, just that ADF BC apparently does not support your use case. Use straight JDBC (even to call a stored procedure if you want to instead of using the SELECT statement) and problem solved.

    John

  • error ORA-03113 with XMLTABLE inside the subquery or view

    I get ORA-03113 error if I use a XMLTABLE result within one subquery of another query (if XMLTABLE inline or view). Code below to reproduce that - simplified and now rather meaningless - but produces the same error. Someone at - he seen this error re. XMLTABLE or know bugs in metalink on that? I couldn't find anything. I'll have to use deprecated table (xmlsequence) instead, which does not receive this error.


    -TABLE DROP TEST
    CREATE TABLE TEST (ID number (10), CUST_REF varchar2 (50 char), XMLDATA XMLTYPE);

    INSERT INTO TEST (ID, CUST_REF, XMLDATA) VALUES (1, 'XYZ',
    XMLTYPE ("<?") XML version = "1.0" encoding ="utf-16"? >
    < TESTXML
    xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance".
    xmlns = "urn: ABC - 123:TESTXML" >
    < collection >
    < TRANSACTION_COLLECTION >
    < TRANSACTION >
    < RECORD_ID > 1 < / RECORD_ID >
    < TRANSACTION_ID > 7791786 < / TRANSACTION_ID >
    < AMOUNT > 335 < / AMOUNT >
    < TYPE > I < / TYPE >
    DR < DC > < /DC >
    < / TRANSACTION >
    < / TRANSACTION_COLLECTION >
    < / collections >
    ((< / TESTXML > '));

    COMMIT;

    CREATE VIEW TEST_XMLVIEW
    AS
    SELECT
    ID,
    CUST_REF,
    xmltbl. RECORD_ID,
    xmltbl. TRANSACTION_ID,
    xmltbl. AMOUNT,
    xmltbl. TYPE,
    xmltbl. DC
    OF THE TEST,
    XMLTable (XMLNamespaces (DEFAULT "urn: ABC - 123:TESTXML'"),)
    "/ TESTXML/collections/TRANSACTION_COLLECTION/TRANSACTION" TEST PASSING. XMLDATA
    COLUMNS
    "RECORD_ID" number (10) path "RECORD_ID."
    "TRANSACTION_ID" VARCHAR (200 CHAR) PATH "TRANSACTION_ID"
    "DC' VARCHAR (200 CHAR) PATH"DC. "
    "TYPE' VARCHAR (200 CHAR) PATH"TYPE. "
    ('AMOUNT' NUMBER (38.8) PATH 'QUANTITY')
    AS xmltbl;


    WITH SUM_AMOUNTS (ID, CUST_REF, SUM_1, SUM_2, SUM_3)
    AS
    (SELECT ID, CUST_REF, FLAT AS FLAT AS SUM_2, FLAT + FLAT AS SUM_3, SUM_1)
    OF TEST_XMLVIEW
    GROUP BY ID, CUST_REF)
    Select
    ID,
    CUST_REF,
    SUM_1,
    SUM_2,
    SUM_3
    of SUM_AMOUNTS;


    Version information:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE Production 11.2.0.2.0
    AMT for 64-bit Windows: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production

    Someone at - he seen this error re. XMLTABLE or know bugs in metalink on that? I couldn't find anything.

    Really?

    Go to the directory path and look for the relevant trace or incident file.
    On my system, I can see something like this:

    ORA-07445: exception encountered: core dump [evaopn3()+656] [ACCESS_VIOLATION] [ADDR:0x0] [PC:0x234A5B6] [UNABLE_TO_READ] []
    

    Copy / paste this line into the ORA-00600/ORA-07445 on My Oracle Support search tool and search for your version.
    Read this article:

    * ORA-7445 (evaopn3) [860969.1 ID] *.

    and at the bottom of the page, among the associated bugs known, this one:

    Bug 12724375 : ORA-7445 [evaopn3] XQuery with GROUP BY *.

  • CS3/CS4 - painting of page element inside another view

    Hello

    I want to display the images in a document in a tree. Guess I have in the tree node can I I replace the function of the draw in the CControlView and paint the picture here. However, I would like to paint the picture exactly as it is rendered on the document so that, for example, cropping is taken into account, with the exception that is must be put on the scale to adapt to the tree view.

    Is this possible?

    Cordially Toke

    Hey Toke,

    There is an example of the sdk on the snapshots.

    Markus

  • Inside views dumpfile

    I created a dumpfile with expdp leave a scheme which had tables, views and procedures. I want to restore that the scheme point of view, not the tables with impdp. -These aren't regular views, materialzed. What is the syntax impdp to import views?

    Thank you
    Oracle 10G
    HP - ux 11.23

    Run your regular impdp command but add:

    include = view

    This will include that point of view.

    Dean

Maybe you are looking for

  • Installation of Win 7 RC on HP Pavilion DV6-1130sa

    I have the following questions regarding the installation of Win 7. The disc is currently containing the Vista partition and the recovery partition. I want to install then I 7 RC as a new installation on drive C with the possibility to go back to Vis

  • Re: For the Primay IDE channel Transfer Mode is set to PIO - activation of Stat DMA mode

    Hello I recently installed Xp Professional on my desk...My Primay IDE channel transfer is set to PIO mode... even if I try to change to EMRS, if its not to change... I tried an option to run a VB script to change the DMA status, but no luck... Can so

  • DVD player does play not any DVD successfully on Satellite L30

    I don't seem to be able to play any DVD on my machine (Satellite L30 PSL33). Sound and image are distorted. Can anyone help?

  • BUG: Cannot enter symbols in the form of connection bofa.mobi

    My password for online at Bank of America banking contains characters in the table of Bowl 'Sym '.  However, I push the Sym button, find the symbols, but when I choose one, it does not appear in the field. To reproduce, find http://bofa.mobi in the p

  • 0X3bc3 error code

    Help, please. A virus (?) closed down my computer a Toshiba Satellite A205-S5879 with Windows Vista.  Now Windows will not boot.  So far, I burned a Bit Defender spare scanned and removed the virus.  I am unable to boot in F8 safe mode.  I used the V