可以用SYNONYM建立别名,这样可以简化或封装代码,如:
CREATE SYNONYM Emp for AdventureWorks.HumanResources.Employee
Select * from Emp
drop SYNONYM Emp
可以用SYNONYM建立别名,这样可以简化或封装代码,如:
CREATE SYNONYM Emp for AdventureWorks.HumanResources.Employee
Select * from Emp
drop SYNONYM Emp