Joining Sybase stored proc output in a query -
i have sybase stored proc following interface:
mystoredproc @vara int, @varb int output
i run proc against table (tablea) within query, follows:
select tablea.id, proc.@result tablea left join (mystoredproc tablea.id, @result output) proc
i know won't work, idea of i'm trying return. note id values tablea passed in arg proc, , result set contain id column , output result stored proc.
is possible? or need loop on proc?
i suppose have sybase ase.
i can't check far remember connect same ase external server through component interation server , create remote procedure proxy table. find "remote procedures proxy tables" in "component integration services users guide".
also think no solution performance.
Comments
Post a Comment