CSV у SQL
Перетворіть CSV у SQLite SQL зі збереженням текстових даних.
- Підготуйте ввід
Виберіть потрібні параметри за допомогою елементів нижче.
- Виконайте завдання
Налаштуйте елементи нижче та перевірте попередній перегляд.
- Використайте результат
Перевірте результат і скористайтеся доступними функціями копіювання або завантаження.
Можливості й обмеження
Генерує SQLite CREATE TABLE та INSERT у транзакції. Усі стовпці TEXT для збереження початкових нулів і великих чисел. Порожні значення залишаються рядками, якщо не обрано NULL. До 10 000 рядків і 200 стовпців. SQL створюється локально й не виконується.
Результат
Заповніть поля й виконайте операцію, щоб побачити результат.
CSV у SQL
Convert CSV rows into a SQLite INSERT script in the browser. Set the table name, choose comma, semicolon, tab or pipe delimiters, decide whether the first row is a header, and map empty cells to NULL when needed. Quoted text is escaped for the generated statements; review the table identifier, column types and constraints before executing the script.
Функції
- Parse comma, semicolon, tab or pipe-delimited CSV text.
- Choose the table name and whether the first row contains column names.
- Map empty cells to NULL or keep them as empty text values.
- Copy or download the generated SQLite INSERT script.
Як використовувати
- Paste CSV and choose the delimiter and header option.
- Enter the destination table name and empty-cell behavior.
- Generate the SQL and review identifiers, values and escaping.
- Copy or download the script, then run it only after checking your schema.