Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Q:Table designing issue?
Hi,
I was given a flat file which contains metadata about multimedia objects
(video, audio,
image and text). The file structure is created in C using nested
"struct". I was
asked to create new tables in Oracle database and to move the metadata
from the
flat file into the tables. So applications can retrieve the meta-data
directly from
a database. The structure within the flat file looks like
struct {
struct {
unsigned char attribute1; unsigned char attribute2; unsigned char attribute3; unsigned char attribute4;
struct {
unsigned long rate1; unsigned long rate2;
struct {
unsigned char attribute5; unsigned char attribute6; unsigned char attribute7; unsigned char attribute8;
unsigned char flag;
char comments[256];
} asset;
My question is: how do I convert the above file structures to a table(s)?
Many thanks
Xuening Sun
--Received on Mon Nov 13 2000 - 13:03:31 CST
![]() |
![]() |