cancel
Showing results for 
Search instead for 
Did you mean: 

Syntax in SQL Server Execute Snap

sdoscher
New Contributor III

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

2 REPLIES 2

marjan_karafilo
Contributor

Hi @sdoscher ,

Is this duplicate question?
SQL Server - Execute Snap

@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.