# Way to silence alarms from faulty SQL bindings?

**URL:** <https://forum.inductiveautomation.com/t/way-to-silence-alarms-from-faulty-sql-bindings/45642>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [April 15, 2021, 2:45pm UTC](https://forum.inductiveautomation.com/t/way-to-silence-alarms-from-faulty-sql-bindings/45642 "2021-04-15T14:45:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [April 15, 2021, 2:45pm UTC](https://forum.inductiveautomation.com/t/way-to-silence-alarms-from-faulty-sql-bindings/45642/1 "2021-04-15T14:45:26Z")

</div>

Using Ignition 7.9.9. Came onto a project that has a window that has 10+ different containers underneath a root container. Each of these containers has a custom property “ReportData” with slightly different SQL Bindings, part of which has the Schema fed in as a parameter. As in

```auto
SELECT something
FROM {[client]Schema].table
etc

```

So what this means is usually all except the containers except the one relevant and shown to the user then throw a bunch of print statements to the console log that the SQL binding is faulty - usually an invalid object error (because the schemas don’t have the same design). There’s so much text that any print statements get lost. I am tasked with trying to clean this up. Is there a way to silence the warnings from these SQL bindings? To tell them not to print this issue to the console? Or a way to circumvent this with minimal changes?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 15, 2021, 2:52pm UTC](https://forum.inductiveautomation.com/t/way-to-silence-alarms-from-faulty-sql-bindings/45642/2 "2021-04-15T14:52:57Z")

</div>

Oy!

Consider replacing all of the containers with a single template holder, and re-implement each container as a template. The visibility selection would be changed to drive the template path. With this approach, the broken bindings simply wouldn’t exist to create errors. Or extra DB load.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [April 15, 2021, 2:58pm UTC](https://forum.inductiveautomation.com/t/way-to-silence-alarms-from-faulty-sql-bindings/45642/3 "2021-04-15T14:58:53Z")

</div>

Yea, not exactly how I would have designed it lol. That’s a good idea. I’ll see if this person thinks it’s fine.
