ccc

SQL Server: Operaciones

// Obtener solo el primer registro
select top 1 * from mitabla order by num_pag

//  Modificar un valor con el valor que ya tenga
update tabla set campo1 = campo1 + 1 where ...
update tabla set campo2 = "hola"+ campo2 where ...

No hay comentarios:

Publicar un comentario