maccatalan
Registered
Hi.
I'm just trying to understand what NULL means as property of a column in MySQL.
For example, when I do :
CREATE TABLE `toto` (
`c1` INT NOT NULL,
`c2` INT NULL
);
what's the difference beetwen c1 and c2 (excluding the name) ?
I think that means I can put an empty field into c2 and not in c1, but am I right ?
Thank you,
Pierre.
I'm just trying to understand what NULL means as property of a column in MySQL.
For example, when I do :
CREATE TABLE `toto` (
`c1` INT NOT NULL,
`c2` INT NULL
);
what's the difference beetwen c1 and c2 (excluding the name) ?
I think that means I can put an empty field into c2 and not in c1, but am I right ?
Thank you,
Pierre.