OODB を使用していて、2 つのテーブルを使用してネストされたテーブルを作成しようとしました。ここにコードを投稿しています
create type BranchType as object(
address AddrType,
phone1 integer,
phone2 integer );
create table BranchTableType of BranchType;
create type PublisherType as object(
name varchar2(50),
addr AddrType,
branches BranchType);
コードは、ブランチ タイプごとにテーブル ブランチを作成し、タイプ Publisher Type を作成してから、ネストされたテーブルを作成しようとします。
create table Publishers of PublisherType NESTED TABLE
branches STORE as branchTable
ただし、上記のコードでは、指定された型がネストされたテーブル型ではないというエラーが発生します。私を助けてください。