added LSL2 stored procedures
This commit is contained in:
18
LSL2/STPROC/TEST_DELETE_RECORD.txt
Normal file
18
LSL2/STPROC/TEST_DELETE_RECORD.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Compile subroutine Test_Delete_Record(Table, Key, Output)
|
||||
|
||||
Declare function Delete_Record_From_SQL
|
||||
|
||||
Ans = Delete_Record_From_SQL(Table, Key)
|
||||
|
||||
If Len(Ans) then
|
||||
If Assigned(Output) then
|
||||
Begin Case
|
||||
Case Output EQ "MSG"
|
||||
Call Msg(@Window, Ans)
|
||||
Case Len(Output)
|
||||
OSWrite Ans to Output
|
||||
End Case
|
||||
end
|
||||
end
|
||||
|
||||
return
|
Reference in New Issue
Block a user