Skip to content

Commit

Permalink
SNOW-974746 document that we currently do not support bind variables …
Browse files Browse the repository at this point in the history
…in multi-statement queries (#819)

re: SNOW-974746 / #817 
document that we currently do not support bind variables in
multi-statement queries, we're getting issues related to this

document-only change, based on
https://docs.snowflake.com/en/developer-guide/sql-api/submitting-multiple-statements#specifying-multiple-sql-statements-in-the-request
which sems to be valid for all the drivers
  • Loading branch information
sfc-gh-dszmolka authored Dec 4, 2023
1 parent 68edb52 commit 3710031
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ With version 2.0.18 and later of the .NET connector, you can send
a batch of SQL statements, separated by semicolons,
to be executed in a single request.

**Note**: Snowflake does not currently support variable binding in multi-statement SQL requests.

---
**Note**

Expand Down Expand Up @@ -579,6 +581,8 @@ using (DbCommand cmd = conn.CreateCommand())
Bind Parameter
--------------

**Note**: Snowflake does not currently support variable binding in multi-statement SQL requests.

This example shows how bound parameters are converted from C# data types to
Snowflake data types. For example, if the data type of the Snowflake column
is INTEGER, then you can bind C# data types Int32 or Int16.
Expand Down

0 comments on commit 3710031

Please sign in to comment.