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
Similar Messages
-
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 Kackriahi, 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? -
I want to switch to the u.s store as I now live in the us, I cannot switch stores because my balance is $1.41 in the oz store and needs to be zero, how can I get rid of the $1.41 when everything costs more or less than that? I do not have a credit card on the oz iTunes account an I cannot use my us one to top it up.
HELPClick here and request assistance.
(60992) -
how can i get acsess to my data if my iphone is shut and can´t open any more??how can i get acsess to the memory card????please help
You can't. There is no memory card. It uses flash memory that's soldered to the logic board. If you didn't back it up, your data is gone.
-
How can I get rid of the dark area on top one third of my iphone screen which spoils my background image?
It seems this problem is caused by the software to increase the readibility of upper letters (clock battery etc.) It be nice to leave us the control of choosing background letter color too if we are using brighter images or darker images.
I'm using iphone 4s and it appeared after I updated to new patch. 7.1.1.
Thanks,
Cem
I do not know how to move topics from sections of forum so I apologise for duplicate post.
https://discussions.apple.com/message/25594879#25594879Photo added.
-
How can I get Data from the Sound cart in Labview? Does a VI exist?
How can I get Data from the Sound cart in Labview? Does a VI exist?
Yes, there are VIs for acquiring data from Sound cards. And examples too. If you don't have LabVIEW yet, do a search on NI's site for example VIs.
Khalid -
When I click on the Music tab on my Apple TV 2, a message tells me I have to set up iTunes Match to stream music from my iTunes library on my iMac. I don't want to set up and pay for iTunes Match. How can I get back to the pre-Match system which let me just use home sharing to stream music from computer to Aple TV
Ditto.
You need to look for your itunes library under Computers and select it, then music.
Music column is for web based content not local content, just to confuse everyone.
AC -
I am running OS10.6.8 and have a mail box duplication. I use gmail and when I open my mail I have both the Apple Mail and another set of boxes for Gmail. Both get all mail and when I delete from one, it deletes from the other. How can I get rid of the dup
Hi,
According to your descriptioin, I don't think this is system problem, it should be Intel driver problem. It would be contact Intel to confirm this issue whether this is their driver problem.
Roger Lu
TechNet Community Support -
I have an iPhone 6 with IOS 8.1.3. When I go to the landscape view in Safari, the bookmark page appears and takes up one half of the screen. How can I get rid of the bookmark page so I can use the whole screen to what I am browsing?
OOPS! Too quick on the trigger to ask that question without trying anything. Sorry. Solved it by touching the bookmark icon.
-
How can I get rid of the accumulation of the backups in the Macintosh HD of my new MBA 13.3'' ?
My best advice is that you stop worrying about the backups that TimeMachine is making on your MBA. First, these local backups are only made when TimeMachine should perform a backup but your computer isn't connected to TimeMachine. Once you reconnect your computer to TimeMachine it makes a backup and the local backups are deleted. Second, TimeMachine stops making local backups when your free drive space dips below 80%. So the local backups aren't going to take over your computer.
-
How can i get rid of the small box in the middle of my screen
How do i go about getting rid of the box in the middle of my screen that offers stuff like webify and to sign up to you guys. i really hate that box being there.
one more question " how do i go about getting the rid of the restore session box everytime i close my home page, i dont want to restore at times i just want to close my home page and when i open it up be at my home page.Ok, I fixed it, thank you but I still have another question I set google to be my main screen but now I have about 3 search bars one in the middle of the screen and to on top. My question to you is how can I get rid of the middle search bar on the google screen and just have the two on top?
-
I have a new iPad. I am using Comcast as my email provider but when I send a message, it pulls up the facebook email addresses for my contacts instead of the addresses stored in my comcast account. How can I get rid of the Facebook email addresses? The comcast addresses are stored in the comcast (xfinity) app. I do not use the "mail" or "contacts" apps ....I go straight to comcast (xfinity). I wish I could start over!!! thanks.
iPadI could be wrong, but it sounds like Facebook imported to your contacts. I have the Xfinity app on my new ipad, too, but none of my stored contacts from the online version are showing, only what I manually entered into the iPads contacts are there. When I did add the FB app, I did not grant it permission to push and pull from my ipad (not a fan of FB knowing every detail about me), so that may be where our difference lies. You could try to open the app and change your privacy settings, or delete it and then reinstall without granting permissions to integrate.
I'm sure someone here with a lot more knowledge then me can probably diagnose your issue better, though. Good luck! -
I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?
Drrhythm2 wrote:
What's the best solution for this? I
Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer. -
Since I synced my ipad to my iMac I have duplicate photos appearing in the Photo section on my iPad and one can be trashed but the other one can't. How can I get rid of the ones without the trashcan?
Thanks so much. I was afraid to mess with that. But when I unsynced them, it worked.
-
How can I get rid of the Flash Drive password?
I have recently purchased a 16Gb USB stick. When I plugged it in (Win 7 Ultimate) it came up as enhanced storage and I created passwords.
Now I cannot use it on Vista or Xp computers. On vista I right clik and select unlock but nothing happens. On XP the it shows up as removable disk and when I click on it it ask to insert disk.
How can I get rid of the password - in win 7 icant have a blank password for itHey,
In your case i would contact Toshiba memory support. You can give them a call or write an e-mail, have a look on Toshiba memory page:
http://www.toshiba-memory.com/en/service_support.html
Have you created the password using U3T software? On the same Toshiba page there is a FAQ article how to remove U3T Launchpad software.
Maybe you are looking for
-
Hi all, I just upgraded to RH8 (via TCS 2). If I try to display a topic from the Project tab (double-click or right-click>Edit), it takes 5 to 10 seconds to actually display the topic in the Design tab - repeated for each topic, it makes things very
-
HP P7-1446s having volume issues (goes to 0 automatica​lly)
my volume control keeps appearing upper right of my monitor and goes to 0 automatically. I have to play with volume buttons on keyboard to get it to come back on but it goes to 0 again eventually. I'm using an HP keyboard also. This just started t
-
Can't install Flex B3 on Windows XP
Hello, Can't solve this problem, Flex Builder 3 can't instalkl on Windows XP ! I have this error message : Installer User Interface Mode Not Supported : Unable to load and to prepare the installer in GUI mode. Someone can help ? Thanks !
-
How to uninstall Elements 8?
I installed Elements 10, but when I tried to uninstall Elements 8 I get, "Error 1316. A network error occurred while attempting to read from the file C:\Windows\Installer\AdobePhotoshopElements8.0.msi" I searched the web and found one set of instuct
-
I have a gui built in swing, and the main part of this is a list of files in the content area, now when i click another button i need to remove that and replace it with a textarea, having some trouble getting my head around it, doesnt seem to be as s