Skip to main content
Filter by
Sorted by
Tagged with
4 votes
4 answers
984 views

Our company has been for a while looking at a file format to hold a large amount of lab sensor data. Each time they run the instrumentation, it generates a file, which we consume and store in a ...
mcauthorn's user avatar
  • 598
2 votes
4 answers
2k views

I have 5 tables in a L2S Classes dbml : Global >> Categories >> Sub-Category >> Item >> Item Data. I want to be able to navigate from the Global table down a tree like structure to get to the items - ...
Breadtruck's user avatar
  • 2,123
1 vote
2 answers
722 views

I'm using Access 2003 VBA to process recursive data for manufacturing BOMs. I built a class module to let my main tables have static scope. This seems to simplify recursion -- it sets me free from ...
Smandoli's user avatar
  • 7,059
0 votes
2 answers
2k views

I have a number of distinct items stored in different MySQL tables, which I'd like to put in a tree hierarchy. Using the adjacency list model, I can add a parent_id field to each table and link the ...
user avatar
1 vote
2 answers
2k views

I am attempting what I think is a rather simple databinding scenario with Linq To SQL. I have a table of FacultyMembers, whose schema looks something like this: FacultyMemberID - int PK Name - ...
JoshJordan's user avatar
1 vote
2 answers
8k views

I have a tree view control which I have to bind a dataset with multiple data tables in it, and have relations between them. can you suggest how can I do that, I have tried many ways but none of them ...
Utkarsh's user avatar
  • 622
24 votes
3 answers
7k views

Can someone illustrate how I can store and easily query hierarchical data in google app engine datastore?
MathOldTimer's user avatar
  • 1,331
4 votes
2 answers
2k views

Is it possible to sum hierarchical data using .NET's LINQ? My data class looks like this: class Node { public decimal Amount; public IEnumerable<Node> Children { get; set; } } So I ...
Jan Aagaard's user avatar
  • 11.2k
0 votes
4 answers
12k views

I'm working with mySQL, and I'm in a situation where I need to select data from one table that matches an ID at any level in parent -> child data hierarchy in the other table. Further more, I would ...
user avatar
2 votes
5 answers
25k views

I have a hierarchical query to track a reporting structure. This almost works, except that it's not reporting the very top level node, probably because the top-level people "report" to themselves. ...
chris's user avatar
  • 37.6k
4 votes
4 answers
2k views

I've got an array with data from a MySQL table in nested set model I'd like to get sorted, not only alphabetical but also with the child nodes directly after the parent node. Example - array to be ...
Ivar's user avatar
  • 4,402
0 votes
1 answer
2k views

I have an external datasource that implements IHierarchicalEnumerable. I'm trying to use that datasource for my TreeView, but I can't find a way to specify the images and individual navigation urls ...
Luk's user avatar
  • 5,541
0 votes
5 answers
4k views

Duplicate: SQL - how to store and navigate hierarchies If I have a database where the client requires categories, sub-categories, sub-sub-categories and so on, what's the best way to do that? If ...
johnny's user avatar
  • 19.9k
3 votes
4 answers
5k views

I've looked at Managing Hierarchical Data in MySQL, but it really only deals with adding and deleting nodes in a Nested Set Model. I need to be able to move nodes with and without child nodes. How ...
user avatar
3 votes
3 answers
3k views

Essentially, I want the user to be able to define a hierarchical model, but then I need to allow the user to store data within their defined model. Does this make sense? So the users will be able to ...
ninesided's user avatar
  • 23.3k
8 votes
3 answers
13k views

I have a MySQL database table with this structure: table id INT NOT NULL PRIMARY KEY data .. next_id INT NULL I need to fetch the data in order of the linked list. For example, given ...
strager's user avatar
  • 90.3k
2 votes
2 answers
2k views

I'm not aware how deep my tree will be. So I think the NSM is fit for me, reading some docs. In sql, this model suppose I'm using an integer value as primary key. I thought to create a twin table only ...
1 vote
3 answers
5k views

I have an AdvancedDataGrid (ADG) with a HierarchicalData dataProvider: <mx:AdvancedDataGrid xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{__model.myHierarchicalData}" ...
Eric Belair's user avatar
  • 10.7k
12 votes
6 answers
18k views

I know there are two approaches: adjacency list and nested tree. It's said that adjacency list can become slow to use on traversal because of numerous queries. But I don't know any realistic figures ...
user avatar
201 votes
21 answers
129k views

I have a bunch of objects in a flat structure. These objects have an ID and a ParentID property so they can be arranged in trees. They are in no particular order. Each ParentID property does not ...
Costo's user avatar
  • 5,970
2 votes
3 answers
25k views

What's the best way to: Get the data from the db using a single query Loop through the results building e.g. a nested unordered list My table has id, name and parent_id columns. Here's an update to my ...
meleyal's user avatar
  • 33.5k
13 votes
4 answers
33k views

I have db table with parent child relationship as: NodeId NodeName ParentId ------------------------------ 1 Node1 0 2 Node2 0 3 Node3 1 4 ...
Programmer's user avatar
59 votes
9 answers
41k views

I'm thinking the answer is no, but I'd love it it anybody had any insight into how to crawl a tree structure to any depth in SQL (MySQL), but with a single query More specifically, given a tree ...
Cameron Booth's user avatar

1
38 39 40 41
42