Welcome Guest, Not a member yet? Register   Sign In
Database INSERT changes default 'no' to NULL
#5

You're explicitly inserting NULL ... of course that's what's going to be inserted. The default value is used only if you provide no value at all - i.e. if the field in question is not listed in the INSERT statement.
Reply


Messages In This Thread
RE: Database INSERT changes default 'no' to NULL - by Narf - 03-06-2016, 11:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB