Is it possible to get resultset from a SQL StoredProc batch by batch?

  • Hi,

    The requirement of my application is to fetch data from a couple of tables which have millions of records. Is it possible to send the resultset from SQL batch by batch? i mean... sending first 5000 records and then the next 5000 and so on... This is because, the StoredProc takes nearly 5 minutes to fetch the data all together. So i want to split it up and append the data as they come batch by batch. Is it possible?

  • This is the same post as http://www.sqlservercentral.com/Forums/Topic410712-149-1.aspx. I reckon it will be easier for you too to look up the answers on a single page.

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply