To get the Unique id for Session

Is there any Unique id for the oracle sessions wether i connect to the database using sql*plus,Isql*plus or any other tool. If i use "SELECT SYS_CONTEXT('USERENV', 'SID') FROM DUAL;" it return the same value if already opened session gets close.
So i want to know is there any unique identification for the sessions through out the life of the db.
Thanks in advance.
Balaji.M

Hi,
are you trying to identify a session uniquely? if yes then you need to use sid and serial#, once a session is terminated by logging of or killed the sid is releases and another session being formed can have the same sid.
Hope this helps.
Regards,
Vijay Sehgal

Similar Messages

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

  • HT1491 Hi - I am trying to change my payment information but I keep getting the message that my session has timed out. I have turned my phone off but that doesn't seem to help.

    Hi - I am trying to change my payment information but I keep getting the message that my session has timed out. I have turned my phone off but that doesn't seem to help.
    Does anyone know what I need to do?
    Thanks. :-)

    What are the exact error codes that are appearing when trying to update?
    Have the steps for troubleshooting those errors as listed in the article from which the question was posted been tried?

  • HT1386 I SUDDENLY GET THE MESSAGE "WAITING FOR SYNC TO START" AND THEN SEVERAL MINUTES LATER A MESSAGE SAYING SYNC HAS FAILED BECUASE IT DIDN'T START!

    I SUDDENLY GET THE MESSAGE "WAITING FOR SYNC TO START" AND THEN SEVERAL MINUTES LATER A MESSAGE SAYING SYNC HAS FAILED BECAuSE IT DIDN'T START!

    Se if this previous discussion helps:
    Sync Session Failed to Start iTouch iOS5: Apple Support Communities

  • Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off

    I am on Oracle 11.1.1.7 BPM suite on W8 64 bit. I can't launch the flow trace and get the error "Unable to get the composite instance for the invocation. This could be because instance has not yet been created or because the audit level for the SOA infra has been set to Off".  I have set the audit level to development at the soa-infra>SOA Administration> Common Properties > Audit level set to development and Capture Composite Instance State is Checked.
    Can somebody advice.
    Thanks

    Can you please confirm me the following steps...
    Log in to the EM console, Expand soa-infra (soa_server1) , go to the partition where your composite is been deployed, Click on your composite, On the right, click on the dropdown Settings and choose Composite Audit Level. you can choose to set the Audit Level for this composite. If you choose Inherit, it will take the settings to what the server is being set to. Otherwise, we can override it by choosing Off, Production, or Development.
    Make sure your setting for that composite is not Off, keep inherit or production or development.
    Thanks,
    N

  • HT1386 i have an iphone 4s. Im getting the iphone 5s for christmas, but i do  not have my phone backed up, and my phone is not working and my screen is covered with blue lines. I need help.

    My iphone is not working, i was planning on getting the iphone 5s for christmas, but i do not have my phone backed up on itunes. On my screen are these blue lines across on my screen, and i cant see anthing and i do not know what to do. I want to back up my phone but i cant see my screen to back it up. I need help badly. Thanks apple hope you can help me in this matter.

    You wouldn't need to see the screen to backup unless you have a passcode on the device. Is that the case? You should be able to plug the device into the computer with iTunes and just select backup now.

  • How to get the last error for while loop?

    How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.

    What do you mean by "get" and "transfer"?
    If the shift register is not what you want, use a plan tunnel instead.
    Typically, programmers are interested in the first, not last, error.
    Can you show us your code so we have a better idea what you are trying to?
    LabVIEW Champion . Do more with less code and in less time .

  • It takes a long time to open up documents on my Imac. I get the multicolor circle for a long time. I have 27 In Mid 2010 3.2 ghz Intel core I3 with 16 gb memory.

    It takes a long time to open up documents on my Imac. I get the multicolor circle for a long time. I have 27 In Mid 2010 3.2 ghz Intel core I3 with 16 gb memory.

    There are file hidden all around in your system.
    Go to Phil Stokes' info page, for a gerat uninstall primer.

  • HT4759 i downloaded the icloud to my pc it says to login with apple id and it says it is a valid apple id but not cloud but i cannot get the control panel for icloud to come up to set it up on my pc which runs windows 8

    i downloaded the icloud to my pc it says to login with apple id and it says it is a valid apple id but not cloud but i cannot get the control panel for icloud to come up to set it up on my pc which runs windows 8

    An update.
    From iCloud Control Panel 2.1.1 for Windows
    "iCloud Control Panel 2.1 and later includes support for Windows 8"
    but you still need to set it up on a Mac or iOS device, "Note: To create an iCloud account you need an iPhone, iPad, or iPod touch with iOS 5 or later, or a Mac with OS X Lion v10.7.5 or later."

  • Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    Whenever I update my iPhone software, it asks me to sign in to iCloud with an old email address.  My other devices all have the correct address.  How can I get the correct address for my iPhone?  The only Apple ID that works for logging in is my new one.

    To change the iCloud ID you have to go to Settings>iCloud, tap Delete Account, provide the password for the old ID when prompted to turn off Find My iPhone (if you're using iOS 7), then sign back in with the ID you wish to use.  If you don't know the password for your old ID, or if it isn't accepted, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar? Also would like to know if the toolbars can be put on the same line to make more room on the page (drag & drop) ??

    The bookmarks toolbar is there but has no item buttons on it. How do I get the items back for this toolbar?
    Also would like to know if the toolbar can be put on the same line to make more room on the page (drag & drop) ?? Like the menu & bookmarks toolbar could/should fit on same line. This would add more page view...
    Floyd Perry
    Thanks

    Check that you still have the "Bookmarks Toolbar items" placed on the Bookmarks Toolbar
    * Make sure that you have the "Bookmarks Toolbar" visible: "View > Toolbars"
    * Check in "View > Toolbars > Customize" that the "Bookmarks Toolbar items" is on the Bookmarks Toolbar
    * If the "Bookmarks Toolbar items" is not on the Bookmarks Toolbar then drag it back from the Customize window onto the Bookmarks Toolbar
    * If you do not see the "Bookmarks Toolbar items" then click the "Restore Default Set" button
    You can only move the content from a toolbar onto other toolbars if all toolbars support that feature. You need to check that in the options of each toolbar.

  • When I try to get the key code for office it tells me its already been used.  My mac had a new hard drive in its first year, could it be because of this?  How can I get the office I've paid for but never used?

    My mac had to have a new hard drive in its first year.  Now, when I try to get the key code for office it tells me its already been used.  How do i get the office I've paid for but never used?

    The product key is sent to you by email as part of the purchase confirmation.
    If you have lost it, log into your Microsoft account.

  • Getting the first row for each group

    Hi Everyone,
    I have a query which returns a number of rows, all of which are valid. What I need to do is to get the first row for each group and work with those records.
    For example ...
    client flight startairport destairport stops
    A fl123 LGW BKK 2
    A fl124 LHR BKK 5
    B fl432 LGW XYZ 7
    B fl432 MAN ABC 8
    .... etc.
    I would need to return one row for Client A and one row for Client B (etc.) but find that I can't use the MIN function because it would return the MIN value for each column (i.e. mix up the rows). I also can use the rownum=1 because this would only return one row rather than one row per group (i.e. per client).
    I have been investigating and most postings seem to say that it needs a second query to look up the first row for each grouping. This is a solution which would not really be practical because my query is already quite complex and incorporating duplicate subqueries would just make the whole thing much to cumbersome.
    So what I really new is a "MIN by group" or a "TOP by group" or a "ROWNUM=1 by group" function.
    Can anyone help me with this? I'm sure that there must be a command to handle this.
    Regards and any thanks,
    Alan Searle
    Cologne, Germany

    Something like this:
    select *
    from (
       select table1.*
       row_number() over (partition by col1, col2 order by col3, col4) rn
       from table1
    where rn = 1In the "partition by" clause you place what you normally would "group by".
    In the "order by" clause you define which will have row_number = 1.
    Edit:
    PS. The [url http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions004.htm#i81407]docs have more examples on using analytical functions ;-)
    Edited by: Kim Berg Hansen on Sep 16, 2011 10:46 AM

  • Unable to get the admin object for the CsContainerAdmin service

    Hi,
    On AIX, we deployed XIR2 SP2 --> XIR2 SP3 --> SP3 Productivity Pack.
    The Conection server does show up on the server list in the CMC, but on trying to access this server, it throws an error" Unable to get the admin object for the CsContainerAdmin service"
    Tried to manually create another Connection server, same result.
    Is this an issue that is addressed by a later FP?
    Thanks in advance
    Rajesh Jayakumar

    Hi Rajesh,
    Were you able to resolve this issue? I am facing the same issue with almost every BOE 11.5 SP3 server on Windows.
    For example, the Input file server says this -
    "Unable to get the admin object for the FileServerAdmin service for server Input.BOCMSMSGT1.fileserver".
    Getting the same error on WebI Report Server as well -
    There was an error while retrieving data from the server: Unable to get the admin object for the WebiServerAdmin service for server BOPROCENG1.Web_IntelligenceReportServer.webiserver
    Thanks,
    Sarang
    Edited by: Sarang Deshpande on Sep 26, 2008 3:08 PM

  • How do I get the printer driver for a hp officejet 6500 e709n?

    How do I get the printer driver for a hp officejet 6500 e709n? When I add the printer, Apple says the software is not available and to contact the manufacturer. HP says it is available from Apple.

    Hi Robmtu,
    You can find the direct download here.

Maybe you are looking for

  • Attachment icons not showing up in sent mail...

    This is strange...running all latest software. When I sometimes go back to view a sent message to confirm that I sent a particular file to someone, the email appears as though it sent just fine and is in the sent mail folder. However, there are no lo

  • Preview and output in Encore cs5 quality, not close to preview in Premiere Pro CS5

         I am working on a project and in Premiere Pro the preview looks fantastic.  Sequence that I am dealing with is AVCHD 1080i.  When I send the sequence to Encore via Dynamic Link, the preview is fuzzy, not sharp and out of focus. Not only is the p

  • WAN round-robin load balancing

    First things first, I just recently got that horrible distribution Gentoo off my machine and installed Arch for a test run and so far a flipping love it. Just like to thank everyone that made this wonderful piece of Linux. To the point: I have a box

  • With remote management enabled the screen saver never kicks in, the monitor never sleeps

    The title says it all. With remote management enabled the screen saver never kicks in, the monitor never sleeps. This is with an iMac. So I have to leave remote management off, which means instead of using remote desktop I have to manage the machine

  • Why do styles NOT hold their font size?

    I've learned how to set styles and am now applying them to a document, but I've noticed that the font size is not holding. I'm using Cochin in 10 point for a section that is two columns of text with some poetry lines here and there. I've checked the