Import & Export
Overview
DBWillow provides comprehensive import and export capabilities, supporting CSV, JSON, Excel, and SQL formats. Perfect for data migration, backups, and integration with other tools.
Exporting Data
Export Query Results
- Execute a SQL query
- Click "Export" button
- Choose format:
- CSV: Comma-separated values
- JSON: JavaScript Object Notation
- Excel: Microsoft Excel format
- SQL: INSERT statements
- Download file
Export Tables
- Right-click a table
- Select "Export"
- Choose format and options
- Download file
Export Database
- Right-click database
- Select "Export Database"
- Choose options:
- Schema only
- Data only
- Both
- Download SQL dump
Importing Data
CSV Import
- Click "Import" → "CSV"
- Select CSV file
- Map columns visually
- Preview data
- Import
Visual Column Mapping
- See CSV columns on left
- See database columns on right
- Drag to match columns
- Preview before importing
SQL File Import
- Click "Import" → "SQL File"
- Select SQL file
- Review statements
- Execute import
Import Options
CSV Import Settings
- Skip Header Row: Ignore first row
- Delimiter: Comma, semicolon, tab
- Encoding: UTF-8, Latin-1, etc.
- Error Handling: Skip errors or stop
Data Validation
- Check data types
- Validate required fields
- Verify constraints
- Preview before import
Best Practices
Export
- Use appropriate format for destination
- Include headers in CSV exports
- Test exports before large operations
- Document export settings
Import
- Clean data before importing
- Test with small datasets first
- Backup before importing
- Verify data after import
Common Use Cases
Data Migration
- Export from old system
- Transform data if needed
- Import to new system
- Verify migration
Backup and Restore
- Export database regularly
- Store backups securely
- Test restore procedures
- Document backup schedule
Integration
- Export for reporting tools
- Import from external sources
- Sync with other systems
- Data exchange
Troubleshooting
Import Errors
- Check file format
- Verify column mapping
- Review data types
- Check constraints
Export Issues
- Verify query results
- Check file permissions
- Ensure disk space
- Review export format
Next Steps
- Learn about User Management
- Read Importing Data tutorial
- Explore SQL Editor
