How to use optional parameters in table valued function in sql server? can some one tell me this with some examples?