ALL_DEPENDENCIES isn't updated well
Hi all,
may be i found an oracle error.
SQL> select * from ALL_DEPENDENCIES where name = 'EMP';
OWNER NAME TYPE REFERENCED_OWNER REFERENC REFERENCE REFERENC DEPENDEN
PUBLIC EMP SYNONYM HR EMP_PKG PACKAGE HARDso this tell me that the type is a SYNONYM, while the following
SQL> select object_name,object_type from user_objects where object_name='EMP';
OBJECT_NAME OBJECT_TYPE
EMP TABLEtell me that this is a table and that is true, is this an oracle bug?
Thanks so much
Francesco
unfortunately there is no any reference in the pkg EMP_PKG
CREATE OR REPLACE PACKAGE BODY EMP_PKG IS
TYPE BOOL_TABTYPE IS TABLE OF BOOLEAN INDEX BY BINARY_INTEGER;
VALID_DEPARTMENTS BOOL_TABTYPE;
EMP_TABLE EMP_TABTYPE;
FUNCTION VALID_DEPTID(DEPTID IN DEPARTMENTS.DEPARTMENT_ID%TYPE) RETURN BOOLEAN IS
DUMMY PLS_INTEGER;
BEGIN
SELECT 1
INTO DUMMY
FROM DEPARTMENTS
WHERE DEPARTMENT_ID = DEPTID;
RETURN TRUE;
EXCEPTION
WHEN NO_DATA_FOUND THEN
RETURN FALSE;
END VALID_DEPTID;
PROCEDURE ADD_EMPLOYEE(FIRST_NAME EMPLOYEES.FIRST_NAME%TYPE
,LAST_NAME EMPLOYEES.LAST_NAME%TYPE
,EMAIL EMPLOYEES.EMAIL%TYPE
,JOB EMPLOYEES.JOB_ID%TYPE DEFAULT 'SA_REP'
,MGR EMPLOYEES.MANAGER_ID%TYPE DEFAULT 145
,SAL EMPLOYEES.SALARY%TYPE DEFAULT 1000
,COMM EMPLOYEES.COMMISSION_PCT%TYPE DEFAULT 0
,DEPTID EMPLOYEES.DEPARTMENT_ID%TYPE DEFAULT 30) IS
PROCEDURE AUDIT_NEWEMP IS
PRAGMA AUTONOMOUS_TRANSACTION;
USER_ID VARCHAR2(30) := USER;
BEGIN
INSERT INTO LOG_NEWEMP
(ENTRY_ID
,USER_ID
,LOG_TIME
,NAME)
VALUES
(LOG_NEWEMP_SEQ.NEXTVAL
,USER_ID
,SYSDATE
,FIRST_NAME || ' ' || LAST_NAME);
COMMIT;
END;
BEGIN
IF VALID_DEPTID(DEPTID) THEN
AUDIT_NEWEMP;
INSERT INTO EMPLOYEES
(EMPLOYEE_ID
,FIRST_NAME
,LAST_NAME
,EMAIL
,JOB_ID
,MANAGER_ID
,HIRE_DATE
,SALARY
,COMMISSION_PCT
,DEPARTMENT_ID)
VALUES
(EMPLOYEES_SEQ.NEXTVAL
,FIRST_NAME
,LAST_NAME
,EMAIL
,JOB
,MGR
,TRUNC(SYSDATE)
,SAL
,COMM
,DEPTID);
ELSE
RAISE_APPLICATION_ERROR(-20204, 'Invalid department id, try again ');
END IF;
END ADD_EMPLOYEE;
PROCEDURE GET_EMPLOYEE(EMPID IN EMPLOYEES.EMPLOYEE_ID%TYPE
,SAL OUT EMPLOYEES.SALARY%TYPE
,JOB OUT EMPLOYEES.JOB_ID%TYPE) IS
BEGIN
SELECT SALARY
,JOB_ID
INTO SAL
,JOB
FROM EMPLOYEES
WHERE EMPLOYEE_ID = EMPID;
END;
PROCEDURE ADD_EMPLOYEE(FIRST_NAME EMPLOYEES.FIRST_NAME%TYPE
,LAST_NAME EMPLOYEES.LAST_NAME%TYPE
,DEPTID EMPLOYEES.DEPARTMENT_ID%TYPE DEFAULT 30) IS
EMAIL EMPLOYEES.EMAIL%TYPE;
BEGIN
EMAIL := UPPER(SUBSTR(FIRST_NAME, 1, 1) || SUBSTR(LAST_NAME, 1, 7));
ADD_EMPLOYEE(FIRST_NAME, LAST_NAME, EMAIL, DEPTID => DEPTID);
END;
PROCEDURE INIT_DEPARTMENS IS
BEGIN
FOR REC IN (SELECT DEPARTMENT_ID
FROM DEPARTMENTS)
LOOP
VALID_DEPARTMENTS(REC.DEPARTMENT_ID) := TRUE;
END LOOP;
END;
PROCEDURE PRINT_EMPLOYEES(EMPREC EMPLOYEES%ROWTYPE) IS
BEGIN
DBMS_OUTPUT.PUT_LINE(EMPREC.DEPARTMENT_ID || ' ' || EMPREC.EMPLOYEE_ID || ' ' || EMPREC.LAST_NAME);
END;
PROCEDURE GET_EMPLOYEE(DEPTID IN EMPLOYEES.DEPARTMENT_ID%TYPE) IS
BEGIN
SELECT * BULK COLLECT
INTO EMP_TABLE
FROM EMPLOYEES
WHERE DEPARTMENT_ID = DEPTID;
END GET_EMPLOYEE;
PROCEDURE SHOW_EMPLOYEES IS
I NUMBER;
BEGIN
FOR I IN EMP_TABLE.FIRST .. EMP_TABLE.LAST
LOOP
PRINT_EMPLOYEES(EMP_TABLE(I));
END LOOP;
I := EMP_TABLE.COUNT;
WHILE I IS NOT NULL
LOOP
PRINT_EMPLOYEES(EMP_TABLE(I));
I := EMP_TABLE.NEXT(I);
END LOOP;
END;
PROCEDURE SET_SALARY(ID_JOB VARCHAR2
,NEW_MIN_SALARY NUMBER) IS
BEGIN
UPDATE EMPLOYEES
SET SALARY = NEW_MIN_SALARY
WHERE JOB_ID = ID_JOB;
END;
BEGIN
INIT_DEPARTMENS;
END EMP_PKG;
Similar Messages
-
My home button isn't working well so i went to my service provider to ask about the problem. They advised me to update my iPhone to iOS 5 but the problem is no matter what i do, there is always an error. What should I do?
If you are having Issues with downloading iOS 5....
Try temporarily disabling your firewall and antivirus software and try again...
See here for Connection Issues
http://support.apple.com/kb/TS1379
From Here
http://www.apple.com/support/itunes/troubleshooting/ -
My 5s iPhone is stuck on Itunes icon and a cable. I tried to do a restore but the iPhone isn't updated. All the labs that i send it to, couldn't fix it, what I can to? help! thanks.
Sounds like a 'stuck' Shift key. You could try to take the key off and put it back on yourself (should be some info on that from ifixit) or just take it to your local Apple Store and have them fix it.
Clinton -
My iphone4 isn't updated or synced to icloud because last time I tried it merged with a family members phone. Now I'm getting a new phone am scared I am going to lose all my contacts. Any suggestions on how I am to secure them?
Backup using itunes http://support.apple.com/kb/HT1766
Are you sharing an apple id with someone? that would be the only reason if would merged info. -
I have OS X I think. In any case I installed an updated firefox and my OS itself isn't updated enought to run it. So can I either somehow downgrade to the old firefox or at least somehow access and export my bookmarks?
Swarnava, the OP is using a Mac, not Windows.
@Jubjub, based on your More system details... on right of your post you have a Intel Mac OS X 10.4.11
The last version that will work on your OS version is Firefox 3.6.* as the current 3.6.24 can be found at http://www.mozilla.org/en-US/firefox/all-older.html -
PS CC 2014 isn't updating Camera Raw
I just updated PS CC 2014 this morning and Camera Raw isn't updating. The version I have is still 8.3. How can I update to the new 8.7?
Thanks!!!Try running it manually from here:
Keeping Photoshop Up-To-Date
Please provide me with a snapshot from Ps->Help->Update->Preferences.
Please confirm your ACR version from Help->About Plugin->Camera Raw and provide us with the following logs.
You can find them at:
ACR Installer logs
For Mac:
Library\Logs\Adobe\Installer
For Win:
Program Files(x86)\Common Files\Adobe\Installers
AAM logs
For Mac:
/Volumes/%Volume Name%/Users/%Username%/Library/Application Support/Adobe/AAMUpdater/1.0
For Win:
C:\Users\<username>\AppData\Local\Adobe\AAMUpdater
You can zip all the files together and send us through mail. This would help us in finding the root cause.
Appreciate your help. Apologize for the inconvenience.
Regards,
Ashutosh
[email protected] -
I need to restore my ipad but it won't restore because the software isn't updated and you can't update the software because it is in recovery mode. What do I do know?
I would take it to the apple store to get recovery mode taken off.
Regards. -
My iPod 5 isn't updating. Every time I click Software Update it would take forever for it to respond. Once I clicked on it then I kept my iPod on then I went shopping but when I got back it would still say, "Checking for Updates..." Please help!
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Go to Settings.iTunes and App stores and sign out and sign back in
- Power off and then back on the router
- Reset network settings: Settings>General>Reset>Reset Network Settings
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device. -
Why my mac mini 2009 isn't updating to mavericks
My mac mini isn't updating to mavericks. I downloaded the update, clicked install and then clicked on my hard drive, but it's saying, "This hard drive can'ot be used to start up your computer". What should I do?
Hello, Peter_Bartlett.
Thank you for visiting Apple Support Communities.
Here is an article that I would recommend taking a look at when experiencing this issue.
Installer reports "This disk cannot be used to start up your computer"
http://support.apple.com/kb/ts3926
Cheers,
Jason H. -
Icloud on Win7 isn't updating my iphone 4S
I think I have everything turned on for my iphone 4S to be updated by icloud on my contacts list. I also think I have everything turned on on my Win7 computer (where I enter most of my contact information) but the iphone4S isn't updating. I've checked all the setting and they asre "on" for contacts updating to and from icloud but it isn't happening. On Windows it's contacts on Outlook 2010, but that's what I have selected on all devices and they are all turned "on."
Any help would be appreciated.
SteveHi, RachRae.
I would recommend the steps in the article below. See the section labeled Verify that the Apple Mobile Device USB Driver is installed > For Windows Vista, Windows 7, and Windows 8 > Update the Apple Mobile Device Driver.
iOS: Device not recognized in iTunes for Windows
http://support.apple.com/kb/TS1538
Cheers,
Jason H. -
I have download the latest update of ios(6.1.2), but my iphone 4 isn't updating, every time it says apple server down try again later,what should I do?
Nope, it wasn't hacked/jailbroken, this is the first time I'm having this problem.....
-
I have a podcast that isn't updating with the weekly podcast. I called the company that submits them and they say it's on itunes as they have been submitting them. Any suggestions?
Apple isnt here. this is a user based forum for technical questions. The solution is to restart, reset, and restore as new which is in the manual after that get it replaced for hard ware failure. if your within your one year warranty its replaced if it is out of the warranty then it is 199$
-
in facebook skype, my partner can see me but i can see him, i have just update OS X Mountain lion please help me, im just thinking in downgrade to OS X Lion
It seems Mountain Lion has a lot of bugs. I had to replace the hard drive after the upgrade and many had the same problems that required a disk replacement.
-
Why when installing Adobe Acrobat XI Pro do I recieve install error 1328 ? Does same when trying to update as well. How can I fix this?
Moving this discussion to the Acrobat Installation & Update Issues forum.
-
[N97 mini - UPDATED] Well known bug: "camera alrea...
I updated my N97 mini device to latest fw which is 30.04.
Like whenever I capture image with my camera, after capturing image I can't interact with the handset.
Rather it shows "camera already in use".
I have to wait a lot more rather usual time in order to delete captured image or interact. Is there any solution of this?
I heard of some mod which arent authorized can fix it. But i don't trust those, neither I think is acceptable to be forced to put "custom" firmware to solve a problem Nokia should have fixed asap.
Of course I won't buy another Nokia cellphone anymore and I will discourage friends (and they are really many) to do the same because of lack of support.
Please:
- don't tell me it is a problem of my phone because it is not (all people with N97 mini have the same problem)
- don't tell me to reset it or to re-update firmware because it is useless (and I have already tried it)
- tell me you are awared of the problem and it will be fixed in the next coming firmware release because it is the only thing worth saying
Thanks for your attention and availability.
Goodbye.Same problem here.
Nokia Developers;
Sir/s Maam/s..
No particular software updates from Nokia in order to fix this "Well known BUG Problem"?
--thanks..
Maybe you are looking for
-
Problem with reflection in Generics
I'm using the Prototype compiler for JSR-014 and I am having a big problem with reflection. In the simplest case class n<T> { void go() { this.getGenericType().getTypeParameters(); this.getClass().getGenericInterfaces(); }I get a "canno
-
Hi Gurus, I have a proxy to WS sync interface. This interface was working all time in 2 different enviroments, and now exactly the same interface is failing in one of the 2 enviroments. It sounds crazy but it's a fact!! When we send a message to the
-
Hi.. I have a KT4V with an AMDXP2600 and everything is fine except the USB ports. I am having a problem with voltage. I have installed the usb 2 patch and XP service pack 1. Whenever I plug my usb hard drive (2.5" laptop type) into the usb port (any
-
Hello, I recently purchased an imac and when I attached a digital camera through the usb there was not an icon on the desktop for the camera. The only way I can get to the photos is through iphoto which I do not want to use. On my old mac whenever I
-
How do I open pdf file from web? Opening pdf docs from hard drive works fine.
Hello, I am unable to open pdf files from the web. Documents on my hard drive open fine. My computer gives me 2 error messages when I try to open web-based documents. Thanks.