Subject | Re: [firebird-support] Array's |
---|---|
Author | Olivier Mascia |
Post date | 2004-01-22T11:49:28Z |
Dear,
On Thu, 22 Jan 2004 13:26:33 +0200,
Uwe Oeder wrote :
DinnerFoods INTEGER [10],
But keep your eyes on Nando and Lester comments.
The case you expose has probably a much better solution with a detail
table.
--
Best Regards,
Olivier Mascia
On Thu, 22 Jan 2004 13:26:33 +0200,
Uwe Oeder wrote :
> How would I create a table with an array ?No, like this :
>
> CREATE TABLE DinnerCalculations
> (
>
> DinnerID INTEGER NOT NULL,
> DinnerName VARCHAR(100) NOT NULL ,
> DinnerType SMALLINT NOT NULL ,
> DinnerFoods ARRAY OF INTEGER ,
>
> PRIMARY KEY (DinnerID)
>
> ) ;
DinnerFoods INTEGER [10],
But keep your eyes on Nando and Lester comments.
The case you expose has probably a much better solution with a detail
table.
--
Best Regards,
Olivier Mascia