i want to select some column from the database, but it show a error message
Invalid column name
i double check database, i had key in correct column name, but cant select it
there are no error message pop out when i select other column
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
enclose your column name in square braces
[]. This happens in case your column name containsspecial Characters, spaces, or key words.eg:
select [column name] from yourTable