[Gfoss] Dubbio case when con campo lunghezza >di 0

pigreco pigrecoinfinito a gmail.com
Ven 1 Dic 2017 19:10:19 CET


gissara wrote
> Ciao a tutti,
> avrei bisogno idi una mano per risolvere questa stringa per il popolamento
> dei campi su una tabella attributi rispetto al campo lunghezza che
> dovrebbe>= 0:
> 
> CASE
> WHEN  "NUM_"  = '1' and   "LUNG"  <= '0' then "DIAM"= '5'
> 
> END
> 
> Il campo lunghezza è stato calcolato con $lenght

Ciao,
che software usi? immagino QGIS.

immagino, inoltre, che il campo "LUNG" sia un REAL quindi perchè metti gli
apici nello zero?

prova cosi:

CASE
WHEN  "NUM_"  = '1' and   "LUNG"  >= 0 then "DIAM"= '5'

saluti

-----
https://pigrecoinfinito.wordpress.com/
--
Sent from: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/


Maggiori informazioni sulla lista Gfoss