# Use CSV Folder As SQL Database

This project shows how to use a folder of CSV files to model a SQL database. The files model SQL database tables and can be queried and used just like regular SQL tables.

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

The project has been setup to iterate selected records in a file using SQL.  The selected records are displayed using the ViewRuntimeRecords activity.&#x20;

{% hint style="info" %}
Explore the properties of the InitializeSource activity of the CSVDatabase module which is used to read the records.&#x20;
{% endhint %}


---

# Agent Instructions: 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://docs.appstrategy.com/apprules-r-documentation/samples/sample-projects/integration-and-automation/use-csv-folder-as-sql-database.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.
