periodo Sin título 1

select * from www_banner where (GETDATE() > inicio) AND (GETDATE() < termino) and principal='*' order by orden

Espera...