Retrieving Data only for visible map extent using Query Layer

Discussion created by sureshm on Feb 21, 2012
Latest reply on Feb 24, 2012 by rnarayanan-esristaff
Hello all

I have created a query layer to fetch huge data from SQL Server in ArcMap. The data is displayed on zooming into particular level but since all the data is fetched on page load increasing the page load time, how can I limit the data returned by REST service depending on Map extent so that the service fetches only data visible for visible map extent and not all? Can anyone please suggest me a workaround for this?