Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Sqlplus Alter question

Re: Sqlplus Alter question

From: Martin Meadows <mmeadows_at_indy.net>
Date: 1998/03/02
Message-ID: <34FB49E1.31DF@indy.net>#1/1

Stephan Schaefer wrote:
>
> Martin Meadows wrote:
>
> > sql> describe payroll_transaction_master
> > I get a nice listing of that table.
 

> > alter table payroll_transaction_master add job_function integer
> > ERROR at line 1:
> > ORA-00942: table or view does not exist
>
> Hello Martin,
>
> I am not sure if payroll_transaction_master is a table. I rather
> think it is a view. But test:
> select
> object_name,object_type,owner
> from
> all_objects
> where
> object_name = 'PAYROLL_TRANSACTION_MASTER'
> ;
>
> The error message ORA-00942 arises if the table does not
> exist, although telling you that neither a table or a view
> with this name exists.
>
> Stephan Schaefer
> stesch_at_camline.com

Thanks for the response Stephan,

A couple newsgroup members sent private responses & seem to be in complete agreement with you. I'll test out your select statement.

Thanks again,
Martin Meadows Received on Mon Mar 02 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US