MySQL报这个错误,是哪里错了呢?[Err] 1064 - You have an error .....
下面这个错误是哪里错了呢?
[SQL]
CREATE TABLE `tn_Users` (
UserId BigInt NOT NULL,
UserName Varchar(64) NOT NULL,
Password Varchar(128) NOT NULL,
PasswordFormat Int(11) NOT NULL DEFAULT '1',
PasswordQuestion Varchar(64) NOT NULL DEFAULT '',
PasswordAnswer Varchar(64) NOT NULL DEFAULT '',
AccountEmail Varchar(64) NOT NULL DEFAULT '',
IsEmailVerified TinyInt NOT NULL DEFAULT '0',
AccountMobile Varchar(64) NOT NULL DEFAULT '',
IsMobileVerified TinyInt NOT NULL DEFAULT '0',
TrueName Varchar(64) NOT NULL DEFAULT '',
NickName Varchar(64) NOT NULL DEFAULT '',
ForceLogin TinyInt NOT NULL DEFAULT '0',
IsActivated TinyInt NOT NULL DEFAULT '1',
DateCreated DateTime NOT NULL,
IpCreated Varchar(64) NOT NULL DEFAULT '',
UserType TinyInt NOT NULL DEFAULT '1',
LastActivityTime DateTime NOT NULL,
LastAction Varchar(512) NOT NULL DEFAULT '',
IpLastActivity Varchar(64) NOT NULL DEFAULT '',
IsBanned TinyInt NOT NULL DEFAULT '0',
BanReason Varchar(64) NOT NULL,
BanDeadline DateTime NOT NULL,
IsModerated TinyInt NOT NULL DEFAULT '0',
IsForceModerated TinyInt NOT NULL DEFAULT '0',
DatabaseQuota Int(11) NOT NULL DEFAULT '0',
DatabaseQuotaUsed Int(11) NOT NULL DEFAULT '0',
ThemeAppearance Varchar(128) NOT NULL,
IsUseCustomStyle TinyInt NOT NULL DEFAULT '0',
Avatar Varchar(128) NOT NULL DEFAULT '',
FollowedCount Int(11) NOT NULL DEFAULT '0',
FollowerCount Int(11) NOT NULL DEFAULT '0',
ExperiencePoints Int(11) NOT NULL DEFAULT '0',
ReputationPoints Int(11) NOT NULL DEFAULT '0',
TradePoints Int(11) NOT NULL DEFAULT '0',
TradePoints2 Int(11) NOT NULL DEFAULT '0',
TradePoints3 Int(11) NOT NULL DEFAULT '0',
TradePoints4 Int(11) NOT NULL DEFAULT '0',
FrozenTradePoints Int(11) NOT NULL DEFAULT '0',
'[Rank]' Int(11) NOT NULL DEFAULT '1',
AuditStatus Smallint NOT NULL DEFAULT '1',
DateAvatar Bigint NOT NULL DEFAULT '1',
KEY `IX_AccountEmail` (`AccountEmail`),
KEY `IX_AccountMobile` (`AccountMobile`),
KEY `IX_FollowedCount` (`FollowedCount`),
KEY `IX_FollowerCount` (`FollowerCount`),
KEY `IX_Rank` (`[Rank]`),
KEY `IX_UserName` (`UserName`),
PRIMARY KEY (`UserId`)
)ENGINE=innodb DEFAULT CHARSET=utf8;
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''[Rank]' Int(11) NOT NULL DEFAULT '1',
AuditStatus Smallint NOT NULL DEFAULT '1' at line 41
相关阅读:
GUI实现的原理有相关的资料吗
thinkphp 好像不支持动态Include 文件?
手机端用rem单位默认字体设置为多大?有什么好的css手机端框架?
THinkPHP开发微信支付,如何配置微信支付授权目录?
移动端点击事件失效
GIT远程同步的问题
汇编单步执行时发现了一个 call .+914
PHP使用phpmailer发送邮件?
ThinkPHP重写模式下URL大小写问题
vm虚拟机装的centos搭建邮件服务器 给qq邮箱发邮件出现报错
Go如何通用的处理请求回来的json数据?
nodejs微信开发 40016错误
ajax Authorization 鉴权失败
为什么服务器的时间经常需要校对?
Bind9 设置了转发但似乎没用
为什么latex中命令的选项有时在参数前面有时在参数后面?
js怎么控制手机端图片显示16:9
代码改动,浏览器自动刷新,工具
QT软件中QByteArray转QString,死活转不了
为什么用条件变量同步时,发生信号丢失呢?