You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SNOW-1053935: Support for double quote character in delimited identifier. (#926)
### Description
Support for double quote character in delimited identifier.
### Checklist
- [x] Code compiles correctly
- [x] Code is formatted according to [Coding
Conventions](../blob/master/CodingConventions.md)
- [x] Created tests which fail without the change (if possible)
- [x] All tests passing (`dotnet test`)
- [x] Extended the README / documentation, if necessary
- [x] Provide JIRA issue id (if possible) or GitHub issue id in PR name
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,6 +234,25 @@ The following examples show how you can include different types of special chara
234
234
235
235
Note that previously you needed to use a double equal sign (==) to escape the character. However, beginning with version 2.0.18, you can use a single equal size.
236
236
237
+
238
+
Snowflake supports using [double quote identifiers](https://docs.snowflake.com/en/sql-reference/identifiers-syntax#double-quoted-identifiers) for object property values (WAREHOUSE, DATABASE, SCHEMA AND ROLES). The value should be delimited with `\"` in the connection string. The value is case-sensitive and allow to use special characters as part of the value.
239
+
240
+
```cs
241
+
stringconnectionString=String.Format(
242
+
"account=testaccount; "+
243
+
"database=\"testDB\";"
244
+
);
245
+
```
246
+
- To include a `"` character as part of the value should be escaped using `\"\"`.
[TestCase("ACCOUNT=testaccount;USER=testuser;PASSWORD=testpassword;FILE_TRANSFER_MEMORY_THRESHOLD=0;","Error: Invalid parameter value 0 for FILE_TRANSFER_MEMORY_THRESHOLD")]
53
53
[TestCase("ACCOUNT=testaccount;USER=testuser;PASSWORD=testpassword;FILE_TRANSFER_MEMORY_THRESHOLD=xyz;","Error: Invalid parameter value xyz for FILE_TRANSFER_MEMORY_THRESHOLD")]
@@ -63,7 +63,7 @@ public void TestThatItFailsForWrongConnectionParameter(string connectionString,
0 commit comments