Possible Duplicate:
Incorrect syntax near the keyword 'User'
I'm trying to use very simple SQL query in SQL Server Management Studio 2008, the exact query is:
SELECT * FROM User;
But it gives me error when I try to run this.
Msg 156, Level 15, State 1, Line 1
Incorrect syntax near the keyword 'User'.
This table exists and when I try to select any other table data with this statement (by replacing table name), I get all data as I want. Have anyone ideas how to repair it? Tried to google it, but didn't get answers.
Usersis better thanUserunless the intention is that the table will only ever hold one row. PS I'm not suggesting that is the solution, which is why I'm posting it as a comment.