Fix SQL DECLARE variable use in DataGrip
In 2025.1.3 you can't execute this script by default
DECLARE @id INT = 1;
SELECT * FROM Users WHERE id = @id;
GO
In Settings > Query Execution > User Parameters, disable the pattern (?<![@<])@[a-zA-z0-9_]+
In 2025.1.3 you can't execute this script by default
DECLARE @id INT = 1;
SELECT * FROM Users WHERE id = @id;
GO
In Settings > Query Execution > User Parameters, disable the pattern (?<![@<])@[a-zA-z0-9_]+