bluegargantua: (Default)
bluegargantua ([personal profile] bluegargantua) wrote2006-01-17 10:31 am
Entry tags:

Database geekery

Hey,

So I'm reading up on how you can use nested sets to model a tree structure in SQL.

It's really neat. I don't think I'll get to apply it to this particular problem at work, but it was like "ooh! fun with math and SQL queries!". And I'm sure it'll be useful in the future.

hee
Tom

[identity profile] purly.livejournal.com 2006-01-17 04:37 pm (UTC)(link)
That's cool. Actually, most indexes are already stored as some kind of a tree inside of the db; and clustered indexes are b-trees, regular indexes depend on the db system you're using. But then, the SQL standard is set up such that the db handles all the data manip for you and you use the structured query language to retrieve and store the data... It's not like you really need to define your own trees if you're using a good system.

[identity profile] purly.livejournal.com 2006-01-17 05:29 pm (UTC)(link)
Oracle XE is free:
http://www.oracle.com/technology/products/database/xe/index.html