2012-09-04 24 views
2

這是我的代碼,我加起來相同的行,所以它匹配它如何仍然說錯誤?T-SQL什麼是錯誤消息Msg 10709,

Use KudlerFineFoods 
INSERT INTO Employee (Lastname,Firstname,[Address],City,[State],TelephoneAreaCode,TelephoneNumber,EmployerInformationReport,HiredDate,Salary,Gender,Age,JobTitleID) 

VALUES 
('Edelman','Glenn','175 Bishop Lane','La Jolla','CA','619','5550199','https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudl er2/intranet/docs/Glenn%20Edelman%202004.pdf','07/10/2003','$21,500','m','1979/12/01',4), 
('McMullen','Eric', '763 Church Street','Lemon Grove','CA','619','5550135', 'https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudler2/intranet/docs/Eric%20McMullen%202004.pdf', 
    '2002/11/01','13,500.00','m','1992/01/01',3), 
('Slentz','Raj', '123 Torrey Drive','North Clairmont','CA','619','5550123','https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudler2/intranet/docs/Raj%20Slentz%202004.pdf','2001/06/01','48,000.00','m','1978/02/04',2), 
('Broun','Erin', '2045 Parkway Apt 2BY','Encinitas' ,'CA','760','555','5550100', 'https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudler2/intranet/docs/Erin%20Broun%202004.pdf','2003/12/03','$10,530.00','f','19880201',3), 
('Carpenter','Donald', '927 Seond Street', 'Encinitas','CA', '927','5550154','https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudler2/intranet/docs/Donald%20Carpenter%202004.pdf','2003/11/01','$15,000.00','m','1995/01/01',9), 
('Esquivez','David','1083 N. Coast HWY Apt 902','Encinitas','CA','760','5550108','https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudler2/intranet/docs/David%20Esquivez%202004.pdf','2003/07/25','$18,500.00','m','1991/01/01',8), 
('Sharp','Nancy', '10793 Montecino Road','Domona','CA','858','5550135', 'https://ecampus.phoenix.edu/secure/aapd/CIST/VOP/Business/Kudler2/intranet/docs/Nancy%20Sharp%202004.pdf','2003/07/12','$21,000.00','f','1992/07/07',4); 
+3

行開始'(比較額外數據'Broun'的列數不同於其他列的數量,SSMS有助於突出顯示紅色的波形和鼠標懸停,並告訴你這個問題。 –

+0

我希望我會在一小時前看到這一點:)謝謝 – BigDaddyCardona

+1

有一個值對於那個@MartinSmith引用的'555'。我想你只是誤拼了:'760','555','5550100', - >也許'760','5550100',? –

回答

1

的HiredDate在第一列中有不同的語法:

'07/10/2003' 

而Broun行有'555','5550100''555'與其他行

+0

我很抱歉,我應該看到這個,但我一直在這個學校項目上午九點開始,現在是4:22,現在我已經筋疲力盡,你們都很棒:) – BigDaddyCardona

+0

去睡一覺吧...漂亮的夢 – CloudyMarble

+0

I將仍然沒有完成我必須顯示兩張表和我有點爛的書,所以它使所有這一切變得複雜。 :) – BigDaddyCardona

相關問題