Don Quijote de Nicaragua
2012-11-19 23:00:30 UTC
Nothing happen when I try to update one record, any ideas what is wrong, thanks
UPDATE tblDetalleEntradas
SET IdLocalizacion = @IdLocalizacion
WHERE (
(IdEntrada = @IdEntrada) AND (
IdProductoxBodega IN (SELECT p.i.value('@IdProductoxBodega', 'Bigint')
FROM @XmlDoc.nodes('CambiarLocation/Producto') AS
p(i))
)
)
UPDATE tblDetalleEntradas
SET IdLocalizacion = @IdLocalizacion
WHERE (
(IdEntrada = @IdEntrada) AND (
IdProductoxBodega IN (SELECT p.i.value('@IdProductoxBodega', 'Bigint')
FROM @XmlDoc.nodes('CambiarLocation/Producto') AS
p(i))
)
)