![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
30/10/2009, 12:38
|
![Avatar de Anubis_Slash](http://static.forosdelweb.com/customavatars/avatar302353_1.gif) | | | Fecha de Ingreso: mayo-2009 Ubicación: aqui y haya
Mensajes: 173
Antigüedad: 15 años, 9 meses Puntos: 5 | |
Respuesta: Obtener ids tras inserción múltiple de registros
Código:
select id from tu_tabla <------- esta sentencia te trae todos los ids
select count(id) from tu_tabla <----- esta te tra el total de ids insertados
__________________ Bienvenidos los karmas.
Quejas, sugerencias o dudas, se awantan...... |