drop table Table_name cascade constraints;

解决方案 »

  1.   

    INSERT INTO "SCOTT"."WS_S" (TIME ,MH_1 ) 
    VALUES (2002-02-03 12:00:00 ,3 )
      

  2.   

    RA-06551 PL/SQL: Unhandled exceptionORA-06552 PL/SQL: stringORA-06553 PLS-string: stringORA-06554 package DBMS_STANDARD must be created before using PL/SQLCause: The DBMS-specific extensions to PL/SQL's package STANDARD are in package DBMS_STANDARD. This package must be created before using PL/SQL.Action: Create package DBMS_STANDARD. The source for this PL/SQL stored package is provided with the distribution.
      

  3.   

    to benxie(峰之枫):
    这是什么意思啊?
    这个表里我有一个时间字段,在表数据编辑器里时间字段写入2002-02-03 10:00:00(如上语句)
    应用后老是提示ORA-00917:缺少逗号
    不知道不能删除是不是和这个有关?
      

  4.   

    时间字段不能直接插入,需要转换 to_date(string,format)
      

  5.   

    另有,最好把你的standard包重新编译一下
      

  6.   

    to developer2002(开发者2002)
     1.处理都这么麻烦,一般情况是不是直接把时间字段改成字符型会更好?
     2.初学oracle,不知道什么是standard包?
      

  7.   

    当然不是了,oracle时间日期是要通过to_char,to_date这个两个函数
    来相互转化的!
      

  8.   

    如果用日期型,在插入时每个时间值都要加上to_date
    那还不如就用字符型,等要取数据的时候再把相应的数据用to_date转换回来