PL/SQL (MOSC)

MOSC Banner

stored procedure skips one delete statement

edited Feb 21, 2013 11:40AM in PL/SQL (MOSC) 11 commentsAnswered ✓
I have the following stored procedure.  It is compiled and do everything I ask for, except one thing: it does not delete the data in 'SP_FE_PORT' TABLE that I want it to.It drives me nut as I have no idea why it does not.  I can delete the sp_fe_port table if I hardcode the "owner" in the statement.   Could you some look at it and help me to debug the problem.

create or replace
PROCEDURE PURGE_USER 
(
  owner IN VARCHAR2  
) AS 
BEGIN
  delete from SP_FE_PORT where username = owner;
  delete from systemconfig where username = owner;

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center