Playar Tecnología
Pequeños y grandes trucos de informática.
miércoles, 23 de marzo de 2016
SQL tip. Make negative a positive value
If you need to make negative a positive value returned in a query you just have to write the minus symbol before the field in the select.
Example:
select -positiveNumber from table
where (your condition)
Josepe+
No hay comentarios:
Publicar un comentario
Entrada más reciente
Entrada antigua
Inicio
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario