Hello everyone
in a table of a database sqlite there are three fields not null, including the id field.
How come when I enter data with one of the fields not null empty this anomaly is not detected and the row is added?
Thank You
Field not null undetected
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Field not null undetected
Hi,
Empty isn't the same as NULL:
is not the same as
Kind regards,
Mark
Empty isn't the same as NULL:
Code: Select all
put empty into myVar
Code: Select all
put NULL into myVar
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode