PLS-00920: parameter plsql_native_library_dir is not set

今天编译一个数据库对象时,plsql报错:PLS-00920: parameter plsql_native_library_dir is not set,后来发现是plsql编译模式及设置问题,解决过程如下。

  1. 查询plsql属性

    show parameter plsql

    发现编译模式为NATIVE,且没有设置plsql_native_library_dir

  2. 更改PLSQL编译模式
    alter system set plsql_compiler_flags=INTERPRETED;

如上操作后,重新编译对象,无错误、警告发生。

因为用的不是sys用户,所以生效的只是当前session,仅能临时处理。

对了,数据库版本:10.2.0.5.0

时间: 2024-08-15 09:47:25

PLS-00920: parameter plsql_native_library_dir is not set的相关文章

ORA-00119: invalid specification for system parameter LOCAL_LISTENER

重启oracle是提示错误ORA-00119: invalid specification for system parameter LOCAL_LISTENER. 解决方法: 命令查看错误信息:oerr ora 00119 00119, 00000, "invalid specification for system parameter %s" // *Cause: The syntax for the specified parameter is incorrect. // *Ac

ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated

standby down了,所以重启报错,ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be  translated :?1,重启报错信息SQL> startup                                                                                                                              

HibernateSystemException: ordinal parameter mismatch

使用Hibernate + MySQL数据库,写HQL语句时,不要忘了不支持MySQL的limit 来自为知笔记(Wiz)HibernateSystemException: ordinal parameter mismatch,码迷,mamicode.com

bash shell parameter expansion

1 ${parameter%word}和${parameter%%word} ${parameter%word},word是一个模式,从parameter这个参数的末尾往前开始匹配.单个%进行最短匹配,也就是说,从后往前匹配,遇到了匹配成功立马停止. ${parameter%%word},word是一个模式,从parameter这个参数的末尾往前开始匹配.双%进行最长匹配,也就是说,从后往前匹配,遇到了匹配继续匹配,一直匹配到开头,找到最长的匹配. path=/home/mem/long.fil

spice model parameter

===================BSIM4.3.0 Model Selectors/Controllers============ LEVEL SPICE3 model selector VERSION Model version BINUNIT Binning unitr PARAMCHK Switch for parameter value check MOBMOD Mobility model RDSMOD Bias-dependent source/drain resistance

ORA-0019 invalid specification for system parameter LOCAL_LISTENER

SQL>startup ORA-00119:   invalid specification for system parameter LOCAL_LISTENER ORA-00130:   invalid listener address '(ADDRESS=(PROTOCOL=TCP) (HOST=bl660)(PORT=1521))' 数据库启动失败 解决办法: 在/etc/hosts里面加入主机名和IP即可

Attribute 和 Parameter 的区别

(1)HttpServletRequest类有setAttribute()方法,而没有setParameter()方法 (2)当两个Web组件之间为链接关系时,被链接的组件通过getParameter()方法来获得请求参数, (3)当两个Web组件之间为转发关系时,转发目标组件通过getAttribute()方法来和转发源组件共享request范围内的数据. 一般通过表单和链接传递的参数使用getParameter 通过request.setAttribute("name","

What is the Database Initialization Parameter That is Associated to an ORA-32004 Error ?

APPLIES TO: Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2]Information in this document applies to any platform.***Checked for relevance on 24-Jan-2012*** GOAL How to know which parameter is obsolete and/or de

错误代码: 1582 Incorrect parameter count in the call to native function 'str_to_date'

1. 错误描述 1 queries executed, 0 success, 1 errors, 0 warnings 查询:SELECT t.`name`, DATE_FORMAT(str_to_date('2015'), '%Y') as statisDate, ROUND(IFNULL(SUM(t.`amount`), 0), 3) AS ... 错误代码: 1582 Incorrect parameter count in the call to native function 'str