关于在存储过程中新建视图的问题
要在存储中过程中新建一个视图,这个视图的内容是读取是不同服务器上的两个相同表名表的差集,差集搜索语句已经写出来了,怎么创建这个视图
select * from GookBook where zbdjb_xh=xh1 and xh not in ( select xh from openrowset('SQLOLEDB','TAG-H532X\SQLSERVER2008'; 'sa'; '6688!',BookMang.dbo.GookBook) where zbdjb_xh=xh1 )