# Seeding and Importing Data

A new database starts empty. Seed scripts fill in the data every copy needs, written so they can run again safely. Imports bring in data from elsewhere, such as a supplier's CSV file. Check every row, add the good ones in one transaction, and report the rest by line number.

![Cheat sheet: Seeding and Importing Data](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/5f4b458d87f0403a83f22e9b85a61be9.webp)

- Category: SQL
- Level: Journeyman
- Tags: c-sharp, CSV File, database, Idempotent, Seed Script
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/loading-data-seeding-and-importing-data-cheat-sheet
