有爱的天空,处处都是暖阳阳的。

博客园 首页 新随笔 联系 订阅 管理

2011年4月13日 #

摘要: 看到了很有一些很有意思的例子,拿出来分享一下 所有的一切源于一个实验,在ORA数据库下 Sql代码 createtablet(aint,bint);insertintotvalues(2,3);select1fromt;create table t (a int ,b int); insert into t values(2,3); select 1 from t; 结果: title: 1 value: 1 Sql代码 select0fromt; 结果: title: 0 value: 0 在表a中多插入几行,比如,又插入3行,值随便取,再使用select 1/0 查询,返回的title还是 阅读全文
posted @ 2011-04-13 17:16 荣耀轩辕 阅读(4963) 评论(0) 推荐(0) 编辑