July 4, 2005 at 11:35 pm
Hi all: I have a table named 'user' in my database. Unfortunately im not able to select from the table even if I qualify the table with user name 'dbo.user'. Any ideas on what could be the problem??
July 4, 2005 at 11:48 pm
user is a reserved word, so you need to quote it.
SELECT * FROM [dbo].
dbo would not have needed to be quoted, but it is never wrong to do it.
July 5, 2005 at 12:35 am
Thanks Chris. Its working
July 6, 2005 at 6:39 am
Or you can always rename the table to users and avoid the problem altogether.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply