|
Posted by asdf on 12/05/07 22:39
"Mikhail Kovalev" <mikhail_kovalev@mail.ru> wrote in message
news:82298e14-74e0-4d52-bc32-805b5c562ee4@d27g2000prf.googlegroups.com...
>I mean, I don't mind using MySQL in itself, it's just that I don't
> want use relational db's.
> I don't know if it is possible to predefine the structures I'm using
> in MySQL, because the number of levels varies etc.
> Here is an example recording a single sequence of 6 elements:
>
> How do I put this in a db?
>
> array (
> 0 =>
> array (
> 0 => 2,
> 1 =>
> array (
> 1 =>
> array (
> 0 => 1,
> 1 =>
> array (
> ),
> ),
> 2 =>
> array (
> 0 => 1,
> 1 =>
> array (
[snip]
Check this out: http://www.ibase.ru/devinfo/DBMSTrees/sqltrees.html
Google this:
http://www.google.com.au/search?hl=en&q=Joe+Celko+%27hierarchies%27&btnG=Search&meta=
Good ol' Joe Celko. Pity I lost my 'SQL for Smarties' book :((
Navigation:
[Reply to this message]
|