Use SELECT Queries Safely in AIQ SQL
I
Use haveSELECT anQueries Safely in AIQ SQL
When thatusing hasAIQ a 'select * ...' line. It failsSQL in Scenario Editor.
Editor 
or Resolution:
related Thetest-data userworkflows, needprefer explicit field lists over broad SELECT * patterns. Explicit fields make tests easier to usemaintain properand SQLreduce syntaxfailures (everywhen SQLschemas change.
Recommended query style
- Select only the columns needed by the test.
- Use clear aliases when values are mapped into scenario steps or DPL fields.
- Filter to the smallest safe data set for the validation.
- Avoid logging sensitive values in shared output.
Troubleshooting
- Confirm the query runs in the approved database client or validation environment.
- Check quoting rules for the database engine
useindifferentuse. - Review
syntaxwhetherspecifications),specialifcharacters are being interpreted by AIQ, theuserdatabase,is using MySQL as your engine make sure to use single quotes for table names and schemas, same for all ofor theothershell/scriptSQL data base engines.layer.

Last updated: JuneSeptember 26,8, 20232026
If you have any feedback on this topic, please contact us at documentation@appvance.ai