Viewing 15 posts - 5,071 through 5,085 (of 5,504 total)
Hi,
you could use something along those lines:
SELECT DISTINCT
c.value('@Id[1]','varchar(30)') AS FeatureID,
c.value('ReadPermission[1]','varchar(30)') AS ReadPerm,
c.value('WritePermission[1]','varchar(30)') AS WritePerm
FROM @FeatureList.nodes('Features/Feature') AS T(c)
/* result set:
FeatureIDReadPermWritePerm
6a698c85-4e95-4827-87b4-6eb4d7"true""false"
*/
August 14, 2009 at 3:47 pm
In that case I'd assume you're doing some kind of grouping with the data.
I'd recommend to do the aggregation on SQL Server side and select the aggregated data into SSRS....
August 13, 2009 at 1:32 pm
Hi Trudye,
it would help a lot if you could set up some sample data (DDL for table, insert statement for samples), the expected result based on the sample data and...
July 30, 2009 at 11:39 am
I consider cursors as a last resort: If I can't find any other way to get the task completed with a "column based" solution I still have the RBAR (=...
July 29, 2009 at 3:51 pm
APARNA (7/28/2009)
Thanks a Ton. The case statement proved very useful and the CROSS APPLY as well.
You're very welcome!
If it is a standard from w3org should it not recognize that...
July 29, 2009 at 1:00 pm
Hi Vishal,
you might want to provide DDL for the table together with some sample data and your expected result. This will help us to help you.
Please see the link in...
July 28, 2009 at 1:42 pm
Sharmin Jose (7/28/2009)
Once again, thank you so much for your helps....
Well, there wasn't that much I did other than posting a link. 😉 You did the major stuff all by...
July 28, 2009 at 1:13 pm
Hi aparna,
the problem is within your xml data:
availVotesPerIssuedCapital xsi:nil="true" xmlns:xsi="abcde.com"
votesAgainstPercAvailVotes xsi:nil="true" xmlns:xsi="abcde.com"
votesOpenPercAvailVotes xsi:nil="true" xmlns:xsi="abcde.com"
votesForPercAvailVotes xsi:nil="true" xmlns:xsi="abcde.com"
Those elements are part of a typed element structure, which normally is used with a...
July 28, 2009 at 12:59 pm
Hi Lynn,
I wish Kassondra all the best and I hope she'll be always stationed in safe areas!
July 27, 2009 at 3:24 pm
Are you sure you'll use DTS packages?
Reason for asking:
You posted in the SQL2005 forum. In that case you need to use SSIS.
If you're on SQL2000 you should ask the site...
July 27, 2009 at 2:24 pm
three links I'd recommend to look into:
http://www.sqlservercentral.com/Forums/FindPost417131.aspx, and
http://articles.techrepublic.com.com/5100-10878_11-6140404.html
I, personally, moved from OpenXML to XQuery for the following reason:
I can store xml data as xml type in the database (if I...
July 27, 2009 at 12:48 pm
From my experience the fastes way would be using BCP with indexes of the target table disabled (unless the source file is already in the right order or there are...
July 26, 2009 at 12:32 pm
You don't "have to".
There are -almost- always alternatives.
Maybe this blog describes an alternative for you.
July 25, 2009 at 12:43 pm
Viewing 15 posts - 5,071 through 5,085 (of 5,504 total)