title: SQLite3 - Library routine called out of sequence
body: <p>When running the following prepare statement for a SQLite3 db-selecct query I get a SQLLite Error 21 "<em>Library routine called out of sequence</em>":</p>
  
  <pre><code>sqlite3             *lDb;
  sqlite3_stmt           *lStmt;
  NSNumberFormatter     *lNbrFmt = [[[NSNumberFormatter alloc] init] autorelease];
  
  // Define SQL statement 
  NSString *lSql = @"SELECT section, language, title, description"
  @"                        selector-x-pos, selector-y-pos, gps-x-pos, gps-y-pos"
  @"                   FROM sections"
  @"               ORDER BY section ASC";
  
  lSqlResult = sqlite3_prepare_v2(lDb, [lSql UTF8String], -1, &amp;lStmt, NULL);
  NSLog(@"%@", [NSString stringWithUTF8String:sqlite3_errmsg(lDb)]);
  </code></pre>
  
  <p>What am I doing wrong?</p>