Custom SQL Editor
If custom SQL editing is enabled by your software provider, the Custom SQL Editor can be invoked on the Create a Query or Select a Stored Procedure wizard page.
The default query validation mechanism only allows custom queries containing SELECT statements.