every updated record must have different value by using a procedure
the procedure returns single integer value

```
declare @value int;
exec @value = get_proc param;
update table1 set field1 = @value;

```

this will work for one record but i want the procedure to get new value for each record