
25/01/2011, 12:23
|
| | Fecha de Ingreso: mayo-2007
Mensajes: 12
Antigüedad: 17 años, 10 meses Puntos: 0 | |
Respuesta: ¿Se puede poner UPDATE TOP 1? si se puede y a las pruebas me remito
declare @tabla table (valor int)
insert into @tabla
select 10
union all
select 11
union all
select 12
union all
select 13
union all
select 14
select * from @tabla
update top (1) @tabla set valor = 15
select * from @tabla
esto hecho en sql Server 2005 |