When you create data extensions, additional associated code is generated to support the created data extensions.
If you create a data extension of Person, Organization, Contract, ProductInstance, or any of their child objects, and pluggable SQL is enabled, then you should use the updateInqLevel administration transaction to update the SQL for affected queries. The query SQL in the generated code for the data extension will be ignored for transactions which use pluggable SQL.