I have a string formula and I wanted to execute it in sql server 2008 UDF function.

Please suggest to proceed.


I have tried with exec () - error occurred.

Recommended Answers

All 2 Replies

Can you post the UDF you have so far?

You can use select satement instead of exec()

Select *, dbo.UDF from Table

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.