`
fantaxy025025
  • 浏览: 1278778 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类

Oracle_PL_SQL_ERROR:component 'PUTLINE' must be declared

阅读更多

For the first PL/Sql I caught an error below:

 

DECLARE
    l_start_date date;
BEGIN
    l_start_date := '29-SEP-10';
    dbms_output.putline(l_start_date);
    --dbms_output.put_line ('hello world!');
END;

 

ERROR at line 5:
ORA-06550: line 5, column 14:
PLS-00302: component 'PUTLINE' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored

 

As you see the dbms_output.put_line works!

 

I use the edition: 10.2.0 from oracle.com.

Well the method putline cannot work!

Use put_line replaced .

 

Thanks for the author: http://www.bluepenguin.co.uk/BookShelf/Oracle_PLSQL/advprog/ch15_04.htm

 

 

O

O

O

O

O

O

 

 

 

分享到:
评论
1 楼 lord_is_layuping 2011-04-09  
aha,我遇到同样问题了啊

相关推荐

    ORACLE DBMS STATS ERROR

    - `PLS-00302: component 'IS_STATS_FROM_UPGRADE' must be declared` - `ORA-04063: package body "SYS.DBMS_REGISTRY_SYS" has errors` - `ORA-04063: package body "SYS.DBMS_STATS" has errors` 这些错误表明`...

    Python使用cx_Oracle调用Oracle存储过程的方法示例

    这里主要测试在Python中通过cx_Oracle调用PL/SQL。 首先,在数据库端创建简单的存储过程。 create or replace procedure test_msg(i_user in varchar2, o_msg out varchar2) is begin o_msg := i_user ||', Good ...

    curl编译cocos2dx不通过

    ios编译COCOS2DX时,有些版本会出现以下错误,'__curl_rule_01__' declared as an array with a negative size 只需把附件的CURL代码替换掉引擎的,再把SO库拉到工程中,即可解决这问题

    codeblocks中报错:'to_string' was not declared in this scope解决方案

    在Code::Blocks中遇到“'to_string' was not declared in this scope”的错误,通常是由于编译器版本过低或者没有包含正确的头文件所导致的。`std::to_string`是C++11标准引入的一个函数,用于将数字转换为字符串。...

    faac-1.28.diff

    faac报错mpeg4ip_win32.h:70:36: error:'_TRUNCATE' was not declared in this scope ret = vsnprintf_s(buffer, count, _TRUNCATE, format, ap); mpeg4ip_win32.h:70:57: error:'vsnprintf_s' was not declared ...

    Protel DXP高级编辑技巧

    Protel DXP 提供了一些高级的编辑技巧用于满足设计的需要,主要包括放置文字、放置焊盘、放置过孔和放置填充等组件放置,以及包地、补泪滴、敷铜等 PCB 编辑技巧。生成Gerber文件和钻孔文件的一般步骤 。

    IOS cocos2dx编译的curl报错‘__curl_rule_01__'

    ios编译COCOS2DX时,有些版本会出现以下错误,'__curl_rule_01__' declared as an array with a negative size 只需把所有的.h文件替换掉引擎的,再把libcurl.a添加到工程中,即可解决这问题

    QtXlsx读写Excel工具

    QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写Excel工具QtXlsx读写...

    最常见的VC++编译错误信息_fatal_error

    11. Error C2509:'OnTimer' : member function not declared in 'CHelloView' 这是一个常见的编译错误,原因是成员函数“OnTimer”没有在“CHelloView”中声明。解决方法是检查成员函数的声明是否正确。 12. ...

    keil编译中的常见问题

    11. Error: #109: expression must have (pointer-to-) func 这个错误信息表明,编译器期望找到一个指针类型的表达式,但是没有找到。解决方法是,检查表达式的类型,确保它是一个指针类型。 解决 Keil 编译中的...

    Python错误: SyntaxError: Non-ASCII character解决办法

    SyntaxError: Non-ASCII character ‘\xe4’ in file ./common.py on line 2, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details  错误提示中给出了问题解决的连接,所以就点...

    适用于Ubuntu 20.04的opencv-3.3.1资源

    经过我的修改,解决了error: ‘CODEC_FLAG_GLOBAL_HEADER’ was not declared in this scope、error: ‘AVFMT_RAWPICTURE’ was not declared in this scope、error: invalid conversion from ‘const char*’ to ...

    linux php开启openssl拓展报错时候替换本机的openssl文件夹

    出现以下报错,替换/usr/...add_assoc_name_entry’:/data/src/php-5.6.23/ext/openssl/openssl.c:664: warning: ‘ASN1_STRING_data’ is deprecated (declared at /usr/local/include/openssl/asn1.h:553)/data/src/...

    MPU6500的DMP固件

    MPU6500是一款由InvenSense公司生产的六轴惯性测量单元(IMU),集成了三轴陀螺仪和三轴加速度计。它主要用于实现运动追踪和姿态估计,广泛应用于无人机、机器人、虚拟现实设备以及智能手机等领域。...

    php函数大全

    - **get_declared_classes**、**get_declared_traits**、**get_declared_interfaces**:获取声明的类、特质或接口。 - **get_defined_functions**、**get_defined_vars**:获取定义的函数或变量。 - **create_...

    PHP严重致命错误处理:php Fatal error: Cannot redeclare class or function

    错误消息“Cannot redeclare (a) (previously declared in (b)) in (c) on line (d)”显示了问题的具体细节,其中: - a: 重复定义的类或函数名。 - b: 第一次定义该类或函数的文件名称及行号。 - c: 第二次定义...

    20种VC++编译错误信息

    error C2509: 'OnTimer': member function not declared in 'CHelloView' **描述**:成员函数`OnTimer`未在类`CHelloView`中声明。 **解决方案**: - 在类`CHelloView`的声明中添加成员函数`OnTimer`。 - 确认成员...

    实验17 ADC实验.zip_PID pwm_declared8sr_pwm

    实验17 "ADC实验.zip_PID pwm_declared8sr_pwm" 是一个关于单片机控制的项目,主要涉及三个核心概念:PID(比例-积分-微分)控制器、PWM(脉宽调制)以及Declared8sr PWM。这个实验的目的是通过单片机产生PWM波形,...

    ibmcloud_schematics_bigip_multinic_declared:用于BIG-IP的IBM Schematics工作区模板,支持多个NIC和可下载的A&O声明

    使用目录映像创建F5 Networks BIG-IP:trade_mark:虚拟版实例 该目录包含Terraform模块,该模块使用用户输入的目录创建BIG-IP:trade_mark:VPC Gen2实例。 使用此模板通过Terraform或IBM Cloud Schematics,使用来自...

Global site tag (gtag.js) - Google Analytics