Programming Tips and Tricks
DECLARE @cList varchar(1000)SELECT @cList = isnull(@cList + ',', '') + MyColumn FROM MyTable (NOLOCK)SELECT @cList --> show result
No comments:
Post a Comment