mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-07-07 17:04:59 +00:00
Add DECLARE ... CURSOR FOR
support for SQL Server (#1821)
This commit is contained in:
parent
87d190734c
commit
7703fd0d31
3 changed files with 23 additions and 6 deletions
|
@ -1387,6 +1387,10 @@ fn parse_mssql_declare() {
|
|||
],
|
||||
ast
|
||||
);
|
||||
|
||||
let declare_cursor_for_select =
|
||||
"DECLARE vend_cursor CURSOR FOR SELECT * FROM Purchasing.Vendor";
|
||||
let _ = ms().verified_stmt(declare_cursor_for_select);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue