Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

How to replace a cursor logic for processing each item individually?

$
0
0
I have a customer table where I take each record at a time and process them using another stored procedure called processCustomers. How can  I remove this cursor and still process each item from customer table individually? The problem here is processCustomers can only process one customer ID at a time. How can I still call that SP without using a cursor? Please advice.

mayooran99


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>