"Password" is a reserved word in Jet/ACE SQL, so you must escape it when using it as an identifier. You do that by wrapping it in brackets, just as you do in VB.
"Password" is a reserved word in Jet/ACE SQL, so you must escape it when using it as an identifier. You do that by wrapping it in brackets, just as you do in VB.
You can name tables and columns whatever you want. It's only in SQL code that it becomes a problem, because reserved words, spaces and other special characters will cause syntax errors if not escaped. It is better to avoid such names altogether. Given that passwords should be hashed in real systems, such columns can be named PasswordHash and there's no issue.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.