How To Create Functions In Sql Server With Example