I have Searched for solution I Find an way to use Option(Recompile)
but don't know how to use with UDF.
Any Other Suggestion to Improve performance of view will bw welcomed
Thanx
I give an example and your options on my blog here :
http://sqlblogcasts.com/blogs/sqlandthelike/archive/2009/10/15/udf-overhead-a-simple-example.aspx
I would imagine that the cursor inside the UDF is also not needed.
Post your full code for further advice
Dave Ballantyne
http://sqlblogcasts.com/blogs/sqlandthelike/
"sam" <sumesh.j...@gmail.com> wrote in message
news:f6026ee0-b11c-4e4e...@s36g2000prh.googlegroups.com...
Or you can avoid the function at all if possible.
--
Plamen Ratchev
http://www.SQLStudio.com