title: No element affected by SQL statement
body: <p>I would like to know how could I identify if there is no element affected by an SQL statement (specifically a Delete). I have the next function associated to a button that erases the content of an UITableView, the parameter i give to it (nombre) it`s a UITextField.text element. Any further information would be given</p>
  
  <pre><code>#import "SD9ProxyBD.h"
  #include &lt;sqlite3.h&gt;
  
  @implementation SD9ProxyBD
  
  -(NSMutableArray *)nombres{
  sqlite3 *laBd;
  sqlite3_stmt *consultaPreparada;
  const char *consulta="Select nombre from informacion";
  NSString *ruta=[[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES)objectAtIndex:0]stringByAppendingPathComponent:@"mibd"];
  sqlite3_open([ruta UTF8String], &amp;laBd);
  sqlite3_prepare(laBd,consulta,-1,&amp;consultaPreparada,NULL);
  NSMutableArray *resultados=[[NSMutableArray alloc]init];
  while (sqlite3_step(consultaPreparada)==SQLITE_ROW) {
      [resultados addObject:[NSString stringWithUTF8String:(char *)sqlite3_column_text(consultaPreparada,0)]];
  
   }
  sqlite3_close(laBd);
  return resultados;
  }
  
  -(void)insertarNombre:(NSString *)nombre{
  sqlite3 *laBd;
  sqlite3_stmt *consultaPreparada;
  const char *consulta="Insert into informacion(nombre) values(?)";
  NSString *ruta=[[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES)objectAtIndex:0]stringByAppendingPathComponent:@"mibd"];
  sqlite3_open([ruta UTF8String], &amp;laBd);
  sqlite3_prepare(laBd,consulta,-1,&amp;consultaPreparada,NULL);
  sqlite3_bind_text(consultaPreparada,1,[nombre UTF8String],-1,SQLITE_TRANSIENT);
  sqlite3_step(consultaPreparada);
  sqlite3_finalize(consultaPreparada);
  sqlite3_close(laBd);
  }
  
  -(void)eliminarNombre:(NSString *)nombre{
  sqlite3 *laBd;
  sqlite3_stmt *consultaPreparada;
  const char *consulta="Delete from informacion where nombre=?";
  NSString *ruta=[[NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask, YES)objectAtIndex:0]stringByAppendingPathComponent:@"mibd"];
  sqlite3_open([ruta UTF8String], &amp;laBd);
  sqlite3_prepare(laBd,consulta,-1,&amp;consultaPreparada,NULL);
  sqlite3_bind_text(consultaPreparada,1,[nombre UTF8String],-1,SQLITE_TRANSIENT);
  sqlite3_step(consultaPreparada);
  sqlite3_finalize(consultaPreparada);
  sqlite3_close(laBd);
  }
  
  @end
  </code></pre>
  
  <p>And here is the code of the button:</p>
  
  <pre><code>- (IBAction)eliminar:(id)sender {
  [self.texto resignFirstResponder];
  [self.proxyBD eliminarNombre:self.texto.text];
  [self.tabla reloadData];
  }
  </code></pre>