Ansicht
Dokumentation

SQL0157 - &1 in &2 not valid in FOREIGN KEY clause. ( OS/400 )

SQL0157 - &1 in &2 not valid in FOREIGN KEY clause. ( OS/400 )

BAL_S_LOG - Application Log: Log header data   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by IBM.
SAP E-Book


Message : SQL0157
&1 in &2 not valid in FOREIGN KEY clause.

Message Long Text :

Cause . . . . . : View or logical file &1 in &2 was specified in the REFERENCES clause in the definition of a FOREIGN KEY referential constraint on a CREATE TABLE or an ALTER TABLE statement. Views and logical files cannot be specified in a FOREIGN KEY clause.
Recovery . . . : Specify the base table that contains the parent key in the FOREIGN KEY clause. Try the request again.

Message File : QSQLMSG
Library Message File : QSYS2924


ABAP Short Reference   PERFORM Short Reference  
This documentation is copyright by IBM.

Length: 3223 Date: 20240329 Time: 083836     sap01-206 ( 3 ms )