For a SQL Server database with collation set to "Latin1_General_100_CS_AS" I want to run a query like:
SELECT * FROM tableName
, only the table name in the database is called TableName.
SELECT * FROM TableName
works fine
SELECT * FROM tableName
gives error:
Msg 208, Level 16, State 1, Line 1 Invalid object name
How can I make the query case insensitive?