|
Buck take a look at the CREATE VIEW statement itself...
If SQL names were specified, the view will be created in the schema
specified by the implicit or explicit qualifier.
If system names were specified, the view will be created in the schema that
is specified by the qualifier. If not qualified and there is no default
schema, the view name will be created in the same schema as the first table
specified on the first FROM clause (including FROM clauses in any common
table expressions or nested table expression). If no tables are referenced
in the fullselect, the view will be created in the same schema as the first
user defined table function. If no table or user defined table function is
referenced in the fullselect, the current library (*CURLIB) will be used.
I think you're running into differences because you've got SQL & System
names intermixed.
table_master --> SQL name
view_zero --> valid system name
table_child2 --> SQL name
view_two_subselect --> SQL name
As an Amazon Associate we earn from qualifying purchases.
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.