Torna al Thread

SELECT .creazione .chiusura if (evento = 'VERDE' , 5 , (if (evento = 'ROSSO' , 7 , ( if (evento = 'GIALLO' , 0 ) ) )) ) AS LimiteTemporale DATEDIFF(chiusura,creazione) AS DAYDIFF, if(datediff(chiusura,creazione)<= LimiteTemporale, 'InTime', 'OutTime') AS InOut
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5