C# SQLCommand
strSQL="SelectCustomerID,CompanyNameFromCustomers"+"WhereCustomerIDLIKE'A%';"+"Select...
strSQL = "Select CustomerID,CompanyName From Customers" +
"Where CustomerID LIKE 'A%';" +
"Select OrderID,CustomerID,OrderDate From Orders" +
"Where CustomerID LIKE 'A%'";
提示:LIKE附近有错误 展开
"Where CustomerID LIKE 'A%';" +
"Select OrderID,CustomerID,OrderDate From Orders" +
"Where CustomerID LIKE 'A%'";
提示:LIKE附近有错误 展开
2个回答
展开全部
很有可能是 'A%'";
单引号和双引号引起的
你可以这样改
@"Where CustomerID LIKE 'A%'";
单引号和双引号引起的
你可以这样改
@"Where CustomerID LIKE 'A%'";
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询