|
|
[admin@forum2 admin]$ sql
SQL*Plus: Release 10.2.0.2.0 - Production on Tue May 16 15:12:32 2006
Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
With the Partitioning, Real Application Clusters and Data Mining options
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Prod
PL/SQL Release 10.2.0.2.0 - Production
CORE 10.2.0.2.0 Production
TNS for Linux: Version 10.2.0.2.0 - Production
NLSRTL Version 10.2.0.2.0 - Production
SQL>
SQL> declare
2 strPPState varchar2(10);
3 begin
4 select max(('')) into strPPState from dual;
5 --dbms_output.put_line(to_char(strPPState));
6 dbms_output.put_line(strPPState);
7 end;
8 /
PL/SQL procedure successfully completed.
SQL> |
|