If the table has a primary key (it should) or at least an Identity column, you can use a query to create a pseudo-counter column. In the following example, "
SysCounter" is the Identity column of the table "
Table1":
Code:
SELECT Table1.*, b.cnt
FROM (
SELECT Table1.SysCounter, COUNT(*) as cnt
FROM Table1 INNER JOIN (
SELECT Table1.SysCounter
FROM Table1) AS a
ON a.SysCounter <= Table1.SysCounter
GROUP BY Table1.SysCounter) as b, Table1
WHERE b.SysCounter = Table1.SysCounter