Re: Distributed Query Strangeness
From: T. (tmorris_at_firstegg.ihatespam.com)
Date: 11/19/04
- Next message: Anith Sen: "Re: Help with pulling data into SQL"
- Previous message: Adam Machanic: "Re: Query Analyzer no Echo?"
- In reply to: oj: "Re: Distributed Query Strangeness"
- Next in thread: oj: "Re: Distributed Query Strangeness"
- Reply: oj: "Re: Distributed Query Strangeness"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Nov 2004 14:37:02 -0500
thanks for the reply, but same result, indefinite hang , no profiler
activity on remote server..
"oj" <nospam_ojngo@home.com> wrote in message
news:%23LUXwLmzEHA.3336@TK2MSFTNGP11.phx.gbl...
> Try this instead:
>
> INSERT dbo.MyLocalInventory (column list...)
> EXEC RemoteServerName.DatabaseName..sp_executesql N'exec
> usp_GetInventoryData'
>
>
>
> "T." <tmorris@firstegg.ihatespam.com> wrote in message
> news:erztvIkzEHA.1452@TK2MSFTNGP11.phx.gbl...
> > Hi group, I'm creating a web portal where customers can search for
> > inventory
> > which originates on remote servers/databases. I want to physically copy
> > this data to the portal server rather than have partitioned views...
I've
> > written a stored procedure for each source database that selects the
rows
> > I
> > need. The plan was to have the portal server call each remote procedure
> > overnight to get the latest data via the linked server option. This
works
> > just fine UNTIL - I try to call the remote proc as a clause of the
INSERT
> > statement. I.e., this works, I get a result set in under 1 second:
> >
> > EXEC RemoteServerName.DatabaseName.dbo.usp_GetInventoryData
> >
> > this doesn't
> >
> > INSERT dbo.MyLocalInventory (column list...)
> > EXEC RemoteServerName.DatabaseName.dbo.usp_GetInventoryData
> >
> > it hangs indefinitely...doesn't time out. If I run profiler on the
remote
> > server I don't see the remote proc execute. Any ideas?
> >
> > Thanks
> >
> >
>
>
- Next message: Anith Sen: "Re: Help with pulling data into SQL"
- Previous message: Adam Machanic: "Re: Query Analyzer no Echo?"
- In reply to: oj: "Re: Distributed Query Strangeness"
- Next in thread: oj: "Re: Distributed Query Strangeness"
- Reply: oj: "Re: Distributed Query Strangeness"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|