Ver Mensaje Individual
  #11  
Antiguo 23-05-2010
Avatar de santiago14
santiago14 santiago14 is offline
Miembro
 
Registrado: sep 2003
Ubicación: Cerrillos, Salta, Argentina
Posts: 583
Reputación: 21
santiago14 Va por buen camino
Wink

Bueno, investigando un poco encontré esto, igualmente no funciona en Firebird 1.5.
Quisiera que me den una mano.


How to insert multiple rows in a single statement?

There are various approaches. For example, if you wish to insert these:

10 ten
11 eleven
12 twelwe

you can use UNIONs:
Código SQL [-]
INSERT INTO table1 (col1, col2)
SELECT 10, 'ten ' FROM RDB$DATABASE UNION ALL
SELECT 11, 'eleven' FROM RDB$DATABASE UNION ALL
SELECT 12, 'twelwe' FROM RDB$DATABASE;
Please note that datatypes must match (esp. if you use Firebird 1.x).

Lo encontré aqui.

Gracias.
__________________
Uno es responsable de lo que hace y de lo que omite hacer.
Responder Con Cita