Viewing 15 posts - 4,486 through 4,500 (of 5,504 total)
What is the business rule for the values for Introducer,LeftMember, and RightMember?
Yor sample do not show an "easy" pattern...
Example: ID=2 has Introducer=10 but is LeftMember of ID=1.
Edit: Thank your...
January 17, 2010 at 9:06 am
Several issues:
1) please provide sample data in a ready to use format
2) include expected result set
3) show us what you've tried so far and where you get stuck
For details reagarding...
January 17, 2010 at 6:28 am
christian.rosberg (1/16/2010)
...1. Is there an easy way to get the resultset I'd like, based on the table design I currently have?
2. Would you prefer an alternate table design?
Question 1:
Yes...
January 16, 2010 at 3:22 am
Bill Talada (1/15/2010)
January 15, 2010 at 4:45 pm
Like I said in my previous post:
You have TEXT data type for Nome(text,null) and Empresa(text,null).
It seems like there is some confusion what that data type really is supposed to be...
January 15, 2010 at 4:28 pm
Bill Talada (1/15/2010)
If t-sql supported arrays, I would have implemented a gnarly shaped maze of walls and partial dividers and the robot would have adapted beautifully.
How would you define a...
January 15, 2010 at 4:01 pm
Nicholas Cain (1/15/2010)
January 15, 2010 at 2:44 pm
Since FLOAT is an approximate-number data type, the character length may vary, therewith exceeding the VARCHAR(10) limit.
You need to get the value converted to a "known length".
Either one of...
January 15, 2010 at 1:01 pm
I would create a view on SQL Server side that transforms the xml data into a table and query the view.
You could also use that statement directly inside SSRS to...
January 15, 2010 at 12:34 pm
I used Google with "ssis pivot transformation" which brought this site[/url] back as the first hit.
Seems to answer your question....
January 15, 2010 at 9:13 am
It would help a lot if you could at least post the complete error message (including error message number). Even better if you could post your table definition.
I'd guess one...
January 15, 2010 at 5:01 am
Jeff Moden (1/14/2010)
shaini.binu (1/14/2010)
January 15, 2010 at 12:32 am
Something like this? (Please note how I set up the sample date to be ready to use for others...)
Even though SQL Server has several ways of getting your requested results,...
January 14, 2010 at 4:53 pm
I thought about applying the concept of a hierarchical CTE (aka recursive CTE, see BOL for details). Basically, I would have used the smaller ID per row as "manager" and...
January 14, 2010 at 4:39 pm
Would you mind sharing the business case that would use such a strange data structure?
Regarding your requirement:
Am I right that you'd need to start a new group as soon as...
January 14, 2010 at 12:42 pm
Viewing 15 posts - 4,486 through 4,500 (of 5,504 total)