How to read columns with spaces from coldfusion queries?
问题 I am reading data from a spreadsheet. One of the column in the spreadsheet contains spaces. For Example, Columns names are [first name,last name,roll]. I am getting a qryObj after reading the spreadsheet. Now when i am trying to read first name from the query <cfquery dbtype="query" name="getName"> SELECT [first name] FROM qryObj </cfquery> It is throwing db error. I have tried with ['first name'] also but still it is throwing error. The error is: Query Of Queries syntax error. Encountered "[