I have a function.I need to decide whether to join with it based on a BIT Value.
ON APEL.data_Period_dataination_Lookup_ID = CCEL.data_Period_dataination_Look