Open Turyansky opened 1 year ago
Hi @Turyansky, thank you for submitting this issue. I couldn't find documentation of variable versioning in SQL Server. Can you please clarify the issue? What does ";2" mean in this case?
AFAICT it is equivalent to
CREATE PROCEDURE Proc1 AS
BEGIN
DECLARE @ProcName SYSNAME = 'Proc2'
EXEC @ProcName;2
END
The ";2" is the "procedure group" functionality, see ";number" at https://learn.microsoft.com/en-us/sql/t-sql/language-elements/execute-transact-sql?view=sql-server-ver16
Steps to Reproduce:
Did this occur in prior versions? If not - which version(s) did it work in? Not work in all prior versions.
(DacFx/SqlPackage/SSMS/Azure Data Studio)