在线等待,立即给分。SQL Server中数据库链接别名问题

如下所示:
建立链接后
exec sp_addlinkedsrvlogin 'wwserver','false','sa','user245','user245'
select * from wwserver.test245.dbo.tabstk
能否象oracle一样的操作,把wwserver.test245.dbo.tabstk定义一个别名tablename
从而可直接使用select * from tablename?
---------------------------------------------------------------

sql不知道什么时候才会引入oracle的“同义词”的感念
---------------------------------------------------------------

用分区视图
---------------------------------------------------------------

同意楼上意见

Published At
Categories with 数据库类
Tagged with
comments powered by Disqus