What happens if you substitute @ instead of :

Code:
str = "select * from Master where CreatedDttm = TO_DATE(@p_StartDate,'MM/DD/YYYY')"