Thanks for your help Jeff. My needs have changed slightly - as you might expect one example value isn't going to be enough so I'm going to try to tweak this script into something outputs 3 example values from the column put into a string like so... "example1, example2, example3".
Based on the code you've provided me with I think that should be doable, though truthfully I'm still a little confused with this code:
EXEC dbo.sp_ExecuteSQL @SQL,
N'@Output_Var VARCHAR(8000) OUT',
@Output_Var OUT
I will play more and post should I run into more trouble. Not reading or not playing with the code enough may be true - time is sometimes a luxury I don't have on top of the rest of "life" right now.
Your help IS appreciated though - thanks!
seis
|