My Data looks like this:
FormulaID VersionID MaterialID WantedCol
123 .1 2222 1
123 .1 3333 2
123 .1 4444 3
123 .5 2222 1
123 .5 3333 2
123 .5 5555 3
123 .5 8888 4
199 .1 1111 1
.....
My current select statement is simply:
Select FormulaID, VersionID, MaterialID From tblFormula Order By FormulaID, VersionID, MaterialID.
So is there a way with a select statement to gain the WantedCol without using a cursor.
I want to add a column that will contain the sort order per formula/version.
Is this possible???
Any help will be appreciated!