We have a stored procedure that uses UDFs. We need to modify the content of these UDFs on the fly. Yeah, I know, I know… Not my choice. This is exactly what we are tying to do:
- Read the contents of a UDF
- Modify the contents and create a new UDF
- Use the UDF in an
executesqlstatement
Is there a way to get the contents of a udf into a varchar (or nvarchar) that I can then modify using string functions?
1 Answer