CSV File
CSV File
CSV is a simple file format used to store tabular data in plain text.Each record consists of one
or more fields , separated by commas.
Advantages
CSV is a text file , so it can be created or edited using any text editor.
• Open excel
• Create a tabular data(student table/ Employee table )
Output
output
Reading CSV file without header
Output
Output
Reading CSV file with new column names
Output
Some situations we need only selected fields of a file.(use same field names in both files—
case sensitive)
Output