![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am developing a database system that will allow users to store any object whatsoever in a database. Usually a database has predefined tables and fields. What I need, is a table that basically has any field. So I want to be able to say, INSERT INTO objects (type, name) VALUES ('person', 'John') INSERT INTO objects (type, name, num_employees) VALUES ('company', 'Apple', '10.000') INSERT INTO objects (type, name, color) VALUES ('fruit', 'banana', 'yellow') And that without defining the table columns. I just want to be able to *use* those columns, they can default to varchar. That's the kind of flexibility I need. Any ideas in this direction? Anything is appreciated. Someone must have tried this before. |
#3
| |||
| |||
|
|
Hello! I am developing a database system that will allow users to store any object whatsoever in a database. Usually a database has predefined tables and fields. What I need, is a table that basically has any field. So I want to be able to say, INSERT INTO objects (type, name) VALUES ('person', 'John') INSERT INTO objects (type, name, num_employees) VALUES ('company', 'Apple', '10.000') INSERT INTO objects (type, name, color) VALUES ('fruit', 'banana', 'yellow') And that without defining the table columns. I just want to be able to *use* those columns, they can default to varchar. That's the kind of flexibility I need. Any ideas in this direction? Anything is appreciated. Someone must have tried this before. Thanks, Bob |
#4
| |||
| |||
|
|
I am developing a database system that will allow users to store any object whatsoever in a database. |
#5
| |||
| |||
|
|
Hello! I am developing a database system that will allow users to store any object whatsoever in a database. |
#6
| |||
| |||
|
|
herbasher wrote: Hello! I am developing a database system that will allow users to store any object whatsoever in a database. Oh yea. Go to http://asktom.oracle.com/pls/asktom/...7400037023::NO get fourth doc (worst practices) and read it. Gints Plivna http://www.gplivna.eu |
#7
| |||
| |||
|
|
"Gints Plivna" <gints.pli... (AT) gmail (DOT) com> wrote in message news:1178894405.356588.5970 (AT) w5g2000hsg (DOT) googlegroups.com... herbasher wrote: Hello! I am developing a database system that will allow users to store any object whatsoever in a database. Oh yea. Go tohttp://asktom.oracle.com/pls/asktom/f?p=100:8:4232687400037023::NO get fourth doc (worst practices) and read it. Gints Plivna http://www.gplivna.eu In addtion, it may be time to revive "stupid dtatabase tricks" from comp.databases.theory about 3 years back. |
#8
| |||
| |||
|
|
On May 11, 3:50 pm, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote: "Gints Plivna" <gints.pli... (AT) gmail (DOT) com> wrote in message news:1178894405.356588.5970 (AT) w5g2000hsg (DOT) googlegroups.com... herbasher wrote: Hello! I am developing a database system that will allow users to store any object whatsoever in a database. Oh yea. Go tohttp://asktom.oracle.com/pls/asktom/f?p=100:8:4232687400037023::NO get fourth doc (worst practices) and read it. Gints Plivna http://www.gplivna.eu In addtion, it may be time to revive "stupid dtatabase tricks" from comp.databases.theory about 3 years back. Well I know I am going against holy cows here, but gotta solve my problem: storing any object whatsoever efficiently. I don't need any joins. |
#9
| |||
| |||
|
|
"herbasher" <rob... (AT) gmail (DOT) com> wrote in message news:1178984564.869369.156310 (AT) q75g2000hsh (DOT) googlegroups.com...> On May 11, 3:50 pm, "David Cressey" <cresse... (AT) verizon (DOT) net> wrote: "Gints Plivna" <gints.pli... (AT) gmail (DOT) com> wrote in message news:1178894405.356588.5970 (AT) w5g2000hsg (DOT) googlegroups.com... herbasher wrote: Hello! I am developing a database system that will allow users to store any object whatsoever in a database. Oh yea. Go tohttp://asktom.oracle.com/pls/asktom/f?p=100:8:4232687400037023::NO get fourth doc (worst practices) and read it. Gints Plivna http://www.gplivna.eu In addtion, it may be time to revive "stupid dtatabase tricks" from comp.databases.theory about 3 years back. Well I know I am going against holy cows here, but gotta solve my problem: storing any object whatsoever efficiently. I don't need any joins. Holy cow, Batman! Why are you storing the data in a database, rather than a file? |
#10
| |||
| |||
|
|
Well I know I am going against holy cows here, but gotta solve my problem: storing any object whatsoever efficiently. |

|
I don't need any joins. And you have chosen comp.databases forum because?... |
How the old proverb was? Something like:
![]() |
| Thread Tools | |
| Display Modes | |
| |