Viewing 3 posts - 1 through 3 (of 3 total)
I had similar issues on Windows 7 64bit OS; Lot of these issues will disappear if you are on 32 bit OS.
Take a look at this thread:
Basic things:
(1)...
May 12, 2010 at 8:29 am
I noticed something interesting: look at these two queries:
SELECT Ord.value('(.)','char(5)') FROM @xml.nodes('/ROOT/Customer/CustomerID') AS x(Ord)
SELECT Ord.value('(.)','char(5)') FROM @xml.nodes('/ROOT/Customer/CustomerID[text()]') AS x(Ord)
The latter outperforms the former eventhough both return same...
November 2, 2007 at 2:21 pm
The following seems to work faster ( ~69% compared to 95%) even though it still isn't what i expected to see. My guess is that the query cost calculation does...
November 2, 2007 at 10:05 am
Viewing 3 posts - 1 through 3 (of 3 total)