Viewing 15 posts - 1 through 15 (of 16 total)
Yeah that did it. Excellent! Thanks for your help.
Regards
August 24, 2007 at 3:45 am
I've also tried adding
option (maxdop 1)
to the stored procedure which is ran to avoid the parallelism but still the second time it runs it stalls in Exchange and Sleeping.
August 13, 2007 at 4:24 am
Yeah Auto Create Statistics is turned on. Cheers. Would the statistics explain why it works the first time and not the second time?
August 10, 2007 at 9:57 am
In researching it could be linked to this problem with parallel processes as that's why am getting the Exchange (Wait-Type)
http://www.dbforums.com/t656327.html
http://www.dbforums.com/showthread.php?threadid=529043
August 10, 2007 at 9:30 am
Yet when it works fine the status is Runnable and the wait type is OLEDB
August 10, 2007 at 7:20 am
Absolutely nothing is different it's really perplexing as to why it fails the second time you run it. Although looking at the processes the update processes status is set to...
August 10, 2007 at 7:12 am
That seems valid but it's identical on another server and works fine there. Does it also explain why it works fine the first time but fails the second time.
Also an...
August 10, 2007 at 6:49 am
Additional notes:
Running SQL Server 2000 (SP4)
The view i'm calling the update on is on open query views of a linked server
August 10, 2007 at 3:33 am
this is the definition, not very complex.
CREATE VIEW dbo.vw_CostPriceUpdate_Update
AS
SELECT dbo.vw_CostPriceUpdate_UK.RECORD_NUMBER AS [UK Record Number], dbo.vw_CostPriceUpdate_UK.DEPOT AS [Depot UK],
dbo.vw_CostPriceUpdate_UK.PART AS [Part UK], dbo.vw_CostPriceUpdate_UK.COST AS [UK Cost],
...
August 10, 2007 at 2:14 am
Also if iw as to just run a really basic stored procedure ala...
print 'hello'
or write to the events log
then this would work fine.
August 9, 2007 at 8:22 am
The stored procedure itself simply updates a column with a corresponding column in the view ala...
UPDATE vw_CostPriceUpdate_Update
SET Cost =[UK Cost]
thats all the sp does.
the strange thing is that this works...
August 9, 2007 at 8:10 am
Ok, just as i thought thanks a lot i'll create a sql job to handle this.
cheers
July 31, 2007 at 8:31 am
Yeah i thought so but was wondering if there is anything else that could be set to monitor the view, as it is pulling data in externally through openquery and...
July 31, 2007 at 8:16 am
Genius, something i totally forgot about you are a star!
Kind Regards!
May 30, 2007 at 2:17 am
Viewing 15 posts - 1 through 15 (of 16 total)