Red Hat Web Application Framework 6.1 用户手册

下载
页码 230
Appendix D. PDL Syntax
201
DataQueryPLSQLFunction(v_article_id in integer)
return number
is
v_title varchar(700);
begin
select title into v_title from articles
where article_id = v_article_id;
return v_title;
end;
/
show errors
Example D-2. Usage Reference for SQL