You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we create SP or EB like this:
execute block
as
declare variable v_name varchar(50) = '';
declare variable v_age smallint;
declare variable v_count int = 0;
begin
...
end
-- it is quite unnecessarily to specify first two words before each variable, i.e. 'DECLARE VARIABLE'.
I think that there will no any loss of clarity if syntax will allow to write:
execute block
as
v_name varchar(50) = '';
v_age smallint;
v_count int = 0;
begin
...
end
The text was updated successfully, but these errors were encountered:
Submitted by: @pavel-zotov
Votes: 1
When we create SP or EB like this:
execute block
as
declare variable v_name varchar(50) = '';
declare variable v_age smallint;
declare variable v_count int = 0;
begin
...
end
-- it is quite unnecessarily to specify first two words before each variable, i.e. 'DECLARE VARIABLE'.
I think that there will no any loss of clarity if syntax will allow to write:
execute block
as
v_name varchar(50) = '';
v_age smallint;
v_count int = 0;
begin
...
end
The text was updated successfully, but these errors were encountered: