$ 0 0 I am using SQL server, having a pool of 5000 pictures out of which 800 is required. please let me the the way to do the above task