Paul_J
Hall of Fame
Points: 3698
More actions
December 28, 2006 at 7:14 pm
#680438
Sorry I dont understand what you mean.
The data I need to get comes from Server1.DB1 (e.g. employee name, address, phone) and Server2.DB2 (e.g. salary, DOB).
Where should I create the VIEW and SP?
December 28, 2006 at 7:19 pm
#680439
Nevermind, got it. Added the link server retrieval stuff into the SELECT list in the view and it's all working fine.
Thanks for all your help.
Jambu Krishnamurthy
SSCrazy
Points: 2054
December 29, 2006 at 8:09 am
#680506
pl see if table valued functions could help:
create function f1()
returns @t1 table(f1 int)
with schemabinding
as
begin
insert into @t1 select f1 from dbo.t1
return
end
select count(*) from f1()
Viewing 3 posts - 31 through 32 (of 32 total)
You must be logged in to reply to this topic. Login to reply