Hi I have a table which contains filed name as OBJECT.
I am trying to fetch records from the table using select query as follows:
SELECT *
FROM table1
WHERE OBJECT = "11";
I am getting the following error – INVALID COLUMN NAME.
Looks like its reading OBJECT as SQL KEYWORD and not as table field name.
I am writing this query in sql server management studio.
Try
MSDN: Delimited Identifiers
Btw, here is another SO-question to this issue.