摘要:
例子: create or replace procedure p_xl is v_count NUMBER(10); begin for rs in(select yhbh from dbyh) loop v_count := osm_pkg_arc_limited_configs.F_LIMIT 阅读全文
摘要:
方法一: delete from dbyh where yhbh in(select yhbh from dbyh group by yhbh having count(*)>1) androwid not in (select min(rowid) from dbyh group by yhbh 阅读全文
摘要:
1.查出含有空格或换行符的行 select id from osm_t_arc_contacts x where instr(x.address, chr(10) )> 0 or instr(x.address,chr(13))>0; 2.去掉update osm_t_arc_contacts se 阅读全文
摘要:
create table tb_student( id NUMBER(10) not null, createtime DATE not null, constraint PK_tb_student primary key (id) 主键约束); 注释comment on table tb_stud 阅读全文
摘要:
SQL中的单记录函数1.ASCII返回与指定的字符对应的十进制数;SQL> select ascii('A') A,ascii('a') a,ascii('0') zero,ascii(' ') space from dual; A A ZERO SPACE 65 97 48 32 2.CHR给出整 阅读全文