Watch not the tables, views,... in vs2010

Hello

I installed ODP.net + ODT (11i) for use with vs2010 & oracle 10.02.0010 (upgrade to oracle 11).
The product is installed correctly, I can connect to the database using ODBC and PACO.
However, when connecting with the ODP in vs2010 I do not see the tables, views, or stored procedures (can not see anything really). When you use ODBC, everything works: I see all the tables, views, etc. which are in the database, and I can ask questions them.
I also tried to run a query by using the ODP.net and it gave me: ORA-00942: table or view does not exist.

I did a search on the forums, but none of the planned solutions, nothing changed for me.

Someone at - it ideas?

Published by: user13493229 on 18-mei-2011 11:05

Hello

First of all, make sure that you see "ODP.NET" in the connection to Server Explorer dialog box.

Then, check the tab "Filters" of the connection dialog box. By default, we block public synonyms and schema objects that you do not own.

If you still do not see objects, then most likely your DBA not gave you enough privileges to use these tools.

Try looking the advice I gave in the following thread explaining how to enable tracing ODP.NET. First glance to see that the SQL involved in the ORA-942.
Then look at the other SQL we deliver and see why you are not able to get all the lines of the.

VS2010 ORA-00942 table or view does not exist

Tags: Database

Similar Questions

  • The reference to the table, view, or the sequence is not allowed in this context

    Hello

    I am triying to run the SP that I describe below and the OS gives me an error:
    CREATE OR REPLACE PROCEDURE DWARE.P_CSCV_AGR_MONTH_REVENUE
    (
        TBL_NAME VARCHAR2,
        START_DATE DATE,
        RESULT_ OUT NUMBER
      ) AS
      BEGIN
      
      DECLARE 
      
        v_tbl_name VARCHAR2(30);
        v_start_date DATE;
        v_result NUMBER := 0;
        
        v_select_aux VARCHAR2(32767) := ' ';
        v_temp_table VARCHAR2(30);
        v_exists NUMBER;
    
      BEGIN
        v_tbl_name := TBL_NAME;
        v_start_date := START_DATE;
      
        v_temp_table := 'temp_' || v_tbl_name;
        
        SELECT count(*) INTO v_exists FROM tab WHERE lower(tname) = lower(v_temp_table);
        IF (v_exists = 1) THEN
          v_select_aux := '
            DROP TABLE ' || v_temp_table || ' CASCADE CONSTRAINTS PURGE
          ';
          EXECUTE IMMEDIATE (v_select_aux);
          COMMIT;
        END IF;
        
        v_select_aux := 'CREATE TABLE ' || v_temp_table || ' AS 
                                  SELECT ch.date_ month_revenue,
                                       s.date_sub month_sub,
                                       s.codpromoter,
                                       u.OPERATOR,
                                       SUM (ch.total) AS TOTAL_OK
                                       FROM cscv_sub_charges_' || to_char(v_start_date, 'YYYY_MM')|| ' ch
                                       INNER JOIN cscv_subs s
                                       ON ch.id_sub = s.ID
                                       INNER JOIN cscv_users u
                                       ON s.id_user    = u.ID
                                WHERE ch.STATUS = 0
                                GROUP BY ch.date_, s.date_sub, s.codpromoter, u.OPERATOR';
                                
        EXECUTE IMMEDIATE (v_select_aux);
        COMMIT;  
         v_select_aux := '
     INSERT INTO ' || v_tbl_name || ' (
             month_revenue,
             month_sub,
             codpromoter,
             operator,
             TOTAL_0,
             TOTAL_1,
             TOTAL_2,
             TOTAL_3,
             TOTAL_4,
             TOTAL_5,
             TOTAL_6,
             TOTAL_7,
             TOTAL_8,
             TOTAL_9,
             TOTAL_10,
             TOTAL_11
          )
            SELECT 
             month_revenue,
             month_sub,
             codpromoter,
             operator,
             TOTAL_0,
             TOTAL_1,
             TOTAL_2,
             TOTAL_3,
             TOTAL_4,
             TOTAL_5,
             TOTAL_6,
             TOTAL_7,
             TOTAL_8,
             TOTAL_9,
             TOTAL_10,
             TOTAL_11
            FROM 
            (
               SELECT 
                  month_revenue,
                  month_sub,
                  codpromoter,
                  operator,
                  sum(total_ok) total_0,
                  0 total_1,
                  0 total_2,
                  0 total_3,
                  0 total_4,
                  0 total_5,
                  0 total_6,
                  0 total_7,
                  0 total_8,
                  0 total_9,
                  0 total_10,
                  0 total_11
                 FROM '|| v_temp_table ||'
              WHERE to_char(month_sub,''mm/yyyy'') = to_char(sysdate,''mm/yyyy'')
              GROUP BY month_revenue,month_sub,codpromoter, operator
              UNION ALL
              SELECT 
                  month_revenue,
                  month_sub,
                  codpromoter,
                  operator,
                  0,
                  sum(total_ok),
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0,
                  0
                 FROM '|| v_temp_table ||'
              WHERE to_char(month_sub,''mm/yyyy'') = to_char((to_date(sysdate,''dd/mm/yy'') - INTERVAL ''1'' MONTH),''mm/yyyy'')
              GROUP BY month_revenue,month_sub,codpromoter, operator
              ) 
            GROUP BY month_revenue,
             month_sub,
             codpromoter,
             operator
               ';    
        
        EXECUTE IMMEDIATE (v_select_aux);
        v_result := v_result + SQL%ROWCOUNT;
        COMMIT;
        
        v_select_aux := '
          DROP TABLE ' || v_temp_table || ' CASCADE CONSTRAINTS PURGE
        ';
        EXECUTE IMMEDIATE (v_select_aux);
        COMMIT;
        
        RESULT_ := v_result;
      END;
      END P_CSCV_AGR_MONTH_REVENUE;
    /
    ------------------------------
    BEGIN
    DWARE.P_CSCV_AGR_MONTH_REVENUE(CSCV_AGR_MONTH_REVENUE,'01/01/2010');
    END;
    /
    and the output is:
    Error at line 1
    ORA-06550: líne 2, column 32:
    PLS-00357: The reference to the table, view or sequence 'CSCV_AGR_MONTH_REVENUE'  is not allowed in this context
    ORA-06550: líne 2, column 1:
    PL/SQL: Statement ignored
    What could I do to fix the problem?

    Thanks in advance...

    Hello

    Signature of the procedure is

    CREATE OR REPLACE PROCEDURE DWARE.P_CSCV_AGR_MONTH_REVENUE
    (
    TBL_NAME VARCHAR2,
    START_DATE DATE,
    RESULT_ OUT NUMBER
    ) 
    

    either he's expecting two input parameters, tbl_name in VARCHAR2 and the other START_DATE date format format. Also you need a variable with the number data type to store the value of the PARAMETER RESULT_

    Now, look at the way you call this procedure

     BEGIN
    DWARE.P_CSCV_AGR_MONTH_REVENUE(CSCV_AGR_MONTH_REVENUE,'01/01/2010');
    END;
    /
    

    first parameter must be a VARCHAR2, so place CSCV_AGR_MONTH_REVENUE in single quotes.
    second parameter must be a date, so use to_date() function.
    Finally declare a variable with the data type of number to maintain the value of the parameter RESULT_

    Something like this:

    declare
    t_num number;
    begin
    a('CSCV_AGR_MONTH_REVENUE',to_date('01/01/2010','MM/DD/YYYY'),t_num);
    dbms_output.put_line(t_num);
    end;
    

    Vivek L

  • Complete export dashboard in excel gives error generate document in the table view of subtotals

    Hi all

    We have dashboard with several tabs and you try to export the whole dashboard in excel.

    Excel file is generated with all tabs on the dashboard as the leaves, but few of these leaves are empty with error message of document generation in the first cell.

    After further analysis, we concluded that the cause is seen with subtotals on table. PivotTables with subtotals are generated correctly.

    Workaround obvious to re-create the table views in the articulation points is not possible due to a large number of reports.

    We run Oracle Business Intelligence Product Version 11.1.1.7.150120 (Build 150113.1200 64-bit)

    Any ideas or solutions to this problem would be appreciated.

    Thank you;

    Klaudio

    We just found guilty

    Lines per page to display in the table must be 999999999 max which is more than enough for our needs.

  • How to not display the column heading in the table view?

    I don't want to display the column header in the table display, how I can make?

    If you use JavaFX 8, you can use the following text in an external style sheet:

    .table-view .column-header-background {
      -fx-pref-height : 0 ;
    }
    

    If you use JavaFX 2.2, the - fx-pref-height attribute is not available in css, so I think that you must resort to a search:

    final Region tableHeader = (Region)table.lookup(".column-header-background");
        tableHeader.setPrefHeight(0);
    

    As always, I am obliged to point out that I don't really like the research. Sometimes, they seem to be the only way, however.

  • To access the tables/views outside of the APEX

    According to the request of Andrew as a separate and somewhat more extensive thread here:

    We have several tables/views created under some schemes; all equipped with grants and public synonyms.

    These tables is visible and accessible by all users-ORACLE (via forms and States - as it has recently used)

    Now, I started with APEX a few days ago - OK, seems to work - but with objects such only created inside of this APEX workspace.

    This kind of things outside OF THE SUMMIT is not visible.

    Why? What is missing? It was one of my questions 1.

    How do these objects visible in the APEX? Of course, we do not want all that stuff again, and existing in bulk.

    I guess that as a very common problem.

    (One solution I found already: creating views inside the APEX to access objects outside.) "It is not comfortable).

    Thank you

    Wolfgang

    Object browser is rudimentary, but behaves in the same way that developer SQL will report on these objects.

    Notice the 'Plan' selection list at the top right.

    If you have tried ' select * from abcxyz "SQL commands, you should have success - in the same way, you should have success in the creation of form/report on abcxyz via the synonym.

    Scott

    .

  • 'Extensible groups' in the table view?

    Hello

    Is it possible to allow groups of repetition in table view in 10 g? My requirement is to display a report tabular repetition of detail for each school. I can't do this in the PivotTable as another criterion is to activate the dynamic end-user sorting (which is not possible in the crosstabs Dynamics 10g).

    Any ideas?

    Thank you

    I understand now, thanks.

    If it's a pivot table, you may simply drag the column of the school in the area of "sections" to make the page layout to change the way you want. Indeed in OBIEE 11 g you can also do this with a regular table view. However in the 10g version you don't get that kind of control over the layout of a standard table view. Not the answer you wanted to hear that I suppose.

    Paul

  • Change the name of the table/view to RPD.

    Hello

    I have a domain which has two points of view in it. The joints are given and have the subject area in the presentation layer. I created a few reports and they work fine. Now, we want to change the name of the views and do not want in the database. I changed the names in the presentation layer. I ran the created reports and they work fine. I have approach the right way? Did I modify them elsewhere? I don't want my reports to be affected in any way with the change of the view names. Please advice.

    Hello
    When you change the name of table or a view in the presentation layer of the RPD, it will create aliases for that name .you may notice to double-click on the name of the table, alias tab

    If you remove that alias name the report will be the effect on best practice is that do not delete aliases for name reports was changed from RPD table

    the same scenario will apply for object zone rename also

    Thank you
    Saichand.v

  • How can we copy the tables, views, etc in one database to another?

    I do not have a solid DBA experience, but was put in charge of the update and the migration of a number of tables and views across several databases.

    I need a workflow better than export and import of tables from files .csv and copy and paste the code SQL of each individual view for the future.

    Can someone point me in the right direction? I am happy to be reading, but have no idea where to look.

    What you need is Tools - Database Export or copy of the database, but if there is a lot of data, the Data Pump will be so much faster. 1 command line for export, to import 1. DP works better for selected drawing or export complete (so also ideal for backups). The export of the database of Sqldev is nice to review, add, or remove the generated script, so more for small interventions and scripting.

    Have fun
    K.

  • EBS: The table / view po_vendors belongs to what schema in ebs 12.2.4

    Hello

    I want to use the view 'po_vendors' in one of my request

    Now I want to know what it is. is it po.po_vendors or 'apps.po_vendors '.

    I'm confused because I found po.po_vendors in some old request. I use oracle ebs 12.2.4

    Thank you.

    Hello

    The "po_vendors" was a table in the PO schema in Oracle EBS 11i.

    In R12, providers are stored in 'ap.ap_suppliers' instead.

    "po_vendors" is retained for backward compatibility as a point of view and it gets the data to ap_suppliers.

    Kind regards

    Bashar

  • Check the status of the Table views

    Hi all

    I would like to check the status of the Oracle Table and the view that the procedure we had on the another db and we trying to replicate that after the passage of Oracle g10.
    There probably too much sence at all for Oracle, but I can't say that as a new user, I'm sure that wilwl RAISE exception if something goes wrong, but still, we are then. Too much heritage, etc...
    These points of view in question created every day with a lot of logic, that is why we do that (I think).
    What would be the path of the right way to do it? I can surely do SO (SELECT COUNT (*)... > 0) THEN OK, as we expect those table alwayse be filled with something, but is there a way to check how healthy all elect, constraints, etc...
    These VIEWS are quite large, almost 500 K lines.

    Is there any CHECK in Oracle, as in some other languages/platforms.


    Thank you for your comments, probably I'll get armed good enough to convince someone don't do it-)


    Best
    Trent
    SQL> select status, count(*) from dba_tables group by status order by 1;
    
    STATUS        COUNT(*)
    -------- ----------
    VALID            2834
    

    The same can be done for the INDEX.

    Please trust Oracle in order to maintain the integrity of the data.

  • Oracle overview to find the Table views

    HI gurus,
    Can you get it someone please let me know how I can see all the views that are created for a table?
    Thank you

    Hello

    SELECT * from dba_dependencies
    WHERE REFERENCED_NAME = 'table_name'---> substitute your name tab
    AND REFERENCED_TYPE = 'TABLE ';

    Thank you

  • Toolbar of Thunderbird don't watch not the button send, how do I get it back?

    When I go to thunderbird, click on an email, there is no send or forward button and when I go to your 'toolbar Customize zone"unlisted send either?

    Oops. I sent the message for updates and that the answer did not help because my button 'Send' was changed to 'send later' and suggestions had not worked. But I discovered that I was disconnected in some way to the internet and after checking and updating my password, it's all working now. Sorry about that.

  • Mail App don't watch not the headers of messages

    I use the default presentation of the headers of mail messages.

    Suddenly, only the name of the sender, but not to: and Cc: fields

    (as I'm on a localized French computer I don't know the words used in the English version, but it's something like headers of preferences: presentation: by default)

    When I place the cursor on the two blank lines, e-mail addresses appear (but no names).

    I had the problem a couple of years and he disappeared without explanation.

    I tried to rebuild the mailboxes, but not luck.

    A number any of quitting and stimulus has not helped either.

    I'll start the re-boot and report if it solved the problem.

    It is Apple Mail Version 7.3 (1878.6) under 10.9.5.

    Best

    Jean-François

    Answered my own question.

    Well, I restarted my Mac Book Air and the problem with E-mail does not appear the message of default header apart of: disappeared.

    To: and Reply-To: lines seemed empty.

    I rarely reboot...

    Best

    Jean-François

  • SELECT the view is long - select on the short view definition.

    Hello everyone-

    There is a view in Oracle called V$ LOCK.

    If I do a number or a select on this point of view I get a result * 45 seconds *.

    There are about 77 records.

    However - if I do a select statement or a statement on the definition of the view (found in V$ FIXED_VIEW_DEFINITION)
    I get a result without delay. Immediately.

    I'm registered consequence "sqlplus / as sysdba"

    What is going on??? My feable brain can't understand!

    Thanks for any help,

    BB

    >
    There is a view in Oracle called V$ LOCK.
    >
    On 11.2, is not correct. A query on "select * from dba_synonyms, where synonym_name like"% LOCK"shows"

    V$ _LOCK-ONLINE V_$ _LOCK
    V$ LOCK => V_LOCK
    GV$ _LOCK-ONLINE GV_$ _LOCK
    GV$ LOCK => GV_$ LOCK

    And a query on "SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME LIKE"% % LOCK"shows"

    GV_$ LOCK-VIEW ONLINE
    GV_$ _LOCK-VIEW ONLINE
    V_$ LOCK-VIEW ONLINE
    V_$ _LOCK-VIEW ONLINE

    V$ LOCK is a synonym. And you may be questioning the proper underlying display for each of your requests, but sometimes the queries may not be on the view as you think they are.
    >
    If I do a count or a select on this point of view I get a result in 45 seconds.

    There are about 77 records.

    However - if I do a select statement or a statement on the definition of the view (found in V$ FIXED_VIEW_DEFINITION)
    I get a result without delay. Immediately.
    >
    We will see the first time you query data (when maybe there nothing in the cache) it is slower than the second time that you query the same data (when maby there is something in the cache)?

    This is not unusual.
    >
    Well - that's interesting. Still it took 11 seconds to 15 records!
    >
    Reviews? There isn't any "writings." The V$ s are 'dynamic' performance not the tables view (s). And read consistency is not guaranteed for them. Data are updated continuously so if there is no update will not change the data in the view and based on the data display data updates can barely change.

    It is unlikely that much, changed data, between your two queries.

    See "views of dynamic Performance" in the doc database
    http://docs.Oracle.com/CD/B28359_01/server.111/b28320/dynviews_1001.htm#i1398692
    >
    Oracle contains a set of views underlying which are maintained by the database server and accessible to the administrator database SYS user. These views are called dynamic views because performance that they are continually being updated when a database is open and in use and their content are mainly related to the performance.

    Although these views seem to be normal database tables, they are not. These views provide data on internal disk structures and memory.
    You can choose from these points of view, but you can never update or change.
    >
    See the NOTE just below (as well as the section dealing with the V$ and the GV$ views)
    >
    Because the information contained in the views V$ dynamic, coherent reading is not guaranteed for SELECT on these points of view operations.

  • Deletion of the tables of the ODM

    Assuming that I am done with my project parts (for example, classification), it is OK to delete tables such as those starting with DM$ P * CLAS, etc.?

    When is it OK to remove the tables starting with ODMR$?

    Hi Cindy,.

    If you use Data Miner then cleaning can be done automatically.

    If you remove a workflow Data Miner - all objects created by the workflow are deleted (as templates or tables generated by the node Create Table).

    No input source is deleted because they were not created by the workflow.

    If the workflow would both eliminate the tables/views ODMR$ (which are generated internally by ODMr in the model test results etc.) and the tables of DM$ P (which are physical tables within the model of the ODM itself).

    If you delete a node in a workflow, then objects created by this node disappears when the workflow is saved.

    If you drop the Data Miner repository, the fall process deletes all the objects thus generated workflow.

    You can also keep the workflow and physically remove all the underlying tables in the range $ ODMR but recognize that you will need to restart the workflow as always, they will be marked as complete, but the results have been removed.

    You don't really have to remove the DM tables $ P directly (see below).

    If you build models outside ODMr, the you must use the pl/sql api to abandon the model:

    DBMS_DATA_MINING. DROP_MODEL (model_name IN VARCHAR2,

    Force IN BOOLEAN DEFAULT FALSE);

    If you have a number of models to remove, you can write sql script to query the view of models of mines dictionary and use it as a driver to drop patterns.

    Hope this helps, Mark

Maybe you are looking for

  • How to enable webrtc Firefox browser support?

    How to enable webrtc Firefox browser support?

  • Portege Z30T-a unable to wake from sleep by any key

    I recently bought a new PORTEGE Z30T-A PT24CE-01600EN5upgreaded Version Microsoft Windows OS 8.1 Pro 6.3.9600 with its CD. I can't wake the computer from sleep by any key, but the power button. TOSHIBA has opton for this utility who supposed to put.I

  • Portege M700 - fan is always on

    Hello I have a new Portege M700, model No. PPM70E-01D01CSP bought in Spain (included with Windows XP).My problem is that the fan is always immediately and quite noisy. In addition when it ramps upward on AC it never ramps down, even when the processo

  • Satellite A40-271: how to remove the BIOS password?

    Hello Sorry for my English. I have to take the bios password on a Toshiba Satellite A40-271-PSA40E-09XD2-SP I took out battery of the bios for a day or two, obviously without the laptop battery and the password of the bios keeps on.Could you help me

  • HP Smart print icon does not appear

    After installing HP Smart print, icon does not appear in the command bar in the Internet Explorer browser. It appears only when I transfer a message outlook for the Internet Explorer browser. Plese help. Operating system Windows 7-64 THAT IS TO SAY 9