標籤:方法一、只需要將“序號”定義成公式,並將公式設定為:get_block_property(‘block_name‘,current_record)就可以實現了,或者把這行語句放到“When-Create-Record”觸發器中。缺點:增改刪時,行號不能自動重新整理。方法二、在block的三個觸發器中添加相應的代碼:Key-Crerec:DECLARE LINE NUMBER;BEGIN LINE :=
標籤:一、處理錯誤 1.當錯誤出現在Oracle Form PL/SQL中時,處理的方法如下:begin if (err_condition) then fnd_message.set_name(appl_short_name, message_name); fnd_message.error; raise form_trigger_failure; end if;end;2.當錯誤出現在Stored Procedure中時,處理的方法如下: begin if (err_
標籤:1、查詢oracle的串連數 select count(*) from v$session;2、查詢oracle的並發串連數 select count(*) from v$session where status=‘ACTIVE‘;3、查看不同使用者的串連數 select username,count(username) from v$session where username is not null group by username;4、查看所有使用者: select *
標籤:需求:項目中有一張表大概有7000多萬條資料,造成資料表空間已滿,需要清理部分資料,打算清理3000萬。 2B 做法:delete from table_name where ID > ‘40000000‘;備忘:select count(1) from table_name where ID > ‘his_batch_4000000‘;
標籤:1>建立一個ORACLE 的使用者 create user username identified by pws;2>給使用者授權 grant connect,resource to username; grant select on 表或視圖名 to username;注釋:在PLSQL中用 Select * from
標籤:oracle 安裝 圖形 報錯 原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必註明以下出處,否則追究著作權法律責任。深藍的blog:http://blog.csdn.net/huangyanlong/article/details/45021771linux7下安裝oracle12c不彈出圖形介面報錯:check if the