yeungsprite
Programmer
Hi,
I am running a script which is outputting the following error:
Invalid default value for 'changed'
This corresponds to the following portion of code:
CREATE TABLE realm (
name CHAR(16) NOT NULL,
title CHAR(64) NOT NULL,
changed TIMESTAMP(14) NOT NULL DEFAULT '',
PRIMARY KEY(name)
);
I am stumped as to what the problem with the code is. I am running mysql-4.0.17 on Unix.
Thanks in advance,
Andrew
I am running a script which is outputting the following error:
Invalid default value for 'changed'
This corresponds to the following portion of code:
CREATE TABLE realm (
name CHAR(16) NOT NULL,
title CHAR(64) NOT NULL,
changed TIMESTAMP(14) NOT NULL DEFAULT '',
PRIMARY KEY(name)
);
I am stumped as to what the problem with the code is. I am running mysql-4.0.17 on Unix.
Thanks in advance,
Andrew