PL/SQL (MOSC)

MOSC Banner

Open-For Cursor Not Returning Records

edited Dec 20, 2013 4:10AM in PL/SQL (MOSC) 5 commentsAnswered
HiI'm writing a purge of tables who have DEATH_PATCH columns.  I want to pass records from purge_tables_cur to cursor crow for bulk fetch and deletion.  I've removed loops and dbms_output.put_line(see below for output) etc for simplicity.

This works - no errors - but returns no records to cursor crow, and there are millions.  When I enable --USING v_table on OPEN crow FOR v_stmt_str it fails with ORA-01006: bind variable does not exist.

Been working on this for 4 days and I'm about to give - help!!

Thanks in advance, Jamie

DECLARE

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