by codesections · 5y ago · 0 comments
I don't follow the logic here. If a more rigid type system produces an error, wouldn't that surface the error, not suppress it? What am I missing?
Data errors will always pass through regardless if it's invalid. Eg. an application bug that overflowed the int will still be happily accepted into an integer typed column even with a check contraint value > 0.
In the ANYTHING case you would have something like -205 in there instead.
For what it's worth I don't really agree with this post at all though.