The query is a DDL query and cannot be used as a row source. (Error 3324)

You tried to run an action query or data-definition query without using the Execute method.