I was concerned and wanted to make sure that datatype and integrity are enforced using workbench 5.6.So I did a few things to test that after I did forward engineer on my ER diagram.
Let's say I set a column type mediumint, yet it allows me to save "abc" or any character in it.
And I check primary key, unique, not null, autoincrement, yet it allows me to enter anything (even character) and never did the autoincrement for me, nor reject null, duplicate.
Can someone kindly explain to me why? Thanks ahead.
Let's say I set a column type mediumint, yet it allows me to save "abc" or any character in it.
And I check primary key, unique, not null, autoincrement, yet it allows me to enter anything (even character) and never did the autoincrement for me, nor reject null, duplicate.
Can someone kindly explain to me why? Thanks ahead.