Working with Data Source Log SQL queries
Once you have queried your data source logs with generative AI, you can use SQL to:
view the contents of the query
refine your query and re-run it
copy your query
To view the SQL of a generative AI query
Follow the To analyze data source procedure on Querying Data Source Logs with Generative AI | To analyze data source logs.
Once your results appear, click SQL
.
The SQL code appears in the Results section.
To edit an SQL query and run it on your data source
When you’re editing, if you want to autocomplete, click CTRL + Space.
To format the SQL, click Format SQL .
Follow the https://cuda.atlassian.net/wiki/spaces/SKOUT/pages/edit-v2/1088455057#To-view-the-SQL-of-a-generative-AI-query procedure above.
In the Result section, edit the SQL.
When your edits are done, click Run SQL
.
To copy an SQL query
Copying your SQL query copies your SQL onto your computer’s clipboard. You can then paste it into a file to save it.
Follow one of these procedures
To view the SQL of a generative AI query
To edit an SQL query and run it on your data source
In the SQL section, click Copy
.