Help with View Information

I want to write a query that basically gives me the information about my login. A "who amd I" if you will.
I want to be able to get information on the user I'm currently in. What view can I query to find this out?

There's a function USERENV which can be passed various paramarters to get information relevant to a particular user session.
For eg. on of the parameters is SESSIONID which matches with the AUDSID on v$session. This is a number that uniquely identifies each session for auditing purpose.
SELECT * -- mind u there are a lot columns
FROM v$session
WHERE audsid = USERENV('SESSIONID')
a way I use is to select on all the sessions on the basis of the username and also select a little flag that indicates which is the current session and which are additional sessions of the same user.
SELECT DECODE(USERENV('SESSIONID'
,audsid,'* '| |username
,'+ '| |username) "X UserName"
FROM v$session
WHERE username = USER
The * indicates a current session and the + indicates "other" sessions.

Similar Messages

  • Help with reading information coming from a software into LabVIEW through Serial port

    Hi,
    I am new to LabVIEW and also an amateur in using RS232 for communication. I have this software that has these icons like speed increase/decrease, elevation up/down, start/stop. Now, when I click these buttons on the software, they perform the appropriate functions. For example, if I press start button, the signal must go through a serial COM port into LabVIEW to start the machine. How do I do that? How do I find what format the code word is when I press a button on the software? And how to decode the information to read whether the button pushed is start etc...? Any help would be appreciated.

    I may not be perfect, but I'm all I got!

    That information would be in the programming manual for the device you're controlling. Unless you have a device that has no documentation or you cannot get the documentation that's the first place you should look. If you cannot get the documentation at all then you've got some reverse-engineering to do. To do this you will either need a serial port sniffer (a hardware device), or you can try to use a software-based port capturing program. On Windows PortMon is the most prevalent. This will show you how the port was configured (baud rate, stop bits, etc). Warning: the information is technical.
    As far as how to get it running in LabVIEW, you should take a look at the serial port communication examples that ship with LabVIEW. The most problems occur in figuring out how to (a) terminate a write command, and (b) determining when to stop reading. For (a) this is typically done by appending a carriage return or linefeed to the command. This is device dependent. For (b) this is usually done by the byte stream ending with a character like a linefeed. Again, this is device-dependent. 
    You may also want to peruse this KB article: Serial Instrument Control Tutorial. There are also lots of tutorial on the internet for basic tutorials on serial port communication.

  • I need help with viewing files from the external hard drive on Mac

    I own a 2010 mac pro 13' and using OS X 10.9.2(current version). The issue that I am in need of help is with my external hard drive.
    I am a photographer so It's safe and convinent to store pictures in my external hard drive.
    I have 1TB external hard drive and I've been using for about a year and never dropped it or didn't do any thing to harm the hardware.
    Today as always I connected the ext-hard drive to my mac and click on the icon.
    All of my pictures and files are gone accept one folder that has program.
    So I pulled up the external hard drive's info it says the date is still there, but somehow i can not view them in the finder.
    I really need help how to fix this issue!

    you have a notebook, there is a different forum.
    redundancy for files AND backups, and even cloud services
    so a reboot with shift key and verify? Recovery mode
    but two or more drives.
    a backup, a new data drive, a drive for recovery using Data Rescue III
    A drive can fail and usually not if, only when
    and is it bus powered or not

  • Need Help with viewing sync re Bold 9700

    I have a Bold 9700. I cannot seem to view on the PC the memo data that I sync from the Bold? HELP!!!

    Hi and welcome to the forums villagegirl!
    A couple of places for you to visit: Blackberry 101     Tips & Tricks
    What are you syncing your Bold with? Outlook - what version?  What Desktop Manager version? 
    Post back and let us know.
    Happy to have you here!
    IrwinII
    Please remember to "Accept as Solution" the post which solved your thread. If I or someone else have helped you, please tell us you "Like" what we had to say at the bottom right of the post.

  • Help with viewing raw images in iPhoto 6

    Hi:
    When viewing raw images from my camera (a Canon 20D) in a large or full screen format, after about 5 seconds I see at least a dozen tiny white dots on the image. These occur 100% of the time.
    If I "retouch" the image and save it, they go away.
    Also, they never appear if I shoot and import JPEGS from the same camera?
    Is this a bug in iPhoto 6 and, if not, can someone explain or help me with this?
    Thank you!

    I have the same camera so i checked out the raw images--sorry no spots show up.

  • Help with viewing youtube videos after update software?

    Since ive upgraded my software as prompted by my computer, i havent been able to view 90% of videos,,,, help
    Its drivng me nuts,  i feel like throwing my macbook through a window... seriously

    You mean you aren't crashing?
    Thunderbolt Software Update 1.2 Causes Boot Failures
    Thunderbolt Update plaguing MacBook Pros with kernel panics
    Let's just say those last updates left a lot to be desired.
    Revert your system to backbefore those updates.

  • Help with View Objects

    I have created a new ViewObject in my Application Module in the project where I have my BC4J.
    Previously, I created a BC4J JSP Application project based on the other project but a this time I didn4t have created a ViewObjet that I want to use now.
    Then, I created a new JSP pages and I added the DataTags referring to that new ViewObject like this:
    <%@ page language = "java" errorPage="errorpage.jsp" import = "java.util.*, oracle.jbo.*, javax.naming.*, oracle.jdeveloper.html.*, oracle.jbo.html.databeans.*" contentType="text/html;charset=ISO-8859-1" %>
    <%
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "PrjSegJSP_PkgSeg_PkgSegModule");
    %>
    <HTML xmlns:jbo="jbo">
    <HEAD>
    <TITLE>INSTITUTO ECUATORIANO DE SEGURIDAD SOCIAL</TITLE>
    <LINK href="estilo/estilo.sty" rel=stylesheet type=text/css>
    </HEAD>
    <BODY class="clbody" aLink=#800000 bgColor=#ffffff leftMargin=0 link=#808000 text=#000000 topMargin=0 vLink=#c0c0c0>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule configname="PkgSeg.PkgSegModule.PkgSegModuleLocal" id="PkgSegModule" username="iessuser" password="iess" />
    <jbo:DataSource id="dtsVista" appid="PkgSegModule" viewobject="ViewRolPorUsu" ></jbo:DataSource>
    <FONT class="texgen">Primero</FONT> |
    <FONT class="texgen">Anterior</FONT> |
    <FONT class="texgen">Siguiente</FONT> |
    <FONT class="texgen">Ultimo</FONT>
    <br>
    <%
    String navop = request.getParameter("NAV");
    if ( navop == null )
    navop = "First";
    if ( navop.equals("Previous") && !dtsVista.getRowSet().hasPrevious() )
    navop = "First";
    if ( navop.equals("Next") && !dtsVista.getRowSet().hasNext() )
    navop = "Last";
    %>
    <jbo:RowsetNavigate datasource="dtsVista" action="<%=navop%>" />
    <br>
    <form name="Vista" action="untitled2_Submit.jsp">
    <table border="0">
    <tr>
    <td>Nombre de Usuario</td>
    <td>
    <FONT class="texgen"><jbo:ShowValue datasource="dtsVista" dataitem="Nomuniusu" ></jbo:ShowValue></jbo:ShowValue></FONT>
    </td>
    </tr>
    <tr>
    <td>Cedula de Identidad</td>
    <td>
    <jbo:ShowValue datasource="dtsVista" dataitem="Cedideusu" ></jbo:ShowValue>
    </td>
    </tr>
    <tr>
    <td>Fecha Inicio Vigencia del Rol</td>
    <td>
    <jbo:InputText datasource="dtsVista" dataitem="fecinivigrol"/>
    </td>
    </tr>
    <tr>
    <td>Tipo de Usuario</td>
    <td>
    <jbo:InputText datasource="dtsVista" dataitem="tipusu"/>
    </td>
    </tr>
    <tr>
    <td>Descripcion del rol</td>
    <td>
    <jbo:InputText datasource="dtsVista" dataitem="desrol"/>
    </td>
    </tr>
    </table>
    <input name="MyRowKey" type="hidden" value="<jbo:ShowValue datasource="dtsRolPorUsu" dataitem="RowKey"/>" />
    </form>
    </BODY>
    </HTML>
    <jbo:ReleasePageResources releasemode="Stateless" />
    But when I run the page I found this error:
    Application Error
    Return
    Error Message: DataWebBean: Could not locate View Object: ViewRolPorUsu in application PkgSegModule
    How can I work with a View Object created recently and after I have created the BC4J JSP Application???
    Could you help me please?

    Yes, I added my new View Object to the Data Model because when I right_click on the JSP page and I want to add a new Datasource Datatag, I see the ViewObject but it gave me the error.

  • Help with view link

    Hi,
    I have created a view link in the bc4j layer based on 2 views created in bc4j. It is kind of master detail, 2 different tables but I want to change the display of it into a single table. For each master record in a table, I want to display detail(need only one column) as a list within same master table. How and where can I do that? Please help.
    Thanks,
    Kavitha

    What is happening to make you think you can't add it in the code where you want to add it? Are you trying to add the Application tag as well, or just the LinkButton? BTW, you might get more help if you post in the Flex forum instead of this one.

  • Help with View and WorldCoord

    Hi
    i am working on a solarsystem (have to finish this for university)
    My Problem is: I have to jump to a selected Planet, but i can't get the current Coords.
    I tryed to get them already with getLocalToVworld but on the Console i get:
    Transform3D:
    1.0, 0.0, 0.0, 0.0
    0.0, 1.0, 0.0, 0.0
    0.0, 0.0, 1.0, 0.0
    0.0, 0.0, 0.0, 1.0
    and
    Vector3f : (0.0, 0.0, 0.0)
    or
    my current position of the ViewPlattform (depends on the TG i chose for output)
    I am pretty frustrated atm, cause there is nobody knowing a solution for this
    (all of my fellow students are fighting this problem )
    this is my sourcecode so far (cutted all unimportant thing out, all planets are made on the same way
    public Planetensystem(String titel, int w, int h) {
    super(titel);
    this.setSize(w, h);
    this.setVisible(true);
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    GraphicsConfiguration gc = SimpleUniverse.getPreferredConfiguration();
    canvas3D = new Canvas3D(gc);
    this.getContentPane().setLayout(new BorderLayout());
    this.getContentPane().add(canvas3D, BorderLayout.CENTER);
    universe = new SimpleUniverse(canvas3D);
    universe.getViewingPlatform().setNominalViewingTransform();
    branch = new BranchGroup();
    branch.setCapability(BranchGroup.ALLOW_LOCAL_TO_VWORLD_READ);
    branch.setCapability(BranchGroup.ALLOW_CHILDREN_READ);
    branch.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
    branch.setCapability(BranchGroup.ALLOW_CHILDREN_EXTEND);
    TransformGroup root = createMouseBehaviorNew();
    KeyBehavior keyCtrl = new KeyBehavior(universe.getViewingPlatform().getViewPlatformTransform());
    keyCtrl.setSchedulingBounds(BigBounds);
    branch.addChild(keyCtrl);
    branch.addChild(root);
    root.addChild(createScene());
    branch.compile();
    universe.addBranchGraph(branch);
    this.setVisible(true);
    } // End Planetensystem
    private TransformGroup createScene() {
    scene = new BranchGroup();
    scene.setCapability(BranchGroup.ALLOW_LOCAL_TO_VWORLD_READ);
    TransformGroup verschiebung = new TransformGroup();
    uranus = new TransformGroup();
    uranus.setCapability(TransformGroup.ALLOW_LOCAL_TO_VWORLD_READ);
    uranus.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    uranus.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    uranusTmp = new TransformGroup();
    uranusRot = new TransformGroup();
    uranusEigRot = new TransformGroup();
    uranusHead = new TransformGroup();
    // uranusTMP, uranusEigRot and UranusHead - sameCapabilities like uranus
    scene.addChild(createSun());
    uranusTmp.addChild(createPlanet(1.4f,earth, uranus,8.8f));
    Alpha e = new Alpha(-1, 100000);
    sonnenrotation = new RotationInterpolator(e, uranusRot);
    sonnenrotation.setCapability(RotationInterpolator.ALLOW_LOCAL_TO_VWORLD_READ);
    BoundingSphere uranusSonRot1 = new BoundingSphere();
    behaviors.add(sonnenrotation);
    sonnenrotation.setSchedulingBounds(uranusSonRot1);
    uranusRot.addChild(sonnenrotation);
    uranusRot.addChild(uranusTmp);
    uranusHead.addChild(uranusRot);
    scene.addChild(uranusHead);
    // Translation for starting position
    Transform3D verschiebung_y = new Transform3D();
    verschiebung_y.setTranslation(new Vector3f(0.0f, 0.0f, 30.0f));
    verschiebung_y.setTranslation(startPosition);
    verschiebung.setTransform(verschiebung_y);
    verschiebung.addChild(scene);
    return verschiebung;
    } // end CreateScene
    I am thankfull for every suggestion!
    Kind Regards
    Achim

    Yes, I added my new View Object to the Data Model because when I right_click on the JSP page and I want to add a new Datasource Datatag, I see the ViewObject but it gave me the error.

  • Help with view stack, PLEASE.

    I have a ViewStack controled by a ToggleButtonBar inside a
    ApplicationControlBar the data provider for the ToggleButtonBar is
    my viewstack, ok it all works like a charm when i run it from flex
    builder 2 but when i try to execute the aplication from another
    path it only shows the initial view, when click the toggle buttons
    they change state but the view remains the same :(, i don´t
    know what to do and the worst thing is that my deadline is allready
    past :S I realy need your help on this one guys, thanks in advanced
    for your help and replyes.

    Maybe you can post some simplified code.

  • Help with viewing mail...

    I'm having a very annoying problem viewing mail on my new macbook pro. On my old macbook ( 4 years old ) the messages were viewed differently; I could see the sender on half the inbox window and the image or body details underneath without opening a new window. Now I cannot return to this look even though I assumed it was a default. It happened occasionally in my old macbook and I would double click the little white square underneath the search bar and all would be well. This no longer works. What have I done? This is driving me nuts, all I see is a long list of senders, no message details. I hate having to open a new window to view these details. Huge thanks in advance.

    On the main window with all the columns showing from, subject, date, etc, at the bottom of that window, you should see a double horizontal line with a dot in the middle of it. If you hover the cursor over this double horizontal line, the cursor should change from the usual arrow shape to a cross thing with a little horizontal bar and double headed arrow pointing up and down. When that happens, click and drag the horizontal bar up toward the top of the page-- it should reveal the selected message underneath.

  • Help with View Objects code

    I need to add some new methods to my source code of an View Object (ej. KssegtrolesImp.java) and call them in my jsp pages. In that file we have by default methods as:
    create(), doDML(), etc..
    I added new methods but I don`t know how to do to call that method on an Entity Object.
    Please I really need some help.

    Hi Gina,
    I'm not quite sure I understand--Do you need to call View Object methods or Entity Object methods?
    It sounds like you want to call Entity Object methods, if I understand correctly. You can't do that directly, because clients don't directly access the Entity Object layer.
    You can instead access these from a View Row. I'm about to post a HowTo on accessing EO methods this way.
    Best,
    Avrom
    null

  • Help with viewing web pages

    Hi, hoping someone can help.  Just got the blackberry pearl 8100.  I can view web pages and see pictures but I cannot view web page videos or hear music.  Shouldn't I be able to view videos and stream music?  Do I need to enable different browser settings?
    Thanks

    Thanks, I just reinstalled the program but its still not
    working.....any other suggestions?

  • Help with Viewer!

    I just updated my software for imovie 08, and now i cannot skim projects already completed. The viewer gets all pixelized and i cannot see video on viewer, i can only hear audio. If I look at the events library i can skim and see video on viewer, but not on the projects...any advice

    I would recommend rebooting your Mac. But before you do, make sure all software updates, including the Quicktime Update, have been installed.

  • Help with viewing dark screen on Elements 8 and downloading brushes for Elements 2

    I have Elements 8, but really dislike the dark grey screen.  It is so hard to see.  It is also very small and don't know how to enlarge screen.  I started with Elements 2.0 which is my favorite and I a trying to download new brushes, but I get the message that the files are not compatible with this version.  Any suggestions?
    Judy

    The photoshop exchange has lots of brushes compatible with photoshop elements 2.
    (as Barbara mentioned look for brushes compatible with ps 7 (photoshop 7)
    http://www.adobe.com/cfusion/exchange/index.cfm?searchfield=brushes+photoshop+7&search_exc hange=16&search_category=-1&search_license=&search_rating=&search_platform=0&search_pubdat e=&num=25&startnum=1&event=search&sticky=true&sort=0&rnav_dummy_tmpfield=&Submit=

Maybe you are looking for

  • Can't install panther 10.3 on iMac G3

    first of all, sorry for my bad english, and lack of capitals : i am using an old version of internet explorer version 5 i guess, which does not recognise the french characters, accents, capitals and the rest... now my main problem : i am trying to in

  • How to read data from Logical Database ADA for more than one financia year

    Hi, I need to read data from ADA logical database and ANLCV node for current financial year 2007 and for the next 3 years – 2008, 2009, 2010. When I do this using program attached below, I receive only data for one year, which is entered at the selec

  • Adobe Camera Raw (ACR), Jpeg Files and Metadata

    I have been using Adobe Camera Raw (ACR) with my Canon EOS 30D, an 8 MP camera, for a while now. I would make non-destructive changes to the raw file (.CR2) in ACR where the changes would be stored in an adjoining .xmp file. Jpegs of the unedited and

  • How Do I Fade Out In The Middle Of A Song?

    I cant find out how to do it on certain parts in the middle of a song I am mixing. Can anyone help?

  • Could not make connection to source system

    Hello Experts, I am trying to fetch data based on selection for last month in info-package but when I try to enter selection (pull down button), I get error message - "Could not make connection to source system..." Any idea why this message? I have a