SQL Language (MOSC)

MOSC Banner

Calling Dynamic SQL Dynamically? How to,

edited May 13, 2011 9:02AM in SQL Language (MOSC) 4 commentsAnswered ✓
  Any useful help greatly appreciated.

 

I am trying to develop code to launch a Package.Procedure dynamically. If possible, I would like to return a value/parm, but not necessary at this point. I see plenty examples on the internet, but I have not been able to get them to run using the developer tools at my facility.

 

Two questions:

 

1. Can dynamic sql be executed in SQLDeveloper or SQLPlus? Need help understanding how to test in Oracle environment.

 

2. I am attempting to call test.procedure using below anonymous block in SQLDevloper, but continually get error messages. Note: I eventually will need to the statement turned into a string call. (string := ‘package’ || ‘procedure’ concept.) For now...taking baby steps.

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