HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL

HOW TO GET INFORMATION ABOUT THE CLIENT MACHINE AT DATABASE LEVEL USING 10g Database and 10g Application Server
we have developed an application using oracle forms 10g with
oracle database 10g and Application server 10g
Application uses a single Oracle User name to connect to database
where as at Application level there are different users (these are not database users)
Now how can we get the information about the user/his machine etc. at database level. earlier in 6i/8i we use to get by using
USERENV('TERMINAL')
we had written a triggers on tables on Insert/Update where we used to update a database field Last user terminal with USERENV('TERMINAL')
but not this information is comming to be the machine name of application server where as we wish this to be the machine name of Client. Any Way outs
thanks
Chaand Kackria

hi, you can use the sys_context function, like this:
select sys_context('userenv','current_user'),
     sys_context('userenv','os_user'),
     sys_context('userenv','host'),
     sys_context('userenv','ip_address'),
     sys_context('userenv','instance'),
     sys_context('userenv','sessionid'),
     sys_context('userenv','terminal')
from dual;
Is this what you 're looking for?

Similar Messages

  • How to get information about the modules used in the RT system from host pc.

    hi all,
    i am trying to  read the modules of the RT tragets from my host pc without deploying the program.
    i have 2 or more than 2 rt systems from which i am trying to get the information about the modules used in that particular system.
    Regards,
    Santhosh M

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to get information about creation of a virtual machine on a Hyper-v host.

    Hi,
    How to get information about creation of a virtual machine on a Hyper-v host?
    I need: host name, time created, creator user.
    I saw in Hyper-V-VMMS but I found info about movements of VM between hosts.
    Thank's in advance.
    Denius Valiant

    For Host Name * Created Time Use This Command In PowerShell 
    Get-VM -Name (Read-Host "Type Your Vm Name") |select CreationTime , ComputerName
    and for Create User , As i know you should see on Event Log . 
    Go To Event Log Viewer--->Applications And Services Logs--->Microsoft--->Windows--->Hyper-V-VMMS--->Operational 
    You can see in Event Log who create the Vm.
    Whenever you see a helpful reply, click on Vote As Helpful & click on
    Mark As Answer if a post answers your question.
    LinkedIn:
      Facebook:
      

  • Logging query with information about ip client machine address

    Halo,
    One of our most important requirements is logging user query (physical to database and logical) with following informations:
    - USER
    - SQL QUERY TEXT (logical/physical)
    - DATE and TIME executing query
    - IP ADDRESS client machine (or name of client machine) (this is very important information)
    We have following configuration:
    - BI Server with Presentation Servicess on one machine (AIX)
    - Web server on second machine (BEA Weblogic 9)
    I've tested [USAGE_TRACKING] mechanism but thera are three problems with it:
    1. in S_NQ_ACCT in field NODE_ID is always written the same information: name of Web Server - WebLogic
    2. in S_NQ_ACCT are storages only logical queries.
    3. Length of field QUERY_TEXT is 1024. I'm sure that in many cases it'll be to short.
    I've tested USER_LOG too (that logs to NQQuery.log file) but there are also some problems:
    1. there is no information about ip client machine but is information about physical and logical queries and other necessary informations
    2. oracle recommends turn off this mechanism on production system.
    I've tested PRESENTATION SERVICESS log (it is configured at logconfig.xml file)
    1. In file is information about ip client machine
    2. In file are written only logical queries (this is big problem we also need physical queries)
    Do you have some idea how to resolve my problem?
    Regards

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • How to get information about cursor? I had only a reference on it.

    Hello
    How to get information about cursor, that I receive in my procedure as a reference. For example I need to know, a number of columns. I know nothing about this cursor, except the link on it.
    Best Regards, Kostya Proskudin!

    However, I would seriously reconsider what you are trying to achieve.
    It looks like you are trying to write some ultimately generic cursor processor. i.e. pass any cursor and process it in some generic way.
    Good design should include knowledge of what is expected to be passed and that knowledge can be put into the code.
    Generic code is inherently difficult to maintain and debug and will never 100% deal with all possible situations e.g. even if you know the table being queried in the cursor you can't rely on the data dictionary to give you all the returned columns if some of the returned columns of the cursor are computed columns.
    Be careful you aren't writing something that's going to cause problems later.

  • How to get information about limitation Internal Memory on device

    hallo ..
    have some question here, so please some person able to answer my questions 
    1. How to get Information about limitation internal memory on device 
    2. is possible to improve internal memory on Blackberry ( move apps on external memory )
    3. any tools to get internal memory activity ?
    thanks for this people who joins here, hope we can share more information about blackberry .. 

    In addition...
    There are three types of potential memory on a BB: 1) Application Memory, 2) Device Memory, and 3) Media/SD Card Memory.
    Application Memory -- This is the most crucial; it is the protected (not user accessible), dedicated, and fixed (in size) space that is available as the destination for the installation of applications (plus some application storage, overhead and such). You cannot touch AppMemory. You cannot improve the maximum AppMemory that your BB has. It is what it is. Applications can only install here...there is no option.
    Device Memory -- This is space on your BB that you can touch to store files, pictures, media, etc. Typically, it is not terribly large, but it is available to you.
    SD/Media Card Memory-- This is what it says...your SD card, for you to store files, media, pictures, etc. It can be as large as your BB OS can support...see this KB:
    KB05461MicroSD card sizes supported by the BlackBerry device software
    On some devices/OS levels, you can only see "File Free" (Options > Status), which I think is equivalent to AppMemory. On other devices, you can see all three memory usage levels (Options > Memory). Here are some guidelines to use:
    KB02843What is the Low Memory Manager feature on the BlackBerry smartphone
    KB14320How to maximize free space and battery power on the BlackBerry smartphone
    KB14213Call logs, SMS text messages, and email messages are deleted from the BlackBerry smartphone
    Lastly, it is always important to properly close applications when you are done with them. Using the Back or the Red key will not do this -- those leave it to the app to decide what to do...and some will leave themselves resident in memory, consuming resources on your BB, slowing the overall performance. Rather, to close an app, press and select "Close" or "Exit"...that will force the application to be closed, freeing up for your new use the resources it was consuming. Some apps will always remain running (typically -- BBMessenger, Browser, Homescreen, Phone, and Messages)...but, you should still close them properly - especially the Browser...if it is left on an active web page, it will not only consume extra resources but battery power as well.
    Further, anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure. Some have taken to doing this on a regular basis as a preventive measure...some as frequently as once per day. Others have obtained the QuickPull app to automate a simulated Batt-Pull.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Can I get information regarding the client browser using JSP

    can I get information regarding the client browser using JSP. like.. name, screen resolutions, font type, screen width and height of the browser etc.,
    if possible then please give me the samples..
    thanks,

    can I get information regarding the client browser using JSP. like.. name, screen resolutions, font type, screen width and height of the browser etc.,
    if possible then please give me the samples..
    thanks,

  • How to list printers on the client machine to print the documents in ADF

    Hi,
    I have a requirement to print multiple documents stored on the server. I am trying to find out how to list the printers or get a default printer on the client machine and print the documents using ADF.
    Thanks
    Sukarna

    I tried that solution. but I am not getting any printer list.
    public void printDocument(ActionEvent actionEvent){
    BindingContainer bindings =
    BindingContext.getCurrent().getCurrentBindingsEntry();
    PrintService[] service = PrintServiceLookup.lookupPrintServices(null, null);
    if (service.length == 0){
    JOptionPane.showMessageDialog(null, "No Printer Selected");
    The printer Service is not returing any data.
    Thanks
    Sukarna
    Edited by: 911653 on Oct 5, 2012 9:01 AM

  • How to get info about the mobile, like screensize...

    hi,
    i need some info about the device my midlet is running on.
    how is it possible to get info about the screensize, screentype(color/black) and perhaps devicetype or modelname?
    i already read it somewhere but i didn't find the source again.
    tia
    mmkl

    thx,
    the example below shows some basic information.
    Display myDisplay = Display.getDisplay(this);
    Displayable dis = myDisplay.getCurrent();
    int high = dis.getHeight();
    int width = dis.getWidth();
    boolean isCol = myDisplay.isColor();       
    int nubCol = myDisplay.numColors();more detailed information about model, aren't available through the standard api, on blackberry's there some restricted apis that provide these device-type and other detailed information...
    for more basic information, just look at the class-methods from display and displayable...
    mmkl

  • How to get information about time of triggering and entire time waveform

    I have been trying to capture a certain portion of waveform from Textronix DPO2024 using triggering in Labview. Further, I want to save the the entire triggered waveform (triggered time as one array and triggered signal amplitude as second array)  in .xlxs format.
    With the present setup (screenshot, and output of program attached). I only get the triggered portion of signal, I get time stamp (that I do not want) but require the time array, instead.
    I know there are methods to convert the timestamp to time array. I do not want to use this, as I need to capture the data every 10 ms  or even faster, and this slows the acquisition process.
    Any help will be much appreciated.
    Thanks

    Hi Dennis,
    Thank you for the response.
    Please find the .vi attached. In the case - without triggered, with the information of dt and length of Y, we can determine the time waveform (as calculated using matlab script on right). But in the presence of triggering, neither  the length of waveform nor the start time of triggering is known, so calculating the time waveform is tricky. In addition, since the waveform is continuously changing, and keeping trigger fixed at a particular level,  the length of waveform is also changing in some of the acquisition. So I wanted  a 'simple' method where I can get the time information about the triggered waveform in each acquisition.
    More specifically, I wanted help in regard to getting time array of the triggered signal and save it as a column in excel file.
    Thanks

  • How can i get ipaddress of the client machine

    I tried the below trigger to check the client ipaddress but
    I am getting error 'identifier 'sys_context' must be declared'
    Declare
         IP_ID varchar2(16);
         T_IP_ID NUMBER(15);
    Begin
         select sys_context('USERENV','IP_ADDRESS') into IP_ID from dual;
         IF :EMP_NO IS NULL THEN
    MESSAGE('ENTER YOUR USER_ID NOW');MESSAGE(' ');
    Raise Form_Trigger_Failure;
    ELSE
    set_item_property('CHG_PWD',DISPLAYED,PROPERTY_TRUE);
    BEGIN
    SELECT USER_CATEGORY,IP_ADD INTO :GLOBAL.CAT,IP_ID from USER_ADMIN_MASTER
    WHERE USER_ID = :EMP_NO AND T_IP_ID=IP_ID AND EFF_END_DATE IS NULL;
    :GLOBAL.EMP := :EMP_NO;
    NEXT_ITEM;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    BELL;
    MESSAGE(TO_CHAR(:EMP_NO)||'- IS NOT A VAILD USER_ID ! PL CHECK AND RE-ENTER');
    MESSAGE(' ');
    RAISE FORM_TRIGGER_FAILURE;
    END ;
    END IF;
    End;
    Dev

    I don't know, I use this in SQL*Plus script:
    Try:
    declare
    cursor c_ctx is select
    select  SYS_CONTEXT('USERENV','IP_ADDRESS') ip_address from dual:
    ctx c_ctx%ROWTYPE;
    IP_ID varchar2(15);
    begin
       open c_ctx;
       fetch c_ctx into ctx;
       close c_ctx;
       IP_ID := ctx.ip_address;Regards

  • How to get information about PowerPivot options

    I was going through the Custom Xml structure present after unzipping a PowerPivot enabled excel file.
    My main motive is to extract information pertaining to PowerPivot options present in the Excel File.
    It had around 16- 19 Custom Xmls, I had a little confusion and it would be great if you could help me on this :
    1. In the workbook.xml.rels file, there is entry for each Cutomxml file. For ex. –
    But according to my interpretation, each of these entries must be referenced also. What i mean is that the specific Rel ID i.e. rId30 (for the above entry) must be referred somewhere in the package that is why it is mentioned in the Workbook.xml.rels.
    But i couldn’t find it anywhere. So how does Excel does all the mapping that which Custom XML is referred to?
    2. I found out that for each table in the PowerPivot window, there is a Custom XML present in the Custom XML’s folder.
    But, there are other field also present such as ‘ColumnFormat’, ‘ColumnNegativePattern’, but these are not getting updated whenever I am changing these for any table.
    I can get the Column names of the table but how can i find out what Format has been applied to the Column of the tables.
    3. Moreover, I found a bunch of Custom XML’s but couldn’t really make sense out of them that what they were pointing to.
    For ex. – CustomXml with namespace – Gemini xmlns=”http://gemini/pivotcustomization/a1265ca3-5c9c-4281-be48-a1a026385b0a”
    or “Gemini xmlns=”http://gemini/pivotcustomization/IsSandboxEmbedded””
    It would be highly beneficial if you can help with these namespaces and their interpretation.
    4. I understand that majority information is present in the database i.e. Item.data file and also in the Temp folders when the file is opened.
    I got through some files present in the Temp Folder and could get my hands on information about Column Format, Formula in case of Calculated Columns. But how do I find out the exact path for the Temp folder every time I open the file.
    I could find some paths in the Item.data file in the BackUpFile nodes but those didn’t exist.
    So is there is any way by which I can get those paths.
    Sorry if the query is a little long, but I am actually stuck with the above questions acting as bottleneck.
    Thanks a lot!!
    Sahil Puri

    What version of Power Pivot are you on?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • How to get informed about new features and version...

    Hello,
    I used to get informed on skype when a new version is launched, but now I dont. I noticed it when I delete skype and re-install again from the site for a reason. Also I want to learn about the new features via e-mail. What should I do?
    Regards

    To manually check for new updates, you can click the Check Update option in the Help menu in the Skype software window.  Then if there are new versions released and you want to know what new features are added in that release, you can check the Skype Blog's Garage section - 
    http://blogs.skype.com/category/garage-updates/
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • How to get information about file owner in UNIX

    Dear all
    I would like to write a file management program in Solaris 8 using Java.
    However, I don't know how to get the file owner and file permission information
    by any Java class. Please advise.
    Sincerely Yours
    Mr. Voravit H.

    I fear there will be no pure java solution, because file owner and file permissions are platform-dependent issues, especially about the gory details (groups, executable / sticky / setuid-bits, ACL etc.)
    AFAIK java supports only the notion of a file's being readable or writeable but nothing further.
    On the other hand, some (even popular and wide-sprread) platforms / file systems do not have the notion of the owner of a file.
    So you will need some platform-specific solution like running an external command or calling the C function "stat".

  • How to get MAC address from client machine ?

    Hi dear,
    We are implementing security measures for a banking system, so it is required that we track the MAC address of the registered clients along with other parameters. How do we get the MAC address from client machine using ADF or running scripts in client side?
    thanks all

    Hi,
    Welcome to OTN.
    Your question has nothing to do with ADF as such. Googling would give you plenty of such topics.
    -Arun

Maybe you are looking for

  • Does Time Machine Backup irritate wireless Mighty Mouse?

    Hi there. I'm having a strange issue here. With an iMac that came with bluetooth mouse and keyboard, OS out of the box (no software updates installed because there's no internet connection), each time Time Machine is backuping files, the Mighty Mouse

  • Archive Link and toa01

    Hi everyone. I would like ask if somebody could help me with this one. I would like to now how many of the billing documents we have produced are stored in our Content Manager solution. Therefore I made a program which takes the billing doc number pl

  • "clearing out" iPod, handing down to wife

    Hello - I'm about to purchase a 60GB iPod for myself and want to hand down my 20GB to my wife. She in turn is handing down her 4GB mini to our niece. Anyway, how do I clear out the iPods so that the new users can start out fresh? Thanks a ton in adva

  • Smart directories don't update smart in dock

    An half bug ? When I put my smart directory in the dock, it don't update. You can see it in the snapshot : my last file about Jeanne d'Arc don't appears. But sometimes it work well, i don't know why ? It's like window in file drag'n'drop that sometim

  • Emergency Reponse Error on IP communicator CCM v7

    I am seeing many of my Ip communicator users receive Emergency response errors when they first launch the application. this has never happened before we upgraded to ccm 6 then 7 a few months back. How do I troubleshoot this problem?