Can not query from v$instance and v$session from within Pro*C program
Hi there,
We have Oracle 10.2.0.1 enterprise edition running on Linux (Red Hat 4 ES)
Our Pro*C developer tries to query the version from v$instance view and is getting errors when compiling his Pro*C programs.
The related Oracle user account has the SELECT ANY DICTIONARY privilege, so if he tries from the sqlplus, he has no problem querying the v$instance or v$session views. His problem is when he is trying to compile his Pro*C program against the very same Oracle account.
Any help/input is greatly appreciated.
R/ Zafer
Here are the errors he is getting:
Pro*C/C++: Release 10.2.0.1.0 - Production on Thu Jun 24 12:54:04 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
System default option values taken from:
/home/oracle/product/10.2.0/Linux6
4/precomp/admin/pcscfg.cfg
Error at line 150, column 4 in file ../database.pc
EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
...1
PLS-S-00201, identifier 'V$INSTANCE' must be declared
Error at line 150, column 4 in file ../database.pc
EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
...1
PLS-S-00000, SQL Statement ignored
Semantic error at line 150, column 4, file ../database.pc:
EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
...1
PCC-S-02346, PL/SQL found semantic errors
I issued FULL DB EXPORT / IMPORT privilege to the related Oracle user account and it works now.
Similar Messages
-
My account is charged $ 50, and I can not purchase from within the game clash of clans
My account is charged $ 50, and I can not purchase from within the game Clash Of klans I hope to solve the problem
contact iTunes support http://www.apple.com/support/itunes/contact/, we are just fellow users and can not resolve this issue for you.
-
My account is charged $ 50, and I can not purchase from within the game Clash Of klans I hope to solve the problem
iPad, iOS 6.1.2Hi Ssgtn,
Contact iTunes Support:
https://expresslane.apple.com/Issues.action
Cheers,
GB -
I can not purchase from within the application clash of clans where necessary to answer the security questions that forgot their answers please help thank you
If you have a rescue email address (which is not the same thing as an alternate email address) set up on your account then you can go to https://appleid.apple.com/ and click 'Manage your Apple ID' on the right-hand side of that page and log into your account. Then click on 'Password and Security' on the left-hand side of that page and on the right-hand side you should see an option to send security question reset info to your rescue email address.
If you don't have a rescue email address (you won't be able to add one until you can answer 2 of your questions) then see if this user tip helps : https://discussions.apple.com/docs/DOC-4551
e.g. you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management , and then try Apple ID Account Security
or try ringing Apple in your country and ask to talk to the Accounts Security Team : http://support.apple.com/kb/HE57
When they've been reset you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312 -
How to log in with my old Apple account? I forgot my pass and I did change my apple ID before canceling first?? I am from Croatia so did folow al the discussion and the to resolve the problem but no luck. Can not call from Croatia the Apple help desk.i did try all the options but I can not find the phone number to call from Croatia,
I can not change my Apple ID to the old mail (not possible!)
The old mail don't accept the new password..
I can not delete the Icloud all the time asking my the password of the old mail!
I realy need helpYou can not merge accounts.
Apps are tied to the Apple ID used to download them, you can not transfer them. -
I can not purchase from the iTunes store because of the security question I am I do not know your security question and alternative mail has been hacked
You need to contact Apple. Click here, phone them, and ask for the Account Security team.
(87808) -
why can I not open pictures when I click on the host icon on my desktop? It just sits there, and can not open from top menu bar as well, only via itunes
Does your question involve iPhoto in some way?
-
I can not upgrade from 10.2 to 10.6 because of missing "itunes.msi" file. I can not delete ITunes and start over either.
Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
http://majorgeeks.com/download.php?det=4459
To install the utility, doubleclick the msicuu2.exe file you downloaded.
Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
i am from iran. i can not download from app store. iTune gives me such an error like this : you must download version 11.1 iTune and when i want to do that i can not.
Try Here > https://discussions.apple.com/thread/4074945?tstart=0
-
I upgraded to OSX Yosemite, own a MacBrook Pro 2013 with a 2.6 Processor, 8 GB memory and can not email from iPhoto (version9.6)
In iPhoto preferences, general, is email photos using mail set or is it set to something else?
-
Hello
I have a problem in calculating the apple id Can you help me please
I forgot answer security questions for your account How can knowledge
Please help
Please reply as soon as possible
I can not buy from camels Store
And the rest of the account balance $25
Message was edited by: lingo azamI think you mean App Store.
Rescue email address and how to reset Apple ID security questions -
Hi I have a problem I can not purchase from the iTunes application with the knowledge that I have dollars I hope a solution to this problem and thank you
What happens when you try to buy something ?
If you are getting a message to contact iTunes support then you can do so via this page and ask them why the message is appearing (we won't know why) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
If it's a different problem ... ? -
my wifi button does not working / it looks grey and can not open it... and my some applications does not working too ... please help me ... I bought this I phone from Beirut/Lebanon and i live in Turkey...
Here you go:
http://support.apple.com/kb/ts1559 -
Ok my phone is i can not make or recieve calls and i need to restore from itunes what do i do
ok my phone is i can not make or recieve calls and i need to restore from itunes what do i do
iPhone User Guide (For iOS 4.2 and 4.3 Software)
-
Can not cast from object to int
Hi All,
I have the following bunch of code
Session session;
session = getSessionFactory().openSession();
Query query;
int MaxPageId = 0;
List list;
try{
query = session.createQuery("select max(emp.id) from EmpBean emp");
list = query.list();
MaxPageId = (int) list.get(0);
return MaxPageId;
catch(Exception e){
System.out.println(e.getMessage());
return MaxPageId;
The query executed successfully but when i get the max id in a integer variable by the following statement
MaxPageId = (int) list.get(0);
I get the following error "can not cast from object to int"
Please suggest for the same.
-ThanksCast to an Integer, not an int, and let autoboxing turn the Integer into an int.
int maxPageId;
maxPageId = (Integer) list.get(0);You can't cast objects into primitives.
Autoboxing isn't casting.
And use Java naming conventions. Local variables start with a lower-case letter.
Maybe you are looking for
-
How do I add my phone number to iMessage on iPad
How do I add my phone number for my iPhone to my iPad for iMessage. On the settings on iMessage it only gives the options for an email. I have tried typing my mobile no in there but it doesn't accept it and there doesn't seem to be any other way to a
-
Delete a photo permanently after selecting in *album view*
In iPhoto 11 in Lion 7.1, I know that if I select some photos in an Album (that is, in single Album view) and delete them, they will be deleted from the Album only, not from iPhoto itself. In other words, the photos will remain in Photos view: I can
-
I have a Core 2 Duo @3.0GHz, a Radeon HD 4770 512MB and have both Opera 11.0 and IE 8 with the NEWEST versions of Flash plugin and activex. My problem is that first of all when I run 1080p videos on YouTube my CPU goes to 40%-50% and m
-
My mac mac book pro w retina display will not stay asleep when I close the lid or put it to sleep. I put the computer in my bag and when I open it again the machine is so hot I can almost not touch it. I am affraid that the hardware is allready fried
-
Configuration of calibration process
sir i am new in sap pm.my boss given me a task that how to configure a calibration process in sap pm.i have seen on scn or google but i didn't get any document related to that please help me to configure a calibration process in sap.if you have any p