Syntax in SQL Server Execute Snap
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 05:48 AM
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 06:16 AM
Hi @sdoscher ,
Is this duplicate question?
SQL Server - Execute Snap
Reply
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2022 02:03 PM
@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.
