# Construct sql query with javascript that does NOT return with quotes

**URL:** <https://community.weweb.io/t/construct-sql-query-with-javascript-that-does-not-return-with-quotes/2823>\
**Category:** Ask us anything\
**Created:** [May 25, 2023, 9:58pm UTC](https://community.weweb.io/t/construct-sql-query-with-javascript-that-does-not-return-with-quotes/2823 "2023-05-25T21:58:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KTaylorMCAH](https://avatars.discourse-cdn.com/v4/letter/k/b77776/32.png) [@KTaylorMCAH](https://community.weweb.io/u/KTaylorMCAH)\
**Post date:** [May 25, 2023, 9:58pm UTC](https://community.weweb.io/t/construct-sql-query-with-javascript-that-does-not-return-with-quotes/2823/1 "2023-05-25T21:58:52Z")

</div>

I am attempting to create a sql request at a button push. It returns quotes around the sql statement whether I generate it as “totext” in formulas or whether I use js to pull the data and return a result in plain text. Whenever I use the “sql request” item, it shows up with quotes around it and my database rejects it. Please help. I am using an “Update” statement, BtW. Thanks!
