Hi everyone,
I have a table with about 410k records. The goal is to update a column with sequential numbers every 5000 records. So the first 5000 will contain 1, the next 5000 2, etc. Reason for this is because this table needs to be uploaded and due to "system constraints" (yea, my ass) we can only upload 5000 records at a time from a text file. the creation of which isn't important.
Since the "TOP" statement doesnt work with an update query (at least, it hasn't been for me), my plan was to create a field that would be an autonumber field and use that as constraints and run updates as I go. The issue with that is the maxfilelocks entry is maxed out so I cant just create that field.
Anyone know of a better way to accomplish this?