R
RB
How can the following be revised to work in Queries table adpater?
SELECT CustomerID, CompanyName
FROM Customers
WHERE (PostalCode LIKE @PARAM1 + '%')
Error message using Query Builder is:
"Error Source: SQL Server Compact Edition ADO.NET Data Provider"
"Error Message: Data Conversion Failed. [OLE Db Status value (if known) =2]
Same error if
WHERE (PostalCode Like '%' + @PARAM1 + '%')
I want to use the left 3 or 4 digits of a zip code to narrow a customer
list. Seems lke a common problem.
Thanks in advance,
RB
SELECT CustomerID, CompanyName
FROM Customers
WHERE (PostalCode LIKE @PARAM1 + '%')
Error message using Query Builder is:
"Error Source: SQL Server Compact Edition ADO.NET Data Provider"
"Error Message: Data Conversion Failed. [OLE Db Status value (if known) =2]
Same error if
WHERE (PostalCode Like '%' + @PARAM1 + '%')
I want to use the left 3 or 4 digits of a zip code to narrow a customer
list. Seems lke a common problem.
Thanks in advance,
RB