Hi to all,
Example:
CREATE TABLE test(name varchar(20) NOT NULL DEFAULT '');
In the above query varchar is described as NOT NULL.Then why we are inserting DEFAULT value as '' (null).
Thanks in advance,
Prem
Hi to all,
Example:
CREATE TABLE test(name varchar(20) NOT NULL DEFAULT '');
In the above query varchar is described as NOT NULL.Then why we are inserting DEFAULT value as '' (null).
Thanks in advance,
Prem
Crosspost. Already answered in MySQL forum.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.