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

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -