I am afraid that with the out-of-the-box set of keyword operations it is not possible to run queries/execute commands against the database(s).
Possible approaches are: either use the coding (scripting) approach utilizing ADO object, or create a custom keyword operation(s) according to your needs (see TC help for more info about how to create custom keyword operations).
Regards, /Alex [Community Hero] ____ [Community Heroes] are not employed by SmartBear Software but are just volunteers who have some experience with the tools by SmartBear Software and a desire to help others. Posts made by [Community Heroes] may differ from the official policies of SmartBear Software and should be treated as the own private opinion of their authors and under no circumstances as an official answer from SmartBear Software. The [Community Hero] signature is used with permission by SmartBear Software. https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame ================================