Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

update 10 records at one time once condition is statify

$
0
0

Hi ALL

I need to update 10 records in batch using ssis.

like My query is

Update A
set col1=B.value
from table1 A
Inner join 
(select top 10 value from tabl2 )B
ON A.id=B.id
where B.value is null

what i require that first it update 10 records then found column where B.value is null again update 10 record and so on untill all records update.

I need to update only 10 records at one time.

Kindly help me.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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