Skip to content

Inserting Null In a binding for a mySQL database #13068

Answered by ConorWebb96
aeroptl asked this question in Help
Discussion options

You must be logged in to vote

Hey @aeroptl,

The fact that the value is returning "" in your error suggests that you are passing back a string and not a NULL.

Can you show the query you are using? Screenshooting and providing the code? The query i've used below seems to work in my case. Therefore I'm going to assume the issue is likely related to your query and how you are NULLing the field.

UPDATE number_checker
SET number_field = NULL
WHERE id = 1;

Hopefully this helps.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ConorWebb96
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
externaldb Relating to datasource plus
2 participants