Chapter -02 Declaring PL/SQL Variables - 01
2013-04-18 10:53
330 查看
Objectives
After completing this lesson,you should be able to do the followingRecognize valid and invalid identifies.
List the uses of variables.
Declare and initialize variables.
List and descible various data types.
Indentify the benefits of using the %TYPE attribute.
Declare,use and print bind variables.
Use of Vaiables
Variables can be used for:Temporary storage of data
Manipulation of stored values
Reusability
Demo 02
DECLARE v_myName VARCHAR2(20) := 'John'; BEGIN v_myName := 'Steven'; DBMS_OUTPUT.PUT_LINE('My name is : ' || v_myName); END; /
相关文章推荐
- Chapter -02 Declaring PL/SQL Variables - 02
- [bbk4979]第06集 - Chapter 04- Interacting with Oracle Database Server:SQL Statements in PL/SQL Programs(01)
- Chapter -01 Introduction to PL/SQL
- [bbk4980]第07集 - Chapter 04- Interacting with Oracle Database Server:SQL Statements in PL/SQL Programs(02)
- ORA-06502 assigning values from SQL to PL/SQL variables
- PL/SQL 注意 01
- 01.在PL/SQL中调用存储过程--oracle
- 获取一个年份、月份、一段时间的年月份sql,例如从某年到今年的时间段2017-01、2017-02
- Chapter -00 Overview to PL/SQL
- PL/SQL学习笔记_01_基础:变量、流程控制
- pl/sql 实例解析 01
- Oracle PL/SQL Variables
- oracle(02): PL/SQL基本概念,关系运算符,顺序结构,分支结构,循环结构
- [bbk2300] 第43集 - Chapter 11-SQL Statement Tuning(02)
- Oracle10g学习之路-PL/SQL Developer-01
- PL/SQL-01
- [bbk2229] 第42集 - Chapter 11-SQL Statement Tuning(01)
- PL/SQL 设置01
- PL/SQL学习笔记_02_游标
- PL/SQL教程(二)Data&Variables