Jump to content

Help On Invalid Default Value Error


scott botkins

Recommended Posts

When I upload a sql file I am getting this error. Could someone please correct me on this?

 

# ---------- CREATE TABLE `AusbildKZ` ----------

CREATE TABLE `AusbildKZ` (

`AusbildKZ` VARCHAR( 10 ) NOT NULL DEFAULT '""',

`Bezeichnung` VARCHAR( 40 ) NULL DEFAULT '""',

`PunkteA` TINYINT( 1 ) NULL ,

`PunkteB` TINYINT( 1 ) NULL ,

`PunkteC` TINYINT( 1 ) NULL ,

`Ergebnis` TINYINT( 1 ) NULL ,

`HotKey` VARCHAR( 1 ) NULL DEFAULT '""',

`Datumerfasst` DATETIME NULL ,

`Datumgeaendert` DATETIME NULL ,

PRIMARY KEY ( `AusbildKZ` )

) TYPE = MYISAM ;

 

MySQL said: Documentation

#1067 - Invalid default value for 'HotKey'

 

 

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/55500-help-on-invalid-default-value-error/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.