Return-Path: <root@fatcity.cts.com>
Received: from ensim.rackshack.net (root@localhost)
 by orafaq.net (8.11.6/8.11.6) with ESMTP id h0V5jUb03560
 for <oracle-l@orafaq.net>; Thu, 30 Jan 2003 23:45:30 -0600
X-ClientAddr: 209.68.248.164
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by ensim.rackshack.net (8.11.6/8.11.6) with ESMTP id h0V5jUm03555
 for <oracle-l@orafaq.net>; Thu, 30 Jan 2003 23:45:30 -0600
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id SAA84585;
 Thu, 30 Jan 2003 18:29:07 -0800 (PST)
Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 0053FF5C; Thu, 30 Jan 2003 18:04:26 -0800
Message-ID: <F001.0053FF5C.20030130180426@fatcity.com>
Date: Thu, 30 Jan 2003 18:04:26 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: Sony kristanto <Sony@polyfincanggih.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: Sony kristanto <Sony@polyfincanggih.com>
Subject: RE: Creating a simple stored procedure
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Bob,

Make a sure you have access to update 'mytab'.

Rgrds,

Sony

> -----Original Message-----
> From:	Bob Metelsky [SMTP:bmetelsky@cps92.com]
> Sent:	Thursday, January 30, 2003 10:31 PM
> To:	Multiple recipients of list ORACLE-L
> Subject:	Creating a simple stored procedure
> 
> How can I create this simple stored procedure
> 
> Obiviously I don't have much experience but I would not think this being
> as difficult as it appears
> 
> I want to run an update on a table (eventually from a job) I just need
> to get the sp working... Any examples Ive seen are much too complex for
> this simple task
> 
> CREATE OR REPLACE PROCEDURE XYZ
>   AS
>  BEGIN
> UPDATE myTab SET STATUS = 'a'  WHERE  STATUS = 'b' ;
>   END XYZ;
> 
> This is telling me I need to declare myTab... Ive tried every iteration
> of declaring... But its not happening
> So, I present my delimma to my knowledgable friends @fatcity!
> 
> {about to go insane}
> bob
> -- 
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> -- 
> Author: Bob Metelsky
>   INET: bmetelsky@cps92.com
> 
> Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
> San Diego, California        -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from).  You may
> also send the HELP command for other information (like subscribing).
> 
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Sony kristanto
  INET: Sony@polyfincanggih.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

