views:

216

answers:

3

This may be a dumb question. But I just received permissions to read/write to this DB. I see the tables of the DB, except for one. I can select from it, But I cannot see it in the Object Explorer. I restarted my computer, refreshed the object explorer and everything. Is there a restriction on viewing this table?

+1  A: 

Could it be a synonym, or a view? Check under the synonyms node and the views node. Also check the schema... if you are just saying SELECT * FROM table, try with SELECT * FROM dbo.table. It may be under a different schema.

Aaron Bertrand
+1  A: 

The query

SELECT type, type_desc FROM sys.objects WHERE name = 'my_table_name'

should tell you what type of object your table really is.

devio
thanks i used that and realized that the table didn't exist in the database I was looking at.. someone should have told me the difference between test and production...
Marlon
+1  A: 

I"m so sorry I had to check the connection of the query. I was looking at two different versions of the same DATABASE. gosh. Should I take this question down?

Marlon
probably best...
gbn