We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91327bb commit 25bb871Copy full SHA for 25bb871
src/dialect/mssql.rs
@@ -101,4 +101,9 @@ impl Dialect for MsSqlDialect {
101
fn supports_nested_comments(&self) -> bool {
102
true
103
}
104
+
105
+ /// See <https://learn.microsoft.com/en-us/sql/t-sql/queries/from-transact-sql>
106
+ fn supports_object_name_double_dot_notation(&self) -> bool {
107
+ true
108
+ }
109
tests/sqlparser_mssql.rs
@@ -1910,6 +1910,11 @@ fn parse_mssql_varbinary_max_length() {
1910
1911
1912
1913
+#[test]
1914
+fn parse_mssql_table_identifier_with_default_schema() {
1915
+ ms().verified_stmt("SELECT * FROM mydatabase..MyTable");
1916
+}
1917
1918
fn ms() -> TestedDialects {
1919
TestedDialects::new(vec![Box::new(MsSqlDialect {})])
1920
0 commit comments