Tables

  • Hopefully this is a real easy question.

    I have a database where currently if I need to select against of the tables I have to also specify the db and the owner of the object (e.g. MyDB.dbo.MyTable).  If I just try to specify MyTable, I get an error.  Any ideas?

    Shane Stecher

  • If your username is not a Data Base Owner you will have to specify the dbo.table. (Unless you fiddle around with allias's)

    However you do not have to specify the Database, unless the table is in DB A and you have logged into DB B.

     

     


    Andy.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply