... PROCEDURE USP_TRANDAU(p_cur_TRANDAU out cur_TRANDAU)asbeginTrang 20e. Sequence cho bảng TRAN_DAU : TRANDAU_seqMục đích : Tạo số tuần tự cho khóa chính duy nhấtCREATE SEQUENCE TRANDAU_seq ... USP_VONGDAU(p_cur_VONGDAU out cur_VONGDAU); type cur_TRANDAU is ref cursor return TRAN_DAU%rowtype;PROCEDURE USP_TRANDAU(p_cur_TRANDAU out cur_TRANDAU); END pkg_SELECT;b. Package INSERT : pkg_INSERTMục ... 15(p_cur_SANDAU out cur_SANDAU)asbeginopen p_cur_SANDAU for SELECT * FROM SANDAU ;exceptionwhen others thendbms_output.put_line('Error : '||sqlerrm);end USP_SANDAU;Lấy danh sách...
... mald;commit;end USP_LUOTDAU;PROCEDURE USP_SANDAU(masd in number)asbeginDELETE TRANDAU WHERE San = masd;DELETE SANDAU WHERE MA_SD = masd;commit;end USP_SANDAU;Trang 276. Màn hình Quản Lý ... USP_LUOTDAU(p_cur_LUOTDAU out cur_LUOTDAU); type cur_SANDAU is ref cursor return SAN_DAU%rowtype;PROCEDURE USP_SANDAU(p_cur_SANDAU out cur_SANDAU); type cur_VONGDAU is ref cursor return VONG_DAU%rowtype;PROCEDURE ... bảng TRAN_DAU : TRANDAU_seqMục đích : Tạo số tuần tự cho khóa chính duy nhấtCREATE SEQUENCE TRANDAU_seq START WITH 1 INCREMENT BY 1 NOMAXVALUE NOCYCLE ;Thuyết minh : TRANDAU_seq Tên của...
... such use of thePrograms. Oracle is a registered trademark, andOracle Store, Oracle7 , Oracle8 , Oracle9 i, PL/SQL, and SQL*Plus aretrademarks or registered trademarks of Oracle Corporation. Other ... RMAN and then type commands intothe command-line interface. For example, you can start RMAN from the UNIXcommand shell and then execute interactive commands as follows:% rman TARGET SYS /oracle@ trgt ... database concepts and basic database administration as described in Oracle Database Concepts and the Oracle Database Administrator's Guide■Basic backup and recovery concepts and strategies...
... such use of thePrograms. Oracle is a registered trademark, andOracle Store, Oracle7 , Oracle8 , Oracle9 i, PL/SQL, and SQL*Plus aretrademarks or registered trademarks of Oracle Corporation. Other ... these Oracle resources:■ Oracle Database Recovery Manager Quick Start Guide■ Oracle Database Backup and Recovery Advanced User's Guide■ Oracle Database Recovery Manager Reference■ Oracle ... Image Copies and Backup Sets 4-3Full and Incremental Datafile Backups 4-5RMAN Backups and Tags 4-5Backing Up Database Files and Archived Logs with RMAN 4-5Making Consistent and Inconsistent...
... use of the Programs. Oracle is a registered trademark, andOracle Store, Oracle7 , Oracle8 , Oracle8 i, Oracle9 i, OracleMetaLink, Oracle Names, PL/SQL, Pro*C/C++, Pro*COBOL, and SQL*Plus are trademarks ... capabilities.See Also: Oracle9 i Database Concepts See Also:■ Oracle9 i Database Administrator’s Guide for Windows ■ Oracle9 i Backup and Recovery Concepts See Also:" ;Oracle9 i Database Specifications ... Database" in Oracle9 i Database Administrator’s Guide for WindowsSee Also: Oracle9 i Database Concepts ixHKEY_LOCAL_MACHINE\SOFTWARE \ORACLE\ OSD9I\CM 9-12HKEY_LOCAL_MACHINE\SOFTWARE \ORACLE\ OSD9I\IPC...
... like '%REP%' and sum(salary)>12000order by sum(salary) desc;12. Hiển thị mức lương trung bình cao nhất tính dựa theo department_id. BÀI THỰC HÀNH SỐ 5 – ORACLE (Hàm nhóm dữ liệu)1. ... department_id 80 có được commission_pct.Select count(employee_id)From employeesWhere department_id =80 and commission_pct is not null ;5. Cho biết commission_pct trung bình cuả các nhân viên.Select...
... BÀI THỰC HÀNH SỐ 6 – ORACLE (Subquery)1. Chọn ra last_name của tất cả nhân viên có lương cao hơn lương của nhân viên ... lương của employee_id = 141.SELECT LAST_NAME,JOB_ID,SALARY FROM EMPLOYEES WHERE EMPLOYEE_ID=143 AND SALARY>(SELECT SALARYFROM EMPLOYEESWHERE EMPLOYEE_ID=141); 3. Chọn ra last_name, job_id, ... LAST_NAME,JOB_ID,SALARY FROM EMPLOYEES WHERE SALARY< ALL(SELECT SALARYFROM EMPLOYEESWHERE JOB_ID=’IT_PROG’) AND JOB_ID <> ’IT_PROG’;...
... AppsPortalsPortalsAPACHEIntegrationIntegration Oracle9 i Application ServerThe Oracle9 i Application Server (Oracle9 iAS) runs all your applications. The Oracle9 i Database stores all your data. Oracle9 i Application Server ... SQL Oracle SQL and SQL*Plus: Advanced SELECT Statements Oracle SQL and SQL*Plus: SQL*Plus and Reporting Introduction to Oracle9 i for Experienced SQL Users Oracle SQL Specifics: Retrieving and ... processing concepts and techniques.How This Course Is OrganizedIntroduction to Oracle9 i: SQL is an instructor-led course featuring lectures and hands-on exercises. Online demonstrations and written...