Search code examples
sqlsql-servert-sqldataexplorer

Tag name is not right


Trying to learn SQL queries, I practice on the data explorer.

I try this query:

Select *
FROM Tags
WHERE TagName = "scala"

but have this error:

Invalid column name 'scala'

Any suggestion what is it going wrong?


Solution

  • use single quotes ('') instead of double quotes ("") for string constants ?