0% found this document useful (0 votes)
13 views1 page

Aug

The document provides instructions for loading data from a text file into a database table named 'design'. It specifies the format of the input file, including field termination and enclosure, and outlines how to populate various columns such as 'eid', 'dept', 'hire_date', 'salary', and 'manager'. Additionally, it includes a calculation to increase the salary by 10% during the data load.

Uploaded by

amal selmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

Aug

The document provides instructions for loading data from a text file into a database table named 'design'. It specifies the format of the input file, including field termination and enclosure, and outlines how to populate various columns such as 'eid', 'dept', 'hire_date', 'salary', and 'manager'. Additionally, it includes a calculation to increase the salary by 10% during the data load.

Uploaded by

amal selmi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

load data

infile 'C:\selmi_amal_4SAE3\Aug.txt'
into table design
fields terminated by ',' optionally enclosed by '"'
(eid sequence(seq_emp.nextval),
dept position(1:10),
hire_date date 'YYYYMMDD',
salary "salary * 1.1",
manager constant 'Manager')

You might also like