Add CREATE FUNCTION support for SQL Server (#1808)

This commit is contained in:
Andrew Harper 2025-04-23 12:10:57 -04:00 committed by GitHub
parent 945f8e0534
commit 2eb1e7bdd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 313 additions and 50 deletions

View file

@ -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");
}