INSERT INTO 'tblJobNumbers'
VALUES (NULL, '3006', '05', 'THISTHS', 0, 'JOBLOCATION', '', '',
'JOBCOMMENTS', 'ES', '01/14/2013', '01/15/2013,
'', '', '', 'CRS-2', '25000')
这是我的声明
jobID int(11) NOT NULL AUTO_INCREMENT COMMENT 'referenced by tblJobResources.jreJobID',
jobNumber int(4) NOT NULL,
jobPrefix int(2) NOT NULL COMMENT 'reference tblJobPreix.jprID',
jobCustomerTID varchar(7) NOT NULL,
jobCustomerID int(11) NOT NULL COMMENT 'reference tblCustomers.cusID',
jobLocation text NOT NULL,
jobContactName text NOT NULL,
jobContactInfo text NOT NULL,
jobComments text NOT NULL,
jobSoldBy varchar(2) NOT NULL COMMENT 'reference tblUsers.userID',
jobStartDate varchar(10) NOT NULL,
jobEstCompleteDate varchar(10) NOT NULL,
jobCompleteDate varchar(10) NOT NULL,
jobAcctgMethod text NOT NULL,
jobBillMethod text NOT NULL,
jobProduct varchar(10) NOT NULL,
jobProductAmount varchar(10) NOT NULL,
PRIMARY KEY (jobID)
我的表转储显示布局和数据类型。我错过了什么?请有人帮忙,这是我工作的笔记本电脑,我不认为“但愚蠢的代码”是破坏公司财产的正当借口。
错误信息:
#1064
- 您的 SQL 语法有错误;检查与您的 MySQL 服务器版本相对应的手册以获取正确的语法,以便在 ''tblJobNumbers' VALUES (NULL, 3006, 05, 'THISTHS', 0, 'JOBLOCATION', '', '', 'JO' at line 1.