Where in('aa','na'dn') Problem
-
hi I am using a query like select * from cars where car_make in('BMW','Mercedes','Accura') But it gives an error if I use Single Qoute in any car_make for example... select * from cars where car_make in('BMW','Mercedes','Accura','infin'it') I am using MySQL with vb.net. THanks in advance Lets work it Out.........!
-
hi I am using a query like select * from cars where car_make in('BMW','Mercedes','Accura') But it gives an error if I use Single Qoute in any car_make for example... select * from cars where car_make in('BMW','Mercedes','Accura','infin'it') I am using MySQL with vb.net. THanks in advance Lets work it Out.........!
-
hi I am using a query like select * from cars where car_make in('BMW','Mercedes','Accura') But it gives an error if I use Single Qoute in any car_make for example... select * from cars where car_make in('BMW','Mercedes','Accura','infin'it') I am using MySQL with vb.net. THanks in advance Lets work it Out.........!
-
If you were using SQL Server, you would have to write : select * from cars where car_make in('BMW','Mercedes','Accura','infin**''**it') For MySQL I am not sure, but try it this way.. I hope it'll work.