MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2014

Re: AW: SQL CREATE FUNCTION uses schema from create time



fixed

On 6/9/2014 12:21 PM, Birgitta Hauser wrote:
Hi Buck,

You may check the following articles about System and SQL Naming
Conventions:
System versus SQL Naming - Part 1
Object authority and privileges for SQL database objects
http://www.ibm.com/developerworks/ibmi/library/i-sqlnaming/index.html

System versus SQL Naming - Part 2
Accessing database objects
http://www.ibm.com/developerworks/ibmi/library/i-system_sql2/index.html

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

Danke, Birgitta. I usually make my functions external and somehow got
surprised by this behaviour. Now that it's been explained (for SQL
naming, STATIC schema is determined at compile time and DYNAMIC schema
is determined at run time) it makes sense. I did not see that spelt out
explicitly in the SQL manuals which is why I confused myself between run
time and compile time.
--buck





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact