PSM stands for persistant stored modules and is a lnguage defined by ISO for defining stored procedures, functions and methods. ISO also has defined syntax for trigger definitions. PL/SQL does not comply with PSM.
Example of a procedure in PSM
Code:
create procedure insertsMany(rows int)
modifies sql data
begin
declare cnt int default 1;
while cnt < rows do
insert into t values(cnt,'garbled data');
set cnt = cnt + 1;
end while;
end
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.