mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
Add CREATE FUNCTION
support for SQL Server (#1808)
This commit is contained in:
parent
945f8e0534
commit
2eb1e7bdd4
10 changed files with 313 additions and 50 deletions
|
@ -15079,3 +15079,11 @@ fn parse_set_time_zone_alias() {
|
|||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_return() {
|
||||
let stmt = all_dialects().verified_stmt("RETURN");
|
||||
assert_eq!(stmt, Statement::Return(ReturnStatement { value: None }));
|
||||
|
||||
let _ = all_dialects().verified_stmt("RETURN 1");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue