In general, fast-forward cursors are designed to be more efficient than traditional cursors because they are read-only and do not support data modifications. However, when comparing performance between a fast-forward cursor and a WHILE loop for a small number of iterations (like 15 rows), the performance difference may not be significant.
For small datasets, a WHILE loop can be quite efficient and may even perform comparably to a fast-forward cursor. The choice between the two often depends on the specific use case and the operations being performed. If the logic can be expressed in a set-based manner, that is usually the preferred approach for performance reasons.
In summary, while fast-forward cursors may have advantages in larger datasets or more complex operations, for a small number of rows (like 15), both options could perform similarly, and the best choice may depend on the specific context of your application.