Hey
I am having some trouble writing an SQL command. I need to set a field in the first N entries of a table. I thought it would be something like this:
UPDATE TOP N table SET field1 = 'whatever'
but it doesn't work. It seems I can't use TOP with the UPDATE statement. Is there something else I can use?
Thanks.
I am having some trouble writing an SQL command. I need to set a field in the first N entries of a table. I thought it would be something like this:
UPDATE TOP N table SET field1 = 'whatever'
but it doesn't work. It seems I can't use TOP with the UPDATE statement. Is there something else I can use?
Thanks.