![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 495 阅读 · 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 · 178 阅读 · 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 · 66 阅读 · 0 评论