How To Execute Function In Sql