Hi,
After my laptop was upgraded to Windows 22H2 a query below that worked before stopped working with error message "Incorrect syntax near keyword Declare:\42000=156."
DECLARE @UserId int = 54;
SELECT * FROM [dbo].[TableFn](@UserId)
Please help,
Thank you