SQL
xyl98
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
PLSQL中如何简单地使用字符串数组
DECLARE --区域ID areaId bss_sys.seq_config.area_id%type; --定义一个字符串数组类型 TYPE tableNamesArray IS TABLE OF bss_sys.seq_config.table_name%type; --id号 id bss_sys.seq_config.id%type; maxId bss_sys.seq...2009-10-15 17:01:25 · 568 阅读 · 0 评论 -
SQL Server Oracle中空置的判断及替换函数
sql server 替换null:isnull(arg,value) 如:select isnull(price,0.0) from orders ,如果price为null的话,用0.0替换 与null比较: is not null,is null 如 select * from orders where price ...2009-10-17 11:19:45 · 250 阅读 · 0 评论 -
left join right join inner join 区别和联系
[b]1、总论:[/b] LEFT JOIN返回”first_table”中所有的行尽管在” second_table”中没有相匹配的数据。 RIGHT JOIN返回”second_table”中所有的行尽管在”first_table”中没有相匹配的数据。 INNER JOIN返回的结果集是两个表中所有相匹配的数据。 [b]2,分解:[/b] 还是用一个例子来的痛快些。。。 ...原创 2009-02-18 14:47:47 · 108 阅读 · 0 评论
分享