How to handle date on temp table when is null or not ?
I work on SQL server 2012 I using format dd/mm/yyyy
I need to handle date on #temp table on both of fromdate or todate .
if i have null on fromdate or todate what i do