oldwain随便写
===========================================================
===========================================================
更多的跟注释有关的有趣的sql。

1. 这个结果会是什么?

SELECT 2 --
-1 from dual;

提示:要是按照“有趣的sql(1)”的思路,有可能会犯错误的!

 

2. 这个有错吗?

select sysdate
REMARK from dual;

 

3. 这个呢?

create or replace
/* hello */
procedure hello
as
begin
null;
end;
/

4. 还有这些:

SELECT 'Y' FROM DUAL; -- Testing


select sysdate
-- comment;
from dual;

注:1.为自编。 2.3.4 摘自SQL*Plus User's Guide and Reference

(需要引用, 请注明出处: http://oldwain.itpub.net)

oldwain 发表于:2004.08.04 10:33 ::分类: ( Oracle ) ::阅读:(2093次) :: 评论 (0) ::收藏此页到365Key

发表评论
标题

在此添加评论
表情符号: smile laughing tongue angry crying sad wassat wink

称呼

邮箱地址(可选)

个人主页(可选)

 authimage


自我介绍
切换风格
新闻聚合
博客日历
文章归档...
最新发表...
最新评论...
最多阅读文章...
最多评论文章...
博客统计...
Blog信息
赞助商
网站链接...
其它资源
我的网摘...