Ver Mensaje Individual
  #4  
Antiguo 29-08-2006
alexander66 alexander66 is offline
Miembro
 
Registrado: jul 2006
Posts: 21
Reputación: 0
alexander66 Va por buen camino
oK gracias club ya modifique el sp y funciono estos son los cambios, en caso dado corriganme si hay algo mal.


Código PHP:
while @@Fetch_status 0
 begin
 
if @Existencia 1000
 update Productos set preciovta 
preciovta 1.10 where prod_id= @ID
...
un while qse ejecute mientras y un where para saber a que registro actualizar

Responder Con Cita