# SqlExecutionClient

> **Class** in `langchain_snowflake`

📖 [View in docs](https://reference.langchain.com/python/langchain-snowflake/_connection/sql_client/SqlExecutionClient)

Unified SQL execution client for Snowflake operations.

This client provides a consistent interface for both sync and async
SQL execution operations with centralized error handling.

## Signature

```python
SqlExecutionClient()
```

## Methods

- [`execute_sync()`](https://reference.langchain.com/python/langchain-snowflake/_connection/sql_client/SqlExecutionClient/execute_sync)
- [`execute_async()`](https://reference.langchain.com/python/langchain-snowflake/_connection/sql_client/SqlExecutionClient/execute_async)
- [`execute_cortex_function()`](https://reference.langchain.com/python/langchain-snowflake/_connection/sql_client/SqlExecutionClient/execute_cortex_function)
- [`execute_cortex_function_async()`](https://reference.langchain.com/python/langchain-snowflake/_connection/sql_client/SqlExecutionClient/execute_cortex_function_async)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-snowflake/blob/c7b3fc040db944acce19c2afb245c1735b9b63a2/libs/snowflake/langchain_snowflake/_connection/sql_client.py#L17)