I have a table contain the \'%\' in the column title, and this cause problem when I do the select statement on that column (Find below for more details). Does anyone know ho
You may want to wrap your column name in square brackets to have your identifier delimited:
SELECT [%Phone] FROM Table1
If the QUOTED_IDENTIFIER option is set to ON, you can also use ANSI-SQL compliant double quotation marks to delimit identifiers:
QUOTED_IDENTIFIER
SELECT "%Phone" FROM Table1