in oracle store procedure the select statements like "select col from table where ..." are not allowed.
you should be including in "into" like this:
"select col into v_clo from table where ..."look into some pl/sql reference book.

解决方案 »

  1.   

    存储过程必须用SELECT……FROM……INTO格式
      

  2.   

    存储过程必须用SELECT……FROM……INTO格式
    如果要查多条记录,那就要用游标
      

  3.   

    靠,存储过程里面不能单独执行一个查询操作,如果一个单独查询,你想你查询的结果集让它返回到哪里去?只能执行象delete ,intert ,update 等操作语句.