select id, nombre, fhnacimiento, sexo, domicilio from trabajador where (fhnacimiento = parametro_fecha or parametro_fecha is null)