INSERT takes ages...
From: hansje (hansjes_at_anonymous.com)
Date: 02/25/04
- Next message: Bruce Loving: "Re: Select from linked server"
- Previous message: abc_at_helloall.com: "Re: Sorry for repeating my Q but I hardly got any response yesterday"
- Next in thread: Narayana Vyas Kondreddi: "Re: INSERT takes ages..."
- Reply: Narayana Vyas Kondreddi: "Re: INSERT takes ages..."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 25 Feb 2004 08:11:04 -0800
Hi there,
On a remote server I execute the following
EXEC [REMOTE_SERVER].master.dbo.xp_fixeddrives
I receive a result within a few seconds. Now I wish to put the resultset
in a tmptable:
CREATE TABLE #tmpTable(
Drive char(3),
Freespace varchar(10)
)
INSERT INTO #tmpTable
EXEC [216.113.155.219].master.dbo.xp_fixeddrives
SELECT * FROM #tmptable
DROP TABLE #tmptable
Now it takes forever! After a minute I cancel the query, don't know how
long it would take to finally end or timeout. Any reason for this
behaviour? I'm flabbergasted!
Tnx,
Hans Brouwer
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Bruce Loving: "Re: Select from linked server"
- Previous message: abc_at_helloall.com: "Re: Sorry for repeating my Q but I hardly got any response yesterday"
- Next in thread: Narayana Vyas Kondreddi: "Re: INSERT takes ages..."
- Reply: Narayana Vyas Kondreddi: "Re: INSERT takes ages..."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|