c# - SqlCeCommand throwing exception -


This command is throwing an exception on my C # program, though SQL query builder works well.

 using  (SqlCeCommand cf = new SqlCeCommand ("Select from the data where name is (score = (max MAX from figures) (score))", cn))  

token line number = 1, token line offset = 41, in error token = SELECT < / Div>

I do not think SqlCeCommand supports this type of query.

Are you running against compact edition runtime, and a server version when testing with the management studio? As many work is available in the server version, but only one subset is available in the compact version.



Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -