1. 这个结果会是什么?
SELECT 2 ---1 from dual;
提示:要是按照“有趣的sql(1)”的思路,有可能会犯错误的!
2. 这个有错吗?
select sysdateREMARK from dual;
3. 这个呢?
create or replace/* hello */procedure helloasbeginnull;end;/
4. 还有这些:
SELECT ''''Y'''' FROM DUAL; -- Testing
select sysdate-- comment;from dual;
注:1.为自编。 2.3.4 摘自SQL*Plus User''''s Guide and Reference
Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved. 闵涛 E_mail:admin@mintao.net(欢迎提供学习资源)
鄂公网安备 42011102001154号
站长:MinTao ICP备案号:鄂ICP备11006601号-18