Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago

Dynamic SQL in User Defined Function for Direct Query

I received the DECLARE error message stating I can't use declare in a Direct Query. I found out in this forum that a user defined function (UDF) is necessary to make this work: https://community.powe...