Yes, P_DATE is a bind variable for the select statement. So nothing needs to be changed here.