How to hide lines?

Hello people,

I just know that the way to hide lines except dbms_rls package? I mean, it has been said that I can hide lines to create views but lets say I had 200 students and each student can see that their lines in the students table, in this scenerio I must create 200 views, isn't it? I would just learn how to hide lines with the help of views? You have any ideas?

Note: I know dbms_rls package, but this solution that I'm tryin to find the onather solution.

Thank you very much.

Hello

Polat says:
... Then, u said that I can use the USER-defined function when I creat discover however when people cite this point of view this view always run in the schema owner of views so the USER always returns the same value, isn't?

No, the USER-defined function always reflects the schema of the caller. Try it. In a single schema (let's say it's POLAT), create a view like this

CREATE OR REPLACE  view_x
AS
SELECT  USER    AS user_name
FROM    dual;

GRANT  SELECT  ON view_x  TO PUBLIC;

You're still connected under POLAT, run

SELECT  *
FROM    view_x;

Now connect with a different user and try

SELECT  *
FROM    polat.view_x;

What do you see?

I'm just trying to understand your example. I mean lets say we have different Oracle user accounts. When users call this view in which it will perform? Session owner, isn't?

What do you mean by "session of the owner? The owner should not be connected at all. Each user who is logged in will have a separate and independent session. Results of "SELECT * FROM view_x;" might be completely different at each meeting.

Tags: Database

Similar Questions

  • How to hide lines if all values are zero (0) horizontally?

    Hello



    I have a requirement to hide lines according to the results if all values are zero horizontally.


    Example:
    
    
    Region   M1    M2   M3
    
    East     0      0    3
    
    West    10     20    0
    
    South   -5      0    5
    
    North    0      0    0
    In the example above only North line must be hidden from results because all measure values are zero.

    Can you get it someone please let me know the logic to do this?





    I thank in advance.

    Hello

    Why do not you try a simple as filter condition:

    M1! = 0 or m2! = 0 or m3! = 0

    Thank you
    Karthik M

  • How to hide the bottom line in the report?

    Hello world

    We are working on reports 11 GR 2 64-bit.

    In each report, end of text on a page, a horizontal line (i.e. the lower line) at the end of each page is illustrated and printed unnecessarily.

    But problem in stationery printed, especially in printing cheques.

    Kindly advise me how to hide this summary, especially in printing.

    Thank you.
    Dev.

    Published by: ocpdev on April 5, 2013 18:29

    Hello
    Is these reports are prepared on 11g or migrated from the previous version.

    In any case, to test it, - create a report from scratch on 11 g and run it, also check the footer to all the lines on the subject.
    I hope that you can identify the question to redo the thing for testing

    Good luck

    ocpdev wrote:
    Hello world

    We are working on reports 11 GR 2 64-bit.

    In each report, end of text on a page, a horizontal line (i.e. the lower line) at the end of each page is illustrated and printed unnecessarily.

    But problem in stationery printed, especially in printing cheques.

    Kindly advise me how to hide this summary, especially in printing.

    Thank you.
    Dev.

    Published by: ocpdev on April 5, 2013 18:29

  • Model RTF how to hide a line under condition

    Hello

    Need to hide line based on condition. I have the table 4 ranks are there. To hide the line based on condition.tried after statement has failed.
    "< if@row:field!="Yes "> <? end if? >

    Help me to reslove this issue...

    Thank you
    Srini-

    I sent you the modifed model. Take a peek inside.

    Thank you
    BIPuser

  • How to hide the images used in imovie 10.1.2?

    I am a new user of iMovie and use the latest version. How to hide the photos that I already added to the film? Moreover, that mean the purple and orange lines on the photos? Thank you!

    You can not hide, but the orange lines at the bottom of the clips in the media pane show what parts of clips have been used in the scenario, if you can easily avoid reuse them if that's what you want to do.  The purple lines at the top of some parts of some clips show moved excessive (which cannot be stabilized).

    Geoff.

  • How to hide the application programmatically?

    Hello

    How to hide the application by programtically?

    Thank you.

    Just to clarify this point, here's what you need to do to use the lines that I gave you:

    In the fieldChanged for the button method, you must run the lines that I showed you.

    This will put your UiApplication in the background.  The user will be able to bring to the forefront again by pressing the icon or choosing the form of application for the selector of the task.

    The user can in fact do roughly the same thing by pressing menu and selecting ' Application Switch, if it appears in the menu.  And that's roughly the same by pressing the menu key and then selecting another application in the selector of the task.

    If this isn't what you want, then please describe what you want again and why it's different from this.

  • How to 'hide' a single stroke behind the other object?

    I'm struggling with something that shouldn't be this difficult!

    I'm planning a logo white T-Shirt only (to go on a dark green T-shirt)

    To simplify, let's say I have two ovals with no fill, just a white line.  A small oval overlapping (sur-haut of) the part of the edge of a larger (oval below).    I have

    Any advice on how to 'hide' the line which is "behind" the top object?

    As follows: http://i.imgur.com/ZghWTMa.jpg  

    Actually, I'm not completely sure yet.

    Response to Steve assumes silkscreen with a single opaque white ink. It will not work if the composite impression not opaque transfers or cut out the vinyl applied, or if you import the work of two-ellipse for combination of other works of art.

    Because you do not know:

    1. draw two circles with a stroke color and fill color (ex: feature black, white fill) on both.
    2. apply the weight of the desired race.
    3 object > path > describe stroke.
    4 pathfinder palette: merge.
    5 white pointer: select both within the regions and remove.
    6. you now have a single compound path; None of the objects that overlap and real 'holes' where you want the substrate to show through. Applies regardless of the fill color (white, etc.) that you need.

    But keep in mind what has already been said: white, unless it is defined as a spot color, does "not print." Think in terms of inks, not in terms of 'color '. In a program like Illustrator, 'white' normally means "no ink". And we must always know what printing method that you design.

    JET

  • How to hide a column in a RTF based XML output

    I have a XML output that has a column called STATE of a "REJECTED" or "PROCESSED"

    I have another column called REJECT_DESC. This is null when the State is PROCESSED and it fits the description of rejection if the status of this line is REJECTED.

    In a RTF I want to show if the value of REJECT_DESC if the line has a status of "REJECTED".

    How can I show only this column when she is rejected?

    I have the group by the State, so the report separates the lines... but how to hide the column? I don't want a column null

    Thank you

    I think that the STATUS will be same in the XML data, and you have two lines in your table. A line for all the column headings and another line for repeating group for these column values. So you can simply keep,

    Reject the Description //row1 the title of column
    row2 column values

  • How to hide temporarily inactive titles in Page view?

    How to hide a track layout once its regions have finished playing? In the screenshot below, the cursor is at 92 bar, and you can see in the window Arrange regions 'Nina' and 'Daddy' are finished playing. But they are still displayed in Page view. How to hide the display Page once they are done? In Logic 9 disappear automatically...

    several ways to do this... one way is to cut the section is based in the arrange window and use them gaps to show this gap as remnants or hide personnel. You can use regions muted in exactly the same way, if you choose...

    Below shows the two staves to measure 13...  They were cut out of the arrange window and I can have them appear in the staff or not based on the box fill up the gaps.

  • How to hide the names of the recipients when I send an email to many people?

    I'll send a message to a lot of people I know, and I think that some of them would rather not showing e-mail addresses. How to hide the?

    You use the BCC (blind carbon copy) field instead of the CC field to prevent one of the most complete list.

    Probably there is a button on the edit page to reveal this field.

  • How to hide the menu item 'bookmarks '?

    Firefox 5.0.1
    At the menu bar: 'File', 'Edit', 'View', 'History', "Bookmarks", etc.
    How to hide the element of "bookmarks"?
    I have the add-on PLAINOLDFAVORITES installed and
    I forgot how with v3.6.18.

    Thank you very much

    Click the Firefox button and click on Add-ons -> Add-ons Manager, tab opens-> go to Control Panel Extensions-> select your add-on "Favorite PlainOld" , click Options

    Check and tell if its working.

  • How do hide you text on video?

    How do hide you text on video?

    In Final Cut Express, she uses a technique called Alpha matte, but I can't find anything like it in Final Cut Pro X (10.2.3).  Can anyone help with this?

    VVideo Inspector. Compositing. Blending mode. Stencil or alpha silhouette.

  • How to hide the sidebar with other files of Notes?

    OS X El Capitan (10.11.3)

    I am trying to read a PDF Acrobat Pro and take notes with Notes in my mac, side by side.

    I would like to know how to hide the sidebar on the left of Notes, where are the names of the other file.

    I don't want the files, I already went to 'View' and you click "hide files".

    I can just see the writing of the Notes area while sharing the screen with the document I read in Acrobat Pro.

    Looks like a basic feature which Apple or Adobe Acrobat Pro should have, but I can't seem to find it.

    Looked for other solutions to the App Store, but what I've found is a bit expensive.

    I appreciate any assistance.

    I asked that your thread moved to the El Capitan forum.

  • Qosmio G30-126 - how to hide/show the top bar?

    How active hide/show the top bar on the upper side desk, but disappeared how can I return it again?

    You want to have some Flash cards on top of the desktop computer?
    This isn't a problem

    In all programs-> Toshiba-> Utilities-> settings for Flash cards, you can activate this option!

    Check it!

  • How to hide and restore iOS apps/files 9

    How to hide and restore iOS apps/files 9

    Awaimer wrote:

    How to hide and restore iOS apps/files 9

    There is no record to hide, they will still be on your home screen.

    You can back up apps into folders, simply pressing app until it wiggles and then move it with another application and a folder will be created.

Maybe you are looking for

  • Account purchases

    Hello How can I see what I bought online in the last 24 months. See you soon Rick B

  • Bluetooth kit card combo WB335 taken in charge in the nucleus 3.13.1

    Hi all Popular Wifi / BT combo card of Qualcomm WB335 Atheros AR9565 has until recently not been fully supported by popular distributions (up to 20, openSuse, Ubuntu Fedora cousins...)Bluetooth has been found, but it is not possible to use. From 3.13

  • How to manage settings of fps?

    Hi there everyone, I use iMovie on a Macbook Late 2008 for a bit, but I recently started to edit my GoPro on a new Macbook 2011 clips. Moment, until now 60 fps image editing was really simple for me: I would slow down the clip to 50% to get a slow mo

  • PowerPoint to video

    Is it possible to save a powerpoint presentation, with animations, as a video file? Lots available for Windows, but can not find one for Mac. QuickTime does not work when the presentation is running and to support the entire screen, that is to say, c

  • (Redirected) Windows from Dell inspiron n5110 8 black screen

    Hello Please help me I have dell inpiron laptop n5110 with windows 7 Home premium, corei3, 6gbram, HDD 500 GB, and BIOS version A11 But when I try to install windows 8. He's going to black screen and nothing happens... Help!