title: There was an error parsing the query. [ Token line number = 1,Token line offset = 52,Token in error = ) ]
body: <p>While trying to insert data to my SQl db i get the following error <code>System.Data.SqlServerCe.SqlCeException: There was an error parsing the query. [ Token line number = 1,Token line offset = 52,Token in error = ) ]
  </code>my lines of code to enter the data are the following:</p>
  
  <pre><code>@{
  var db= Database.Open("Games");
  var sqlQ = "SELECT * FROM Games";
  var data = db.Query(sqlQ);   
  }
  @{
  if (IsPost) {
      var fileData = Request.Files[0];
      var fileName = Path.GetFileName(fileData.FileName);
      var fileSavePath = Server.MapPath("~/upload/" + fileName);
      fileData.SaveAs(fileSavePath);
      var GameName=Request["Name"];
      var Gamefile = fileName;
      var SQLINSERT = "INSERT INTO Games (Name, file_path) " + "VALUES (@0, @1,)";
      db.Execute(SQLINSERT, GameName, Gamefile);
      }
  }
  </code></pre>
  
  <p>I am trying to upload a file to my server and add the filename to my database. The error is apparently with line 15.</p>