1. Execute a Query (execute_query)

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18

This operation executes a SQL query within Teradata.

Args: - sql (str) – The query to be executed. - fetch_results (bool, optional) – If True, fetch the query results. Defaults to False. - single_result_row (bool, optional) – If True, return only the first row of the result set. Effective only if fetch_results is True. Defaults to False.