-- USING FOR LOOP DECLARE CURSOR C1 IS SELECT ENAME,JOB FROM EMP; BEGIN FOR R IN C1 LOOP IF R.JOB='MANAGER...
Read More
Showing posts with label Data Base Management System (Oracle). Show all posts
Showing posts with label Data Base Management System (Oracle). Show all posts
Program to perform Simple Switch CASE in PL/SQL
Program to perform Simple Switch CASE in PL/SQL In this Switch case is same as in C language. Only the differenc...
Read More
Program to perform EXIT statement in PL/SQL
Program to perform EXIT statement: DECLARE A int; BEGIN A:=10; LOOP DBMS_OUTPUT.PUT_LINE(A); A:=A+10; IF A>10...
Read More
Program to perform Searched Switch CASE in PL/SQL
Program to perform Searched Switch CASE in PL/SQL In this Switch case is same as in C language. Only t...
Read More
Program to perform GOTO statement in PL/SQL
Program to perform GOTO statement in PL/SQL In PL/SQL GOTO statement is same as in C language.It move the c...
Read More
Schema Table Used For Queries
****************************************************************************** Employee Table: CREATE TABLE EMP(EMPNO INT UNIQUE,ENAME V...
Read More
Write the Query in Oracle For Employee table
****************************************************************************** Employee Table: CREATE TABLE EMP(EMPNO INT UNIQUE,ENAME V...
Read More
Subscribe to:
Posts (Atom)