DBMS_RLS is only available with the Enterprise Edition.
—————————————————————
同是天涯沦落人,相逢何必曾相识。

解决方案 »

  1.   

    to jiezhi(西域浪子):
    我用的就是Enterprise Edition.Oracle8i Enterprise Edition Release 8.1.7.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.0.0 - Production
      

  2.   

    your function "user_gate" is not correct and can not work.
    read Oracle8i Supplied PL-SQL Packages Reference and rewrite your
    founction. 
    —————————————————————
    同是天涯沦落人,相逢何必曾相识。