I keep getting an incorrect syntax error attach.AttachmentID
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
You'll need to show your whole query for us to understand what the issue is.
18 People are following this question.
I don't know why I am getting Incorrect syntax error on PIVOT?
What is the colon used for in T-SQL
What's the syntax for multiple nonclustered indexes?
sql syntax issues - declaring variables in loops
SQL records issue