Hi Team,
Do I need to cast Datetime column to Date when used in join? It seems I am getting same results with/without cast
With Cast: ON FISCAL_DAY_TO_YEAR.CALENDAR_DATE=CAST(SOL_SHIPMENTS.ACTUAL_SHIPMENT_DTM AS Date)
Without Cast: ON FISCAL_DAY_TO_YEAR.CALENDAR_DATE=SOL_SHIPMENTS.ACTUAL_SHIPMENT_DTM
I am trying to use without cast for a better join. Please let me know
Regards,
Sam
Forums: