日期:2014-05-17 浏览次数:20797 次
sqlplus scott/scott@xxxxx @execuate.sql
SET AUTOPRINT ON
VARIABLE X VARCHAR2(100);
BEGIN
SELECT COUNT(1) INTO :X FROM EMP;
END;
/
SQL*Plus: Release 11.1.0.6.0 - Production on 星期一 1月 28 13:13:30 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
PL/SQL 过程已成功完成。
X
---------------------------------------------
14
已用时间: 00: 00: 00.00
13:13:30 ChenZw>