set column to not null mysql
ALTER TABLE Person MODIFY P_Id INT(11) NOT NULL;
set column to not null mysql
ALTER TABLE Person MODIFY P_Id INT(11) NOT NULL;
replace null value within column mysql
UPDATE `table` SET `somefield`=0 WHERE `somefield` is null
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us