Posts
PLSQL Class 2 in Telugu | PL/SQL Introduction class 2 | How to run PL/SQ...
- Get link
- X
- Other Apps
PLSQL Class 1 in Telugu | Introduction to PL/SQL| variable declaration
- Get link
- X
- Other Apps
SQL * Loader
- Get link
- X
- Other Apps

CHAPTER 9-SQL * Loader v SQL*Loader allows you to load data from an external file into a table in the database. It can parse many delimited file formats such as CSV, tab-delimited, and pipe-delimited. v Method 1 by using par file in command prompt v We will load email data CSV file format into the emails table in the database. v The following is the content of the email.dat file: 1, john.doe@example.com 2, jane.doe@example.com 3, peter.doe@example.com v The contents of the control file ( email.ctl ) is as follows: load data into table emails insert fields terminated by "," ( email_id, email ) In the control file: The load data into table emails insert instruct the SQL*Loader to load data into the emails table using the ...
SQL Class 30 in Telugu| SQL * Loader| using .par file and .ctl file
- Get link
- X
- Other Apps
CASE()| Multiple inserts| MERGE| How to create user defined datatype & Table
- Get link
- X
- Other Apps
CASE Function Ø It can be used to perform if then else logic in SQL. Ø These are two types 1) Simple case expression 2) Search case expression Ø 1. Simple case expression Select empno, ename, CASE deptno When 10 then ‘ACCOUNTING’ When 20 then ‘RESEARCH’ When 30 then ‘SALES’ When 40 then ‘OPERATION’ Else ‘others’ End Department_name from emp; Ø 2. Search case expression Select empno, ename, job, sal, Case When job=’MANAGER’ then ‘MGR’ When sal=3000 then ‘hipay’ When job=’SALESMAN’ then ‘sman’ Else ‘not specified’ End Employee_name from emp; Multiple inserts Ø Insert all When deptno<20 then into d1 values (deptno, dname, loc) When deptno>20 and deptno<=30 then into d2 values (deptno, dname, loc) Else into d3 values (deptno, dname, loc) Select * from dept d; Commit; DML MERGE statement à It is used to select rows from one o...
SQL Class 29 in Telugu| CASE()| Multiple inserts| MERGE| How to create u...
- Get link
- X
- Other Apps