Custom Authentication Function :
CREATE OR REPLACE FUNCTION CUSTOM_AUTH (p_username IN VARCHAR2,
p_password IN VARCHAR2)
RETURN BOOLEAN
IS
l_password VARCHAR2 (4000);
l_stored_password VARCHAR2 (4000);
l_expires_on DATE;
l_count NUMBER;
BEGIN
SELECT COUNT (*)
INTO l_count
FROM USER_INFORMATION
WHERE UPPER (LOGIN_NAME) = UPPER (p_username);
IF l_count != 0
THEN
SELECT pwd
INTO l_stored_password
FROM USER_INFORMATION
WHERE UPPER (LOGIN_NAME) = UPPER (p_username);
l_password := f_Password (UPPER (p_username), p_password);
IF l_password = l_stored_password
THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;
END IF;
END;
Friday, July 10, 2020
Wednesday, July 8, 2020
Automated Backups Creating in Oracle Apex
1.Go to Oracle Apex Application, then click---Utilities =>Manage Backup.
2. Then click on the Create button to create an automatic backup for current application.
3.After that click Backup button.
It will create initial backup of our Oracle Apex Application. If we make any changes in our application than it will create automated backup end of the day. This backup process will run every day and create automated backup of our oracle apex application.
Custom Template Create In Oracle Apex
<div style="text-align:center;color:green"><marquee onMouseOver="this.stop()" onMouseOut="this.start()">Developed By Oracle Apex & Database</marquee></div>
Add This Code in Global Page For Background Image :
<style>
#t_PageBody{background:url(#APP_IMAGES#kindajean.png); background-repeat: repeat;}
</style>
Subscribe to:
Posts (Atom)
Image File store outside of Oracle Database and show image into Apex Application
Directory Create : grant execute on utl_file to HRMS; CREATE OR REPLACE DIRECTORY STOCK_DIRECTORY AS 'C:\Program Files (x86)\Apache Sof...
-
1.@apexins.sql sysaux sysaux temp /i/ 2. @apxchpwd.sql 3. @apex_rest_config.sql 4. Unlock All Locked User : select username,account_s...
-
Directory Create : grant execute on utl_file to HRMS; CREATE OR REPLACE DIRECTORY STOCK_DIRECTORY AS 'C:\Program Files (x86)\Apache Sof...
-
Insert Data Into Apex Collection : begin if not apex_collection.collection_exists('EMPLOYEE_COLLECTION') then apex_collection.create...