<分区>
有人知道问题出在哪里吗?它一定真的只是逗号或拼写错误,但我看了这 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