唯一值檢查
eveloper體系架構的問題
當然
法都有相同的弊病=>效率低下和實現方法過於繁雜
本文利用FORMS的POST命令和後台Select Count語句實現唯一值檢查
POST命令間將前台的數據傳到後台
由於POST是受限過程
即
此語句不必多說
create table TESTCHECKUNIQUE
(
T
T
);
Declare
Begin
IF Upper(Get_Application_Property(TIMER_NAME)) = Upper(
Post;
END IF;
End;
Declare
Timer_Post Timer;
Begin
Timer_Post:=Create_Timer(
End;
Declare
L_Count Number;
Begin
Select Count(
Into L_Count
From TestCheckUnique
Where T
If L_Count>
Message(
Raise Form_Trigger_Failure;
End If;
End;
點擊此處下載armok
From:http://tw.wingwit.com/Article/program/Oracle/201311/17523.html