Torna al Thread
CREATEPROCEDURE [dbo].[GetNotifiche]
(
@Codalbergo Int,
@CodComune Int,
@Anno Int,
@Mese Int
)
AS
BEGIN
SELECT
statonotifica,anno,mese FROM dbo.Notifiche Where codalbergo=@codalbergo and codcomune=@codcomune and anno>=@Anno and mese>@mese
order by anno,mese,statonotifica
END