title: How to create a function in sql server for finding if data exists or not?
body: <p>Need to know the syntax for creating function and the difference between inline table value function and multi statement tabled value function.</p>