Its Possible?
gives incorrect syntax error near the keyword 'DECLARE'.
----------------------------
Thanks
thank you already or solve with a Function
*This post is locked for comments
I have the same question (0)

Its Possible?
gives incorrect syntax error near the keyword 'DECLARE'.
----------------------------
Thanks
thank you already or solve with a Function
*This post is locked for comments
I have the same question (0)Computed columns need to return strings that are valid within the scope of the SELECT element of the SQL view, so I wouldn't expect this to work: please take a look at the MSDN walkthrough or this blog post to get an idea of how you can redesign your procedure/function to meet your objectives.