The name "UserName" is not permitted in this context. Valid expressions are constants, constant expressions…
I got above error while doing following thing in a hurry. I could not find at first look that it is not valid.
INSERT INTO [Users]
Now, the problem is simple but could not find it at first look. I used double quotes “ instead of single quote ‘.
Replaced it and gone 🙂 Thought, i should share 😉