In the application of database on Web,when Large OBject(LOB) type columns exist in the result set of a database querying,it can easily result in some problems like running out of memory of server and network traffic if using the general methods to read and transfer the result set in the network. A novel algorithm——SBBR is provided to avoid those problems,it can handle the result set in chunks and the block size can be dynamically set. SBBR is implemented in the grid middleware-DAS of science data grid. Test results show it can handle the result set which includes LOB well.