# \#sql-node

**URL:** https://forums.losant.com/tag/sql-node/51.md

[Latest](https://forums.losant.com/latest.md) · [Categories](https://forums.losant.com/categories.md) · [Tags](https://forums.losant.com/tags.md)

---

## [SQL Where Statement](https://forums.losant.com/t/sql-where-statement/3886)

<div class="topic-metadata">

**Author:** [@David\_MacKenzie](https://forums.losant.com/u/David_MacKenzie)\
**Replies:** 4\
**Last updated:** [June 28, 2021, 2:21pm UTC](https://forums.losant.com/t/sql-where-statement/3886 "2021-06-28T14:21:59Z")

</div>

OK, I hope this is an obvious one. Can I use a WHERE statement in the SQL node? ALL of your examples are of the format “select \* from table” without an example of some like “select \* from table where UserID = ‘smith’”.…

---

## [SQL Node Validation Error (Host is Required)](https://forums.losant.com/t/sql-node-validation-error-host-is-required/2961)

<div class="topic-metadata">

**Author:** [@Amit\_Gitterman](https://forums.losant.com/u/Amit_Gitterman)\
**Replies:** 2\
**Last updated:** [May 21, 2020, 3:02pm UTC](https://forums.losant.com/t/sql-node-validation-error-host-is-required/2961 "2020-05-21T15:02:38Z")

</div>

Got a message stating Validation Error (Host is Required) on the SQL error running node The parameters entered in the DBMS were validated on Microsoft SQL Server Management Studio. What rule should I set in MS SQL to a…

---

## [Strategy for determining first run of a workflow on boot up](https://forums.losant.com/t/strategy-for-determining-first-run-of-a-workflow-on-boot-up/1029)

<div class="topic-metadata">

**Author:** [@Tim\_Hoffman](https://forums.losant.com/u/Tim_Hoffman)\
**Replies:** 4\
**Last updated:** [April 15, 2019, 3:14pm UTC](https://forums.losant.com/t/strategy-for-determining-first-run-of-a-workflow-on-boot-up/1029 "2019-04-15T15:14:46Z")

</div>

Hi I am trying to think of a strategy to determine if a workflow is running for the first time on bootup of an Edge device. If workflow storage variables are persistent across reboots (which I hope is the case - see my…

---

## [SQL connection on Edge agent](https://forums.losant.com/t/sql-connection-on-edge-agent/1526)

<div class="topic-metadata">

**Author:** [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Replies:** 12\
**Last updated:** [February 20, 2019, 9:52pm UTC](https://forums.losant.com/t/sql-connection-on-edge-agent/1526 "2019-02-20T21:52:33Z")

</div>

Tried connecting to a MySQL data base on the same LAN the edge is on. Set the SQL node on a timer, but the debug node gives me nothing. What are my best methods for troubleshooting?
