esto es en mssql, a lo mejor te sirve buscando funciones similares con tu manejador de bases:
Código SQL
[-]Select Fx_Imputa from CalendarioLaboral
Where
(Fx_Imputa <= (Select Top1 FechaActiva+14 From Configuracion) and DatePart(date, (Select Top1 FechaActiva From Configuracion)) = 1)
or
(FX_Imputa > (Select Top1 FechaActiva From Configuracion) and DatePart(date, (Select Top1 FechaActiva From Configuracion)) = 15)
el +14 es para aumentar 14 dias al dia 1, y que te de los 15