Skip to content

Changing table data to NULL doesn't work...requires a workaround #57

@odonov8

Description

@odonov8

The "Update Records" tab has issues when I change table data to NULL

Let's say I have a table called "table_name" and column "column_name". I set Data Type = int, Length = 6, and Default value = NULL. And let's say the data under "column_name" is 24. When I try to retype the data NULL and then click on "Update Records", I get the following error:

Error occurred while executing the query:
Incorrect integer value: 'NULL' for column 'column_name' at row 1
1 UPDATE table_name SET column_name="NULL" WHERE id="11"

The only workaround I could find for this is copying the query and then removing the quotes around the "NULL" like this:
UPDATE table_name SET column_name=NULL WHERE id="11"

then I select the UPDATE query, click on the "Query" tab, and all is good.

Is there any other workaround for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions