Código Delphi [-] SQLPrueba.SQL.Clear; SQLPrueba.SQL.Add('INSERT INTO TABLA (VALOR1, VALOR2) VALUES (:V1, :V2) RETURNING ID'); SQLPrueba.ParamByName('V1').AsString:='PRUEBA'; SQLPrueba.ParamByName('V2').AsString:='MAS DE PRUEBA'; SQLPrueba.ExecSQL(False);
SQLPrueba.SQL.Clear; SQLPrueba.SQL.Add('INSERT INTO TABLA (VALOR1, VALOR2) VALUES (:V1, :V2) RETURNING ID'); SQLPrueba.ParamByName('V1').AsString:='PRUEBA'; SQLPrueba.ParamByName('V2').AsString:='MAS DE PRUEBA'; SQLPrueba.ExecSQL(False);
Código Delphi [-]SQLPrueba.ExecSQL(False);
SQLPrueba.ExecSQL(False);
Código Delphi [-]SQLPrueba.Open;
SQLPrueba.Open;