Oracle ORA-00942: table or view does not exist when it exists
It seems that case matters. What is the result of
select * from "Country";
It appears that someone created table using double quotes and mixed case (which is - in Oracle - a bad idea because you'll always have to reference it using double quotes and never fail in correctly spelling it.
ORA-00942 error is generating while creating a view
My issue has been resolved. :-)
I have made the following changes,
FROM
hfdora.energization_info,
hfdora.trigger_info trigger_info_A,
hfdora.trigger_info trigger_info_B,
hfdora.oms_consumer
Now the same view is created for the user cis.
ORA-00942: table or view does not exist 00942. 00000 - table or view does not exist
You have just used the wrong table name; your table is price_table
, not pricelist
:
SELECT pno, s.COLUMN_VALUE prices
from price_table p,TABLE(p.prices) s
/
PNO PRICES
---------- ----------
1 2
1 3
1 4
2 2
2 3
2 4
3 2
3 3
3 4
ALTER TABLE ADD field getting ORA-00942 error
This was a permissions issue: I did not use the owner of the table to alter the table. Switching to a connection with those credentials fixed the issue.
PL/SQL: ORA-00942: table or view does not exist. Inside Function
The table you're selecting from belongs to user hawk
.
User, which uses the function, should be granted the SELECT
privilege (on that table). I presume that you did that (as SELECT
itself works OK, but not as part of a function) - via some role. However, that won't work - you should grant the privilege directly to user, not via role.
Related Topics
How to Implement a Keyword Search in MySQL
In VS. Join with Large Rowsets
Generate Random Int Value from 3 to 6
Count Cumulative Total in Postgresql
What's the Difference Between a Table Scan and a Clustered Index Scan
Like '%' Does Not Accept Null Value
Query a Table's Foreign Key Relationships
Conditional Aggregation Performance
How to Return Random Numbers as a Column in SQL Server 2005
Procedurally Transform Subquery into Join
How to Aggregate Over Rolling Time Window with Groups in Spark
MySQL Convert Latin1 Data to Utf8
How to Subtract 30 Days from the Current Date Using SQL Server
"This SQLtransaction Has Completed; It Is No Longer Usable."... Configuration Error
Time Part of a Datetime Field in SQL
Check If Two "Select"S Are Equivalent
How to Retrieve Decimals When Rounding an Average in SQL
SQL 'Like' Query Using '%' Where the Search Criteria Contains '%'