Hello Tim,
I assume the you mean "the possibilities of the using the CLR hosted by SQL
Server 2005" since that's the context for this newsgroup.
You should be able to, but you'll probably want to use a stored procedure
instead of a function. You can pass the first query into the code supporting
..NET class's method which can execute that and get a dataSet if you like.
You can then fire off that second procedure to get the results you want to
the data from second source, up the dataset and start generate results from
the updated dataset.
I can post an example if you like.
Thank you,
Kent Tegels
DevelopMentor
http://staff.develop.com/ktegels/
|