# Database used by system.db.\* queries

**URL:** <https://forum.inductiveautomation.com/t/database-used-by-system-db-queries/85229>\
**Category:** Ignition\
**Created:** [February 5, 2024, 2:37pm UTC](https://forum.inductiveautomation.com/t/database-used-by-system-db-queries/85229 "2024-02-05T14:37:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [February 5, 2024, 8:08pm UTC](https://forum.inductiveautomation.com/t/database-used-by-system-db-queries/85229/2 "2024-02-05T20:08:50Z")

</div>

Yes, if they are running within the project itself and the db connection is _not specified_ within the function.

> [@Uploading a file to a table](https://forum.inductiveautomation.com/t/uploading-a-file-to-a-table/45448/11):
>
> I’ve gotten in the habit of always specifying the db connection when using scripting, even if the default is specified in the project properties. It avoids confusion as to that connection you’re using It works regardless of the scope where the script is run. (Designer / Client / Gateway)

---

_[View the full topic](https://forum.inductiveautomation.com/t/database-used-by-system-db-queries/85229)._
