Zeroesque Commented 3 Years ago through
Ask
<p>
<p>
<p>-- Generate row numbers using a triangle join; must have a primary key and select and group by all columns</p>
<p>select count(*) as RowNum, PrimaryKeyColumn, OtherColumn1, OtherColumn2, OtherColumnN</p>
<p>from Table1 a</p>
<p><span> </...