mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-03 22:08:16 +00:00
[mssql] Support single-quoted column aliases
This commit is contained in:
parent
d0a782d8cc
commit
93c9000102
3 changed files with 30 additions and 7 deletions
|
@ -27,6 +27,11 @@ fn parse_mssql_identifiers() {
|
|||
};
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_mssql_single_quoted_aliases() {
|
||||
let _ = ms_and_generic().one_statement_parses_to("SELECT foo 'alias'", "SELECT foo AS 'alias'");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_mssql_delimited_identifiers() {
|
||||
let _ = ms().one_statement_parses_to(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue