# Node-red-contrib-sqlstring: not reading VALUES message format

**URL:** <https://discourse.nodered.org/t/node-red-contrib-sqlstring-not-reading-values-message-format/71626>\
**Category:** Industrial\
**Created:** [2 December 2022 19:42 UTC](https://discourse.nodered.org/t/node-red-contrib-sqlstring-not-reading-values-message-format/71626 "2022-12-02T19:42:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rbmgf7](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rbmgf7](https://discourse.nodered.org/u/rbmgf7)\
**Post date:** [2 December 2022 19:42 UTC](https://discourse.nodered.org/t/node-red-contrib-sqlstring-not-reading-values-message-format/71626/1 "2022-12-02T19:42:48Z")

</div>

I've been writing the SQL code in the function node and it's been a PITA then I found this node.

 ![nr_sql](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b0136e54618330523cf0b30057f5baaa75b003b9.png)

Well, what am I doing wrong? Doesn't seem to want to read the payload. Can't find much documentation on this.

SQL is just getting the text in the ' ', not the actual payload values. Erased the ' ' around the msg. but it gives formatting errors so not sure what format it needs to be in.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 January 2023 19:43 UTC](https://discourse.nodered.org/t/node-red-contrib-sqlstring-not-reading-values-message-format/71626/2 "2023-01-31T19:43:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
