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.