Hi all
I have a store procedure which check if user can view a record or not
I need to use it in the where clause
something like this
select * from sometable
where sometable.userId = userCanView(sometable.id, sometable.userId)
I could not find a way to do this
Please help
Thanks in advance
Nehemia
Edited by litterat - 31 Mar 2011 at 9:00pm