Code
SELECT t0.CustomerID, t0.CompanyName, t0.ContactName, t0.ContactTitle, t0.Address, t0.City, t0.Region, t0.PostalCode, t0.Country, t0.Phone, t0.Fax
FROM Customers t0
WHERE t0.City = :p0
-- :p0: Input String (Size = 6; Prec = 0; Scale = 0) [London]
-- Context: OracleProvider Model: AttributedMetaModel Build: 1.1.1.0
使用OleDbConnection连接Oracle数据库,执行上面的语句出现以下错误:
System.Data.OleDb.OleDbException: ORA-01008: 并非所有变量都已绑定.