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.

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 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.