Viewing 15 posts - 5,206 through 5,220 (of 5,502 total)
Steve Brett (6/23/2009)
The problem...
June 23, 2009 at 2:46 pm
Eichpeel (6/23/2009)
June 23, 2009 at 2:33 pm
You're welcome.
I just did remember a different thread with a similar question... 😉
June 23, 2009 at 2:05 pm
I don't know if the following example will answer your question...
DECLARE @xml XML
SELECT @xml='
*$199 SHARED
24MTHS
AS PER AGREEEMENT PRE MAY.
*BAN:...
June 23, 2009 at 1:55 pm
Please clarify what you're looking for.
"inserting XML data into SQL server / DB2 native XML database" is really confusing as far as I can see...
A brief description of the process...
June 23, 2009 at 1:44 pm
We're almost there...
in order to get the top 5 per group you need to rank them first. Also, you have to define, how you deal with tie values. Please look...
June 23, 2009 at 1:35 pm
We're getting closer...
So, what have you tried so far?
Regarding the 2nd question:
The answers for any given "N" with 0 < "N" <= [total number of rows in that table]...
June 23, 2009 at 1:06 pm
Please follow the link in my signature on how to post sample data.
This should include what you've tried so far.
Please help us help you.
June 23, 2009 at 12:10 pm
Please provide some sample data together with your expected result.
For posting xml data please use [ code="xml" ] tag (with spaces removed) around your sample data.
Other than that, please see...
June 23, 2009 at 12:01 pm
Hi Steve,
as per the information you provided I can't really see the performance gain of a tree based solution. What would it look like?
If I understood you right then I...
June 23, 2009 at 11:53 am
Thank you for posting the results!
Since they are almost equal I'm wondering what the execution plans would look like...
Would you mind posting the actual execution plan for both options (saved...
June 23, 2009 at 10:00 am
I'm not sure if you need that job because you get data that often or if you just have to react "immediately" in case of some external events.
If it's the...
June 22, 2009 at 2:27 pm
Great you found a solution that worked for you. But which one was it?
June 22, 2009 at 2:23 pm
You don't need the subselect:
SELECT
ACCT_DEBTOR,
MAX(Case WHEN OCCURRENCE=1 THEN LANDLINE_CONTACT_NO ELSE null END) AS LandLineNumber1,
MAX(Case WHEN OCCURRENCE=2 THEN LANDLINE_CONTACT_NO ELSE null END) AS LandLineNumber2,
MAX(Case WHEN OCCURRENCE=3 THEN LANDLINE_CONTACT_NO ELSE null...
June 22, 2009 at 2:16 pm
I'd collect the data in a comma separated list (comma on fixed position, e.g. every 10th character) up to a size of approx. 4k (resulting in 400 values), pass that...
June 22, 2009 at 2:01 pm
Viewing 15 posts - 5,206 through 5,220 (of 5,502 total)