Unkown characters included in insert query execution string

image

im not sure why the error string includes backslashes in the date when there is no sign of them in the string being submitted.

the same query will run if i explicitly set the values but obviously that doesnt do me any good.
image

i have tried every combination of playing around with the formatting of the string but no luck. has anyone seen this before?

Hey @rich1 Thanks for joining office hours as well!

As we chatted about in office hours, this is related to Retool's prepared statements

Some options are:

  • Using Gui mode whenever possible
  • Converting the bulk insert into a single insert & using JS to loop through your records to insert
  • Disabling prepared statements (Disabling prepared statements can break other queries, and it has security risks. If you choose this option, we recommend making a copy of your resource where one still has prepared statements enabled so that your other queries continue to work and you can limit the risk)

Here's some related posts: