Viewing 15 posts - 646 through 660 (of 5,504 total)
Revenant (2/3/2012)
GilaMonster (2/3/2012)
Summer, glorious summer (and lots of rain)Members in Central Europe will be green with envy -- Germany and the Czech Republic broke the low temperature records earlier today.
Here...
February 3, 2012 at 12:29 pm
There's no parser needed. As stated before, you can use the XQuery syntax to extract the data. Did you have a look at the blog I linked in my previous...
February 3, 2012 at 11:52 am
Based on the very limited information all I can suggest is to look into XQuery syntax.
A few scenarios with coded solutions can be found at Jacob Sebastians blog.
If you're looking...
February 3, 2012 at 11:26 am
It might be an issue of 64 vs. 32 bit (compiled using 32 bit, then transferred to a system with 32 bit).
A quick google search using the original error message...
February 3, 2012 at 11:20 am
You might want to to try the CrossTab approach as described in the related link in my signature.
PS: Since it sounds like homework I think it's more helpful to provide...
January 30, 2012 at 5:05 pm
January 30, 2012 at 2:16 pm
And here's the query to search for a substring:
SELECT *
FROM @tbl t1
WHERE col.exist('//*/text()[contains(.,sql:variable("@id"))]') = 1
Depending on the size of the xml data this may take a...
January 29, 2012 at 2:57 pm
Using PIVOT makes it rather complex to add the total dynamically.
You might want to use the DynamicCrossTab approach instead. For details please see the related link in my signature.
January 29, 2012 at 2:21 pm
I'm not sure if I understood correctly, but it seems like you're looking for the "exist" method to query the xml data.
Here's a short sample:
DECLARE @tbl TABLE
(
id INT,
col...
January 29, 2012 at 1:38 pm
er.sivaganesh (1/29/2012)
January 29, 2012 at 5:05 am
Star Trek (1/28/2012)
I do not have access to execution plans. This is what my manager sent me.
If the number of rows is really representative (a few hundred at max) then...
January 28, 2012 at 4:02 am
Can you post the actual execution plan?
Based on that row count there's just a limited information where the actual problem is.
Other than that I recommend to try the divide'n'conqueur approach:
Store...
January 27, 2012 at 4:02 pm
It's more an UNPIVOT issue than a PIVOT.
Here's a code snippet based on your sample data. Please note the way the sample data are provided in a ready to use...
January 24, 2012 at 11:52 am
SQLRNNR (1/23/2012)
LutzM (1/23/2012)
Why don't you use the DATEDIFF() function?What's the goal you're trying to achieve?
That is funny - same question (goal), same time - different sources.
If I wouldn't be involved,...
January 23, 2012 at 4:48 pm
Viewing 15 posts - 646 through 660 (of 5,504 total)