File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1
1
declare_cursor_stmt ::=
2
- 'DECLARE' cursor_name opt_binary opt_sensitivity opt_scroll 'CURSOR' opt_hold 'FOR' select_stmt
2
+ 'DECLARE' cursor_name opt_binary opt_sensitivity opt_scroll 'CURSOR' 'WITH' 'HOLD' 'FOR' select_stmt
3
+ | 'DECLARE' cursor_name opt_binary opt_sensitivity opt_scroll 'CURSOR' 'WITHOUT' 'HOLD' 'FOR' select_stmt
4
+ | 'DECLARE' cursor_name opt_binary opt_sensitivity opt_scroll 'CURSOR' 'FOR' select_stmt
Original file line number Diff line number Diff line change @@ -914,6 +914,10 @@ var specs = []stmtSpec{
914
914
"string_or_placeholder 'PASSWORD'" : "name 'PASSWORD'" ,
915
915
"'PASSWORD' string_or_placeholder" : "'PASSWORD' password" },
916
916
},
917
+ {
918
+ name : "declare_cursor_stmt" ,
919
+ inline : []string {"opt_hold" },
920
+ },
917
921
{
918
922
name : "default_value_column_level" ,
919
923
stmt : "stmt_block" ,
You can’t perform that action at this time.
0 commit comments