A parte i nomi il resto dovrebbe andar bene.
a) where cognome like isnull(@cognome+'%',cognome)
b) dt_inizio=isnull(@dt_inizio,dt_inizio)
and dt_fine=isnull(@dt_fine,dt_fine)
A parte i nomi il resto dovrebbe andar bene.
a) where cognome like isnull(@cognome+'%',cognome)
b) dt_inizio=isnull(@dt_inizio,dt_inizio)
and dt_fine=isnull(@dt_fine,dt_fine)
-ANDREA-