XMIG012: Query must be a SELECT statement.

Migrate has found an invalid SQL statement in the Query window. Only a single SELECT statement is allowed in this window.
Restriction: This topic applies to Windows environments only.

Remove the invalid statement from the Query window. To include additional SQL in a migration, use the Prologue and Epilogue functions. See your Migrate User's Guide for information about using Prologue and Epilogue scripts.