Previous Topic: -161 - colname datatype(prec,scale) INVALID DATA:  hhNext Topic: -163 - MORE THAN 1 DEFAULT SPECIFIED FOR A COLUMN


-162 - CANNOT INSERT AND SELECT ON THE SAME TABLE

Explanation

You have specified the same table or view name in both an INSERT INTO and a FROM clause.

The SQLSTATE that equates to this SQL return code is 42902.

User Response

Change the table name or view name in either the INSERT INTO or FROM clause.