table does not exist (when I try to compile the package)

Hi all

I can choose from table1 using simple script.

But when I try to compile the package with select from it table1 I get the message:

PL/SQL: ORA-00942: table or view does not exist

Please help me understand how this is possible.

What additional information should I place them here for you to help me?

Thanks in advance.

UPD: The object name is SYS. V_$ PROCESS

I choose him by using script, so I need all grants.

But what is the problem when I try to do in the package?

2788367 wrote:

Hi all

I can choose from table1 using simple script.

But when I try to compile the package with select from it table1 I get the message:

PL/SQL: ORA-00942: table or view does not exist

Please help me understand how this is possible.

What additional information should I place them here for you to help me?

Thanks in advance.

It is very likely that you've got access to the table via a role. This allows you to use SQL to access.

With packages, the grant must be directly to your schema, bypassing a role.

Tags: Database

Similar Questions

  • Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    Why my windows freeze and go does not respond when I try to install the msn photo on hotmail download tool?

    The active x bar descends into the small window and freezes all windows open right there and will not respond. This happens when I open a new message and try to attach photos.

    Things I tried but has not made a difference:

    reinstalled IE 8, deleted the history of the browser, disk Cleanup, removed msn photo upload control, optimized IE8

    With xp media center

    PS. This occurs also at any time the information down to install an active x on any site control

    The only way to surf now with frustration is to use IE 8 NOT add optional

    So I fixed that on my own and that's how I did it.

    You must uninstall IE 8 completely which will bring you to IE 7 (in my case) and then install IE 8 via the site updates or microsoft.

    Uninstallin IE 8 by going to:

    Start--->

    Control Panel--->

    Add Remove programs--->

    Scroll down to IE 8--->

    Click on delete.

    IE8 updates must be removed also, if not then click the box 'To see the updates' on the top of the window to scroll down, look for the IE 8 security updates and delete.

    Resart your computer and install IE 8.

    This worked for me and may or may not work for you.

  • My Apple password does not work when I try to download the Flash Player

    I tried again and again download Flash Player on my Mac OS 10.9.5 and when I try to open the installation program, asked me my password and it does not work. However, I used the password to enter this community, and it worked. I use Chrome as my browser. Any help to achieve this will be highly appreciated.

    Hello Gail Rooney,

    I'm not 100% sure if you are referring to your account admin on your Mac, if you were not made me know that I would love to help with anything that anyone else. Anyway, if you need to reset your password for your admin account, so you can leave Flash Player just install, follow these steps and you should be able to reset the password of the admin account. You need to restart your computer. Then, press the command and R keys at the same time when the gray screen appears and hold them until you see the Apple logo. A low loading bar will appear under the logo. Then wait for the recovery mode to load click the utilities tab in the menu bar, select Terminal, type resetpassword, and press ENTER. Close the Terminal window and behind it, you will find the password reset utility. Everything you have to do now is to select the user account you want to reset, enter a new password or leave the field empty and click Save. Then reboot again and sign in to your account admin with the password you just put.

  • My helmet is bright red, and the speakers does not work, when I try to adjust the volume when there is no headset/speakers in, there is a sign of the cross as the symbol of the volume where the places are supposed to be, macbook pro retina display

    My helmet is for some time, as the eye of the terminator, glowing and speakers have not worked since. I need to plug headphones or external speakers. Whenever I try to adjust the volume when it shows just a cross symbol under the sign of the volume, where small squares usually are (see below)

    Is there a way to fix this? Some other similar forums tell me to try to manually move a switch in the audio jack, but I can't seem to find such a change and the thing that seems most like a light switch, does not move.

    Can someone please help?

    Thank you

    Your audio output is stuck in optical mode, this is the red light.

    The solution is to try to insert and remove the plug a dozen times or more in the hopes of convincing making fall out of optical mode and in electric mode.

  • CC of Photoshop does not open when you try to open the files in Lightroom CC

    Recently, when I try to open files in Photoshop from Lightroom CC, I get the error message that is attached.  If I manually open CC PS it opens and the LR files are there, but it does not open on its own.

    Screen Shot 2015-09-23 at 6.56.18 PM.png

    I went on the hard drive where these files are stored and checked the disk and there is no necessary repairs.  I checked my preferences for editing in LR and PS is the chosen program.  You have ideas.

    Thank you

    Larry Lindell

    Looking at this error report, looks like Lightroom trying to open a copy of Photoshop on your backup disk. Since it is a copy of the software and is not the property inscribed and the installation files, it is not able to launch correctly. See the following: Lightroom: "Edit in PS 2014" opens PS 2014 in the wrong place

  • Security issues 'reset' does not appear when I try to change the questions

    I am trying to change my account email address, but I don't remember the answers to the questions. I tried to change the questions but it gives me the ability to reset my questions

    You must ask security team account Apple to reset your security questions. To contact them, click here and choose a method; If this page does not list one for your country or if you are unable to call, complete and submit this form.

    (142998)

  • good sign in info does not work when you try to install the updates

    My sign in the name of user and password works fine when signing CC.

    Occasionally, I get a window telling me of updates are available.  When I try to connect for updates (using the aforementioned username and password) they are rejected, which makes impossible updates.

    Adobe's Web sites have always been a little weird according to my experience, but this is nuts.

    Help!

    Could you please try with the username administrator on the computer and the password.

    Concerning

    Hervé Khare

  • Someone at - he found the keyboard does not respond when you try to navigate the menus on calls?

    I tried to enter a password and navigate the menus to join a telephone conference today and found the keyboard is unresponsive and have the screen go black while trying to press the keys. Can we say boring! Anyone else experienced this?

    Is it possible that you put your hand over the proximity sensor (top-right on the left part of the phone) during the call, causing it to go black? Try to put the speaker call after it connects like that allows you to disable the proximity sensor.

    Post edited by: Matt (Forums Manager)

  • Why SAVE20LR promotional code does not work when you try to buy the upgrade to LR5?

    I live in New Zealand and I try to buy the Lightroom update your LR3 to LR5 online by using the promo code SAVE20LR to save 20% (valid until 3 December), but it says "invalid Promotion Code. According to http://www.adobe.com/store/en_au/popup/offer/LR5_save20_2013.html conditions, it should work, I had real trouble, call the customer service. Have tried and cut off from the third three times, have been left on hold for 25 minutes. Please can someone help?

    This was previously reported by others too

    http://forums.Adobe.com/message/5874880

    Try to contact Adobe directly such as suggested in this thread.

  • I get a message that the request for assistance does not exist when I try to open a jpg file or files in excel attachments. I have associated use windows live photo gallery

    I went to tools, Options, attachments and there are associated programs that should be able to open files - Windows Live Photo gallery for the Microsoft Excel for excel files and JPG files. I actually download and save the files and then open them. Is there any solution for this?

    Go back and delete associations and start again by opening one of these files. Thunderbird will recreate the Scriptures based on your choices and they will then probably work.

  • Firefox does not respond when you try to delete the history.

    When I go to "clear recent history" and click on "Clear now" he says immediately that the program is not responding. Done the same after the restart. It is not let me clear my history, and I've tried 6 times, all with the same results... I have to close the program from the Task Manager. Is there a solution?

    It is normal to take a long time to clear the history, particularly if you include clear memory Cache. Your hard disk activity probably going to be continuous. I would give it at least 2-3 minutes before you assume that Firefox has stopped working.

  • Why my computer does not delay when I try to watch the video again? It's a constant start and stop and buffering?

    I get a lot of golf maaterials and lesson over the internet.  It became a real pain and a problem for me to keep up with instructions.  When I received instruction to internet and start to play the video it winds and winds and play them for a few seconds then start and stop throughout the presentation.  What can I do to fix this problem?

    If several computers are using the internet at the same time, it might slow down the video stream on a computer (laptop or desktop).

    Or your internet connection is simply not enough fast to stream the videos you want to watch. There are several different speeds for DSL, so the speed increase may help.

  • dbms_sqltune - table does not exist

    I've run this package from Oracle:
    exec DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF(table_name=>'test_prof', schema_name=>'USER');
    
    exec dbms_sqltune.pack_stgtab_sqlprof(staging_table_name=>'test_prof',profile_name=>'SYS_SQLPROF_TEMP');
    and two of them are successfully. But when I try to run a query on the table or simply describe the columns in this table I ORA-04043: test_prof of the object does not exist. Could someone explain to me where this table is stored?

    Tutu wrote:
    I've run this package from Oracle:

    exec DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF(table_name=>'test_prof', schema_name=>'USER');
    
    exec dbms_sqltune.pack_stgtab_sqlprof(staging_table_name=>'test_prof',profile_name=>'SYS_SQLPROF_TEMP');
    

    and two of them are successfully. But when I try to run a query on the table or simply describe the columns in this table I ORA-04043: test_prof of the object does not exist. Could someone explain to me where this table is stored?

    You create the table in lowercase! From there, you use your name of the table in lowercase surrounded by quotation marks:

    SQL> exec DBMS_SQLTUNE.CREATE_STGTAB_SQLPROF(table_name=>'test_prof', schema_name=>'MYUSER');
    
    PL/SQL procedure successfully completed.
    
    SQL> desc test_prof
    ERROR:
    ORA-04043: object test_prof does not exist
    
    SQL> desc "test_prof"
     Name                                      Null?    Type
     ----------------------------------------- -------- ----------------------------
     PROFILE_NAME                                       VARCHAR2(30)
     CATEGORY                                           VARCHAR2(30)
     SIGNATURE                                          NUMBER
     SQL_TEXT                                           CLOB
     DESCRIPTION                                        VARCHAR2(500)
     TYPE                                               VARCHAR2(9)
     STATUS                                             VARCHAR2(8)
     BOOLEAN_FLAGS                                      NUMBER
     ATTRIBUTES                                         SQLPROF_ATTR
     VERSION                                            NUMBER
     SPARE1                                             CLOB
     SPARE2                                             BLOB
    

    Or better, specify uppercase when you create the staging table.

    The most interesting is that when I try to run the package even once again, I have this pile of errors:

    Of course, the table already exists. You should drop everything first to be able to recreate it.

    Nicolas.

  • Table does not exist error during the creation of a procedure

    The query runs and recover files but when the query is in a procedure, the procedure is in error (4/30 PL/SQL: ORA-00942: table or view does not exist) when creating. The snurk_cmms_csht008_rfs_misc is a public synonym with reference to the db2 database. How to do the procedure to get created?

    SQL > CREATE PROCEDURE TEST AS
    2. I VARCHAR2 (20);
    3 BEGIN
    4. SELECT CD_PLANT IN I snurk_cmms_csht008_rfs_misc FROM
    5. WHERE ROWNUM < 2;
    6 END;
    5 m

    CAUTION: Procedure created with compilation errors.

    SQL > SHOW ERRORS;
    SURGICAL errors:

    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    4/2 PL/SQL: statement ignored
    4/30 PL/SQL: ORA-00942: table or view does not exist

    SQL > SHOW USER;
    The USER is 'ORDV_SRC '.


    SQL > SELECT CD_PLANT FROM snurk_cmms_csht008_rfs_misc WHERE ROWNUM < 2;

    CD_PL
    -----
    AP01A


    Thank you
    Vinodh

    Look for the grant on the table. He must be given a ROLE and if so, then, you must have direct subsidies on the table to use only it in PL/SQL.

  • a key for the table does not exist in the table

    Hi guys,.

    I imported several tables of physical layer in the administration tool. So, I want to do new foreign key between tables join in the physical schema.
    Required fields for posting a link between these tables are set up. When I press the ok button, an error message is displayed:
    "a key corresponding to the table does not exist in the table blablabla. You want to create a? »

    In fact, what is this error? I don't have all the idea about it. The number of the type of the fields is the same, the names are also the same. I think that he should not have problems to make the new foreign key. But why is it happening?

    Thank you

    Hello

    It is the primary key of the first table. You might not have set this column as the primary key of this table at the level of the db.

    Thank you
    Imtiaz.

Maybe you are looking for