Jump to content

markg1972

Members
  • Posts

    1
  • Joined

  • Last visited

markg1972's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi All, I wrote code that works perfectly. However when I sent it to IT to automate they added the following code. Declare @query nvarchar(max) Set @query = N' The apostrophe after the N interferes with my code. where b.comment like '%address%' and b.comment not like '%email%' When SQL reaches the '%address it causes an error. Any thoughts? Thanks!! Mark
×
×
  • Create New...