Can UDFs be used inside index views or does this break the SCHEMABINDING logic?
For example if in the where clause of the view I had something like this
WHERE
UserCanSeePost(UserId,PostId)
This UDF would then do a lookup on another table to check some restrictions. I'm guessing this cant be done in indexed views?