Previous Topic: -153 - DUPLICATE CURSOR NAME DETECTEDNext Topic: -156 - VIEW xxx WITH CHECK OPTION VIOLATION


-155 - NUMBER OF COLUMNS IN VIEW NOT EQUAL TO NUMBER IN QUERY

Reason:

The number of columns in the query expression in question does not correspond to the number of columns in the associated CREATE VIEW statement.

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

Action:

Ensure that the view and query specify corresponding column lists.