这里我有一个引用两个对象表的表,到目前为止没有错误:
CREATE TABLE venues (
venue_id NUMBER(6),
venue_name VARCHAR2(30),
address REF address_type SCOPE IS addresses,
venue_type REF venue_type SCOPE IS venue_table_type,
provision provision_table_type)
NESTED TABLE provision STORE AS provision_table;
但是,一旦我尝试使用此命令插入此表:
INSERT INTO venues (venue_id, venue_name, address, venue_type, provision)
VALUES (seq_venues.NEXTVAL, 'O2', address_type('PENINSULA SQUARE', 'LONDON', 'LONDON', 'SE10 0DX'),
venue_type(20000, 'A MULTI-PURPOSE INDOOR ARENA LOCATED IN THE CENTRE OF LONDON.'),
provision_table_type(
provision_type('BBQ'),
provision_type('RESTAURANTS'),
provision_type('TOILETS')));
我收到以下错误:
第2行的错误: 不一致的dataptypes:预期的REF SYS.ADDRESS_TYPE得到了SYS.ADDRESS_TYPE
我想我是不正确地插入引用的对象表,并且会对正确的方法提供一些指导。
由于
答案 0 :(得分:0)
<div>
<input type="checkbox" value="None" id="roundedOne" name="check" />
<label for="roundedOne">
<span>Checkbox 1</span>
</label>
</div>
<div>
<input type="checkbox" value="None" id="roundedTwo" name="check" />
<label for="roundedTwo">
<span>Checkbox 2</span>
</label>
</div>
<div>
<input type="checkbox" value="None" id="roundedThree" name="check" />
<label for="roundedThree">
<span>Checkbox 3</span>
</label>
</div>
<div>
<input type="checkbox" value="None" id="roundedFour" name="check" />
<label for="roundedFour"><span>Checkbox 4</span>
</label>
</div>
必须引用表格中的现有行。例如:
REF