누구에게 문제가 있는지 알 수 있습니까? 그것은 정말로 쉼표 또는 철자법 실수 일 것임에 틀림 없다. 그러나 나는이 5 개의 줄을 2 시간보고 있고, 아직도 누군가 그것을 볼 수있는 것을 볼 수 없다. 그것은 매우 빨리 볼 수있다.SQL 쿼리가 작동하지 않습니다.
오류 SQL 쿼리 :
INSERT INTO SalesOrder
(
Customer, ContactName, Phone, Email, BillingAddress1, BillingAddress2, BillingCity, BillingState, BillingCountry, BillingPostalCode, BillingAddressRemarks, ShipToCompanyName, ShippingAddress1, ShippingAddress2, ShippingCity, ShippingState, ShippingCountry, ShippingPostalCode, ShippingAddressRemarks, CurrencyCode, ExchangeRate, PricingScheme, PaymentTerms, TaxingScheme, Tax1Rate, Tax2Rate, CalculateTax2OnTax1, Tax1Name, Tax2Name, TaxOnShipping, Custom1, Custom2, Custom3, ItemName, ItemDescription, ItemQuantity, ItemQuantityUoM, ItemUnitPrice, ItemDiscount, ItemSubtotal, ItemTaxCode
) VALUES (
'Yu', 'Yau ', '01224 580318', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'GBP', '1', '', '', '', 0, 0, 'FALSE', '', '', 'FALSE', '', '', '', 'Vg0003', 'Apple Green', 2, 'box', '15.5', '0%';
MySQL said:
#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 'Customer,ContactName,Phone,Email,BillingAddress1,BillingAddress2,BillingCity,Bil' at line 1
lolz, 독수리 눈 여기 이상 ^^ – Hituptony
당신이 옳았 으면 좋겠지 만, 41 개의 값을 넣고 41 개의 테이블 필드 컬럼은 – user1508136
으로 이름이 바뀌었다. – user1508136