Not stupid and yes, the library does exist. If I isolate the SELECT statement and substitute a literal library name for SCHEMA_NAME in the WHERE clause, it returns rows successfully. In fact, I've tried it with many library names with the same results.

It MUST be in the function statement itself but I have no idea where.

Robert

"Contrariwise, if it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic."--Tweedledee

On 09/26/2013 3:34 PM, Needles,Stephen J wrote:
This might sound stupid...but have you checked to make sure the library you are testing with exists in the tables?

Steve Needles


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.