Syntax in SQL Server Execute Snap

A statement like this works fine in SQL Server. How can I get something like this to work in the SQL Server - Execute Snap? There has to be a syntax issue that I have. Any help is appreciated.

DECLARE @sql AS varchar(max) = ‘This is a Test’
PRINT @sql

Hi @sdoscher ,

Is this duplicate question?
SQL Server - Execute Snap

1 Like

@marjan.karafiloski Yes sir…I wasn’t getting any responses so figured maybe I was posting in the wrong community board. I will delete this. Appreciate your response on the other board.