Hi,

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

Please suggest to proceed.

P.S.

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