PL/SQL (MOSC)

MOSC Banner

Need help determining what the problem is - ambiguously defined column?

edited Jun 8, 2009 9:36AM in PL/SQL (MOSC) 2 commentsAnswered
Thanks in advance for reading this.

I have a function which builds a dynamic query and returns the ref_cursor.  Variables are handled via sys_context.  The problem that I'm having is, under a specific condition, I'm getting a "column ambiguously defined" error.  The condition appears, I believe, when I'm using sdo_geometry() and str2tbln().

str2tbln is based off of the str2tbl function on asktom.com where I take a pipe separated list and convert it into a table so I can use it with an IN() statement.

Here is an example of the code:

select * from (

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