SQL error: Incorrect syntax near the keyword ‘User’

User is a reserved keyword, so you must use square brackets to make it explicit that you mean the object named “User” it, i.e. use [User] instead of User.

Leave a Comment