摘要:
实际应用中我们可以通过sum()统计出组中的总计或者是累加值,具体示例如下: 1.创建演示表 create table emp as select * from scott.emp; alter table emp add constraint emp_pk primary key(empno); 阅读全文
posted @ 2022-05-18 22:03
gangqin
阅读(262)
评论(0)
推荐(0)
摘要:
一个非常好的ORACLE的分页SQL语句 select * from (select my_table.*, rownum as my_rownum from ( select yhbh, yhmc from yysf_tb_yonghxx order by yhbh) my_table where 阅读全文
posted @ 2022-05-18 22:02
gangqin
阅读(529)
评论(0)
推荐(0)
摘要:
本函数可以将“目标字符串”以“指定字符串”进行拆分,并通过表结构返回结果。代码如下: CREATE OR REPLACE TYPE str_split IS TABLE OF VARCHAR2 (4000); CREATE OR REPLACE FUNCTION splitstr(p_string 阅读全文
posted @ 2022-05-18 21:57
gangqin
阅读(804)
评论(0)
推荐(0)

浙公网安备 33010602011771号