HDFC Bank had the biggest impact on the Nifty, followed by ICICI Bank, L&T and Axis Bank. ONGC was the only stock contributing gains to the index.