摘要:
--通过用户ID,查找出名字,以及城市 create or replace procedure testp1(my_id in tt3.id%type,my_user_name out tt3.user_name%type,my_city out tt3.city%type) as begin se 阅读全文
摘要:
1.条件呢? --Basic loop ... end loop; declare i number:= 1; begin i:=100; loop i:= i + 1; dbms_output.put_line(i); if i>10 then exit; end if; end loop; en 阅读全文
摘要:
if (分3类) java if (条件) { .... } pl/sql if 条件 then ..... end if; select * from tt3 select age from tt3 where id=1 declare myage tt3.age%type; begin sele 阅读全文
摘要:
select * from tt3 -- 20年后多少岁 declare age tt3.age%type; dif tt3.age%type; begin select age into age from tt3 where id=1; dif := 20; -- 设置一个年龄差 age:= ag 阅读全文
摘要:
--1.778秒 select sum(id) from t_user -- cpu (多线程执行) --1.778秒 --1.847秒 select /*parallel(a,4)*/ sum(id) from t_user a create view t_myuser as select ooo 阅读全文
摘要:
select rowid,id,display,key_value,key_type,lang from oa.dicts -->>物理层面的 --从物理层面上提速 --一、内存的提升 --修改SGA alter system set sga_max_size=4096M scope=spfile; 阅读全文