The TVF function creates a table of list of ppl based on a particular program.
Then the function2 checks for these ppl in the list, whether they are above certain age or not.
These two are put in different functions, since both of them are used elsewhere too.
Is the info enough or u need...
I am using the following query
select 'level' =
case when dbo.function1 = 1 then
( case when ( dbo.function2(dbo.function3, 1) > 0) then 3
end )
end
it is showing error "Cannot find either column "dbo" or the user-defined function or aggregate dbo.function3 "
dbo.function3 is TVF.
so i...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.