Ramya P
Grasshopper
Points: 21
More actions
December 28, 2004 at 12:05 am
#163464
Hi,
Is it possible to use EXECUTE/ sp_executesql in a function to execute a string sql.
Frank Kalis
SSC Guru
Points: 111183
December 28, 2004 at 2:40 am
#535108
No, you can't use dynamic sql within a UDF. You need to try to workaround this.
--Frank KalisMicrosoft SQL Server MVPWebmaster: http://www.insidesql.org/blogsMy blog: http://www.insidesql.org/blogs/frankkalis/[/url]
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply