Advertisement

11.14.2008 at 06:47AM PST, ID: 23905282
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.1

Why are some users getting "ORA-00942: table or view does not exist"?

Asked by GLFord in Oracle 9.x, Oracle Database, Oracle 10.x

Tags: , , ,

Hi all,

I have a view that is working fine for most Oracle users, but a couple of them are getting "ORA-00942: table or view does not exist".  All of these users have a same common Oracle role, which includes the view in question.  A copy of the view is attached.  Any ideas what could be causing this?  I've never seen this type of thing before.

Thanks!

GLFordStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
CREATE OR REPLACE VIEW GYVLABL
AS 
WITH spouse AS
        (SELECT gyvcsps_pidm AS pidm
               ,gyvcsps_spouse_pidm AS sp_pidm
               ,gyvname_id AS ID
               ,gyvname_addr_name AS indiv_mail_name
               ,ayvgrad_us_pref_school AS pref_us_school
               ,ayvgrad_us_pref_year AS pref_us_year
               ,ayvgrad_co_pref_school AS pref_co_school
               ,ayvgrad_co_pref_year AS pref_co_year
           FROM gyvcsps JOIN gyvname ON gyvname_pidm = gyvcsps_spouse_pidm
                LEFT JOIN ayvgrad ON ayvgrad_pidm = gyvcsps_spouse_pidm
                )
   SELECT
-- Person information --
          spriden_pidm AS gyvlabl_pidm
         ,gyvname_id AS gyvlabl_id
         ,    SUBSTR (gyvname_pidm, 2, 3)
           || SUBSTR (UPPER (gyvname_last_name), 1, 3)
           || SUBSTR (gyvname_pidm, 5, 3) AS gyvlabl_mail_id
         ,gyvname_addr_name AS gyvlabl_indiv_mail_name
         ,NVL (gyvname_couple_mail_name, gyvname_addr_name) AS gyvlabl_couple_mail_name
         ,gyvname_last_name AS gyvlabl_last_name
         ,gyvhadr_atyp AS gyvlabl_homeaddr_atyp_code
         ,gyvhadr_add1 AS gyvlabl_homeaddr_line_1
         ,gyvhadr_add2 AS gyvlabl_homeaddr_line_2
         ,gyvhadr_add3 AS gyvlabl_homeaddr_line_3
         ,gyvhadr_city AS gyvlabl_homeaddr_city
         ,gyvhadr_stat AS gyvlabl_homeaddr_st_prov
         ,gyvhadr_zip AS gyvlabl_homeaddr_zip
         ,gyvhadr_natn AS gyvlabl_homeaddr_nation
         ,gyvhadr_delpt AS gyvlabl_homeaddr_delpt
         ,gyvhadr_corr_dig AS gyvlabl_homeaddr_corr_dig
         ,gyvhadr_carr_rt AS gyvlabl_homeaddr_carr_rt
         ,gyvpadr_atyp AS gyvlabl_prinaddr_atyp_code
         ,gyvpadr_add1 AS gyvlabl_prinaddr_line_1
         ,gyvpadr_add2 AS gyvlabl_prinaddr_line_2
         ,gyvpadr_add3 AS gyvlabl_prinaddr_line_3
         ,gyvpadr_city AS gyvlabl_prinaddr_city
         ,gyvpadr_stat AS gyvlabl_prinaddr_st_prov
         ,gyvpadr_zip AS gyvlabl_prinaddr_zip
         ,gyvpadr_natn AS gyvlabl_prinaddr_nation
         ,gyvpadr_delpt AS gyvlabl_prinaddr_delpt
         ,gyvpadr_corr_dig AS gyvlabl_prinaddr_corr_dig
         ,gyvpadr_carr_rt AS gyvlabl_prinaddr_carr_rt
         ,ayvgrad_us_pref_school AS gyvlabl_pref_us_school
         ,ayvgrad_us_pref_year AS gyvlabl_pref_us_year
         ,ayvgrad_co_pref_school AS gyvlabl_pref_co_school
         ,ayvgrad_co_pref_year AS gyvlabl_pref_co_year
         ,gyvemal_email AS gyvlabl_email_addr
-- Spouse information --
   ,      spouse.sp_pidm AS gyvlabl_sp_pidm
         ,spouse.ID AS gyvlabl_sp_id
         ,spouse.indiv_mail_name AS gyvlabl_sp_indiv_mail_name
         ,spouse.pref_us_school AS gyvlabl_sp_pref_us_school
         ,spouse.pref_us_year AS gyvlabl_sp_pref_us_year
         ,spouse.pref_co_school AS gyvlabl_sp_pref_co_school
         ,spouse.pref_co_year AS gyvlabl_sp_pref_co_year
     FROM SPRIDEN LEFT JOIN gyvname ON gyvname_pidm = spriden_pidm
          LEFT JOIN gyvhadr ON gyvhadr_pidm = spriden_pidm
          LEFT JOIN gyvpadr ON gyvpadr_pidm = spriden_pidm
          LEFT JOIN ayvgrad ON ayvgrad_pidm = spriden_pidm
          LEFT JOIN gyvemal ON gyvemal_pidm = spriden_pidm
          LEFT JOIN spouse ON spouse.pidm = spriden_pidm
    WHERE spriden_change_ind IS NULL
 
 
[+][-]11.14.2008 at 06:59AM PST, ID: 22960008

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11.14.2008 at 07:21AM PST, ID: 22960244

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.14.2008 at 07:31AM PST, ID: 22960358

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 9.x, Oracle Database, Oracle 10.x
Tags: Oracle, Database, 9i, Views / security
Sign Up Now!
Solution Provided By: Milleniumaire
Participating Experts: 1
Solution Grade: A
 
 
[+][-]11.14.2008 at 12:16PM PST, ID: 22963139

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11.21.2008 at 06:44PM PST, ID: 23018855

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.26.2008 at 02:00PM PST, ID: 23046133

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]11.29.2008 at 08:11AM PST, ID: 23060061

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]12.04.2008 at 09:51AM PST, ID: 23097608

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 - Hierarchy / EE_QW_2_20070628