誰でも問題がどこにあるのか手がかりを得ましたか? 本当にただのカンマかスペルミスに違いないのですが、私はこの 5 行を 2 時間見ていますが、まだわかりません。
エラー 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