Can't execute current statement when certain statement precedes it
Posted: Fri 08 Nov 2019 00:48
I have code like this:
alter procedure x
as
begin
...
end
; select * from table;
When the cursor is inside the select statement and I execute current statement it doesn't get executed. When I remove the alter statement, it gets executed. My understanding is that when I have a semi column before my statement, it isolates my statement from prior statements. It works if the alter is another select for example.
Why doesn't it work with certain previous statements like an alter procedure?
Using SQL Complete 6.2.37.
alter procedure x
as
begin
...
end
; select * from table;
When the cursor is inside the select statement and I execute current statement it doesn't get executed. When I remove the alter statement, it gets executed. My understanding is that when I have a semi column before my statement, it isolates my statement from prior statements. It works if the alter is another select for example.
Why doesn't it work with certain previous statements like an alter procedure?
Using SQL Complete 6.2.37.