Table of Contents

Search

  1. About the Data Vault Message Reference
  2. Data Definition Language Errors
  3. Data Vault Repository Service Exit Codes
  4. Load Balancer and Administration Errors
  5. Data Vault Repository Administration CLI Errors
  6. Data Vault SQL Tool Messages
  7. Data Vault Loader Messages

Data Vault Message Reference

Data Vault Message Reference

K 0700

K
0700

Table name appears more than once
This message appears when a SELECT or CREATE VIEW statement, or the query expression clause of an INSERT statement, specifies the same table or view name more than once in the FROM clause, without correlation or schema qualification. The table, view, or correlation names appearing in the FROM clause must be unique. The following statement, for instance, produces this error message:
SELECT column1, column3
FROM table_name, table_name ;
If the duplicate table and view names use correlation names, the statement becomes legal, as there are now two separate instances of table
table_name
in the FROM list:
SELECT t1.column1, t2.column3
FROM table_name t1, table_name t2 ;
Tables or views sharing the same name but belonging to different schemas may also appear in the FROM clause, provided they are prefixed with their respective schema name, for example:
SELECT *
FROM schema1.table_name, schema2.table_name ;

0 COMMENTS

We’d like to hear from you!