Viewing 8 posts - 1 through 9 (of 9 total)
I only simplified the SQL to bring the point across. The real SQL is actually much more complex and I do think a CURSOR is necessary as every entry in...
November 12, 2012 at 11:34 pm
Yes, this is odd behaviour indeed. I tried using varchar() instead of '&' and '', but that did not solve the problem. I even tried replacing '' with something that...
November 12, 2012 at 7:09 am
I finally found a solution to this problem. You see it was easy to do the DELETE from the server containing the linked server to the Oracle DB. The problem...
February 28, 2011 at 7:18 am
Make sure there is an unique index on targetted table; also make sure to fully qualify four-part naming.
I can insert into this table using an INSERT OPENQUERY. The only problem...
February 28, 2011 at 3:55 am
Thanks HowardW, the OpenQuery did the trick!
November 20, 2009 at 5:26 am
Thank you for your reply.
I have now tried joining the result set of style id's from the temporary @Style_IDs table but it did not work. I also tried inserting the...
November 19, 2009 at 6:29 am
Ok, well maybe if I post the exact queries I'm using you'll be able to spot something I didn't.
Query1:
DECLARE @Style_IDs TABLE (
style_id char(12))
INSERT INTO @Style_IDs (style_id)
SELECT DISTINCT(purchase_order_plan.style_id)
FROM TBL_RANGE_ASSORTMENT_PLAN assortment_plan
...
November 19, 2009 at 3:58 am
Thank you for your replies.
I did run the estimated execution plans and it is clear that 100% cost is going into the remote query and must be the reason for...
November 19, 2009 at 12:13 am
Viewing 8 posts - 1 through 9 (of 9 total)