直接使用"select * from tableName"时,tableName不能提示,查询时说“对象名 'yonghubiao' 无效。” 使用"select * from dbMain.dbo.tableName"没有问题,也能提示也能查询 ...