According to the documentation:
Starting from version 3.23.50, InnoDB does not check foreign key constraints on those foreign key or referenced key values which contain a NULL column.
If you are running into problems with NULLs being compared with your foreign key constraint then you may need...
I have a table made up of Year, Week, Name, ID, and then several numeric fields defined as either smallint(3) or smallint(4). I am trying to create two result sets from very similar queries the first is working and the second is not. The first is:
select Name, ID, Sum(1stNumField) as Num1...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.