Click here to Skip to main content
15,946,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear friends,
I just want to know , how to create Reports or forms in SQl query(Pl/Sql Function Body Returning Sql query)

pls suggest me..

Region Form Sql Query Is :
SQL
select 
USERID,
DISPLAYNAME,
EMAILID,
LOGINNAME,
PASSWORDS,
usertypemaster.usertypename,
ISACTIVE,
'<a href="f?p=&APP_ID.:9:&SESSION.::NO::P9_USERID:'||USERID||'<br mode=" hold=" />">Edit</a>'||
' | '
||'<a href="java<!-- no -->script:functioncall('||USERID||');">Delete</a>' as ACTION 
from 
USERMASTER,
USERTYPEMASTER
where 
USERMASTER.USERTYPEID=USERTYPEMASTER.USERTYPEID
and
USERMASTER.DISPLAYNAME like (case  when :P8_FINDSYSTEM is null then USERMASTER.DISPLAYNAME else ('%' || :P8_FINDSYSTEM || '%') end) 
and
USERMASTER.USERTYPEID=( case
when :P8_SEARCHSYSTEM=5 then
USERMASTER.USERTYPEID 
else 
TO_NUMBER (:P8_SEARCHSYSTEM) 
end)
and USERTYPENAME <> 'Website Admin'


Please tell me how to create a form SQl query (Pl/Sql Function Body Returning Sql query)

regards,
Udayakumar
Posted
Updated 29-Mar-20 22:13pm
v4

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900