Create Table Test.Cluch(
No SMALLINT(10) Unsigned Auto_Increment Not Null Primary Key,
Model Varchar(32) Not Null Default 'NotFound',
Searcha Mode Enum('Threshold','Threshold_SubPixel','Conteast','Conteast_SubPixel','2ndDerivation_SubPixel') Not Null Default 'Threshold',
SearchFunction Mode Enum('FirstEdge','AllEdges','EdgePair','BestEdge') Not Null Default 'FirstEdge',
SearchPolarity1 Mode Enum('DoNotCare','Positive','Negative') Not Null Default 'DoNotCare',
SearchPolarity2 Mode Enum('DoNotCare','Positive','Negative') Not Null Default 'DoNotCare',
SearchThreshold1 Tinyint(2) Unsigned Not Null Default '0',
SearchThreshold2 Tinyint(2) Unsigned Not Null Default '0',
XPiontValue SMALLINT(10) Unsigned Not Null Default '0',
YPiontValue SMALLINT(10) Unsigned Not Null Default '0',
StartPointValue SMALLINT(10) Unsigned Not Null Default '0',
EndPointValue SMALLINT(10) Unsigned Not Null Default '0',
Date Datetime Not Null,
Index No (No),
Key Searcha (Searcha),
Key SearchFunction (SearchFunction),
Key SearchPolarity1 (SearchPolarity1),
Key SearchPolarity2 (SearchPolarity2)
)ENGINE=InnoDB;
이대로 실행하면 오류가 납니다.. 무엇이 잘못 된건지 알수가 없어서여.. 참고로 초보입니다. |