G
Guest
Table is sorted by column "SORTID", "STORE" IS A FIELD NAME
Table is emptied, then "INSERT INTO"'d a query with ORDER BY
Need to "select top N store" rows of this table in the order it's currently in
Currently it arbitrarily selects top N stores and when you use "TOP N" you can't order by
If it was only one row, I'd use FIRST(STORE), but I need N rows.
Only solution I can think of is to loop a FIRST(STORE) Query followed by a Delete Query N times
Is there a better way
Thanks
Mik
Table is emptied, then "INSERT INTO"'d a query with ORDER BY
Need to "select top N store" rows of this table in the order it's currently in
Currently it arbitrarily selects top N stores and when you use "TOP N" you can't order by
If it was only one row, I'd use FIRST(STORE), but I need N rows.
Only solution I can think of is to loop a FIRST(STORE) Query followed by a Delete Query N times
Is there a better way
Thanks
Mik