Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 About Sql UDF

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2006-11-08 : 08:10:59
Deepak Patil writes "Q: I want to execute Sql query from Table-Valued Function but SQl UDF is not allowing me to execute because, i am sending the query as one parameter?
Can any one tell me How to pass the query at runtime to Table-valued Functions."

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-11-08 : 08:15:03
Post your UDF here.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2006-11-08 : 08:43:52
You can't dynamically run queries from UDF simply because dynamic sql is not allowed inside UDFs.

Harsh Athalye
India.
"Nothing is Impossible"
Go to Top of Page
   

- Advertisement -