Reputation: 470
I have a situation where I want to place a stored procedure in a computed column. But it didn't work out so I used function instead. Can computed column have stored procedure??
Upvotes: 0
Views: 1863
Reputation: 432210
No, they can't.
Stored procedures are not "inline", they don't return scalar values and can have all manner of side effects.
Upvotes: 3