> For the complete documentation index, see [llms.txt](https://ai2sql.gitbook.io/ai2sql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai2sql.gitbook.io/ai2sql/19.-sql-file-uploader.md).

# 19. SQL File Uploader

The SQL File Uploader is a specialized tool designed to simplify the process of importing SQL, DDL, and DML files into your database management workflow. This user-friendly interface allows for quick and efficient upload of database-related files, ensuring your data is readily available for analysis and operations.

Steps for using the SQL File Uploader:

1. Prepare Your File
   * Ensure your file is in SQL, DDL, or DML format
   * If the file has a .sql extension, convert it to .txt
   * Verify the file content is correct and complete
2. Access the Upload Interface
   * Navigate to the SQL File Uploader in your application
   * Click on the upload option or button to open the interface
3. Name Your File
   * In the "File Name" field, enter a name for your file
   * Use a descriptive name, e.g., "customer\_data\_update"
4. Select Your File
   * Click on the upload area that says "Click to upload a file"
   * Browse your computer and select the prepared .txt file
5. Verify File Selection
   * Ensure the correct file is selected
   * Check that the file has a .txt extension
6. Complete the Upload
   * Once the file is selected and named, click the "Finish" button
   * Wait for the upload confirmation message
7. Confirm Upload Success
   * Look for a success message or check your uploaded files list
   * Verify that the file appears in your system as expected
8. Next Steps
   * Proceed with using the uploaded file for your intended database operations or analysis

<figure><img src="/files/BgPjHjDKlZVcLCSsMMg4" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai2sql.gitbook.io/ai2sql/19.-sql-file-uploader.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
