阅读背景:

使用RANK或ROW_NUMBER创建可分组ID以在SQL Server中使用难以捉摸的顺序替换来连接行值

来源:互联网 

Before you make a judgment, this question is different from most of the other questions on this subject. Yes, it's true that I want to concatenate the text in certain rows; however, in most of the other cases, there's an ID value that is the same for each of the rows that a person desires to concatenate. In my case, it appears that I would need to create an ID value, but the problem is elusive because I can't seem to get the ROW_NUMBER() or RANK() functions to partition the values in the way that I'm seeking. Before you make a judgment, this question is di




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: