是啊
我试过了
create type ent(
id integer,
name char(10));
怎么会不行呢?

解决方案 »

  1.   

    create or replace type ent as object(
    id integer,
    name char(10));
    /
      

  2.   

    倒是可以定义已有类型的子类型:
    SUBTYPE subtype_name is base_type
      

  3.   

    不是要创建对象,只用来定义一种新的类型呀
    我看oracle 使用指南上是这样讲的,但是在sql*plus中不能通过
      

  4.   

    请问,SQL*PLUS返回底提示信息是什么??
      

  5.   

    呵呵,问题解决了
    create type ent as object(
    id integer,
    name char(10));
    ok!
    thanks all!
      

  6.   

    oh my god!
    好象还是不行那
    提示
    ORA-00439: 未启用功能Objects
      

  7.   

    用oracle安装盘选择自定义安装试试能不能补上对象选件。