Ver Mensaje Individual
  #7  
Antiguo 24-03-2015
Avatar de RONPABLO
[RONPABLO] RONPABLO is offline
Miembro Premium
 
Registrado: oct 2004
Posts: 1.514
Reputación: 23
RONPABLO Va por buen camino
También puede hacerse así:
Código SQL [-]
Insert into Tabla 
Select (select max(codigo)+1 from tabla2), 'Prueba', codigo from tabla3
__________________
"Como pasa el tiempo..... ayer se escribe sin H y hoy con H"
Responder Con Cita