因為dbo.test不存在,所以報錯。
你用aaa登錄建的表就是aaa.test,你可以在建時指定為:dbo.test。
當dbo.test與aaa.test都存在時,
select * from test (如果用aaa登錄,調用的是aaa.test)
你用aaa登錄建的表就是aaa.test,你可以在建時指定為:dbo.test。
當dbo.test與aaa.test都存在時,
select * from test (如果用aaa登錄,調用的是aaa.test)
http://expert.csdn.net/Expert/topic/2520/2520344.xml?temp=.8123285