Incorrect syntax near ''. Unclosed quotation mark after the character string ' '

前端 未结 6 602
说谎
说谎 2021-01-24 00:11

I\'m just wondering if someone could point me in the right direction here, I think i\'ve been looking at it for too long so can\'t see the mistake.

The following code:

6条回答
  •  感情败类
    2021-01-24 00:46

    WHERE <[LoweredUserName]

    The above syntax especially the < seems incorrect. Try running SQL profiler on the SQL server (if applicable) to see what SQL was sent to the server.

    Also use parameters to prevent SQL injection attacks.

提交回复
热议问题