no INTO clause on SELECT statement

Message value

Message type

2633

Error

Probable cause

You specified an embedded static SELECT statement, but you did not specify an INTO clause for the results.