See for yourself:
create table #temp ([ ] varchar(1))
insert into #temp values ('1')
select [ ] from #temp
What in the world is the rationale for allowing this?
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.
I think the rationale is more along the lines of:
I don’t know how SQL is coded internally but I would suspect it would take more effort to prevent this then to allow it.