Drakkon
Diamond Member
I want to createa a psuedo-structure in a DB making it so items can be categorized in folders like it would on a computer.
Now I'm thinking i could store things in a structure like:
FOLDER
---------
FOLDER_ID
FOLDER_NAME
ITEM
---------
ITEM_ID
FOLDER_ID
ITEM_NAME
and then folder name would be things like: Root/FOLDER1/, Root/FOLDER2, Root/FOLDER1/SOMEOTHERFOLDER
anc could keep create subfolders this way.
So is this the way most do things like this or am i way off? I've never done anything like this - just utilize the file system or have a set number of "sub" cetegories so i could be totally off my rocker.
Now I'm thinking i could store things in a structure like:
FOLDER
---------
FOLDER_ID
FOLDER_NAME
ITEM
---------
ITEM_ID
FOLDER_ID
ITEM_NAME
and then folder name would be things like: Root/FOLDER1/, Root/FOLDER2, Root/FOLDER1/SOMEOTHERFOLDER
anc could keep create subfolders this way.
So is this the way most do things like this or am i way off? I've never done anything like this - just utilize the file system or have a set number of "sub" cetegories so i could be totally off my rocker.