NSE Nifty extended its winning streak for the third consecutive session following sustained buying in banks, financial service, media, infra and FMCG counters amid consistent inflow of foreign funds.
Moderate selling was seen in metal, realty, energy, pharma and IT stocks.
In overseas markets, European stocks were trading mixed, as global markets gear up for Friday's US jobs report.
Also Read
The non-farm payrolls report will be eagerly watched by the US Federal Reserve and could determine whether the central bank increases interest rates in September.
Asian stocks also settled mixed.
The 50-share Nifty opened lower at 8,754.05 and hovered between 8,819.20 and 8,754.05, before finishing at 8,786.20, showing a gain of 41.85 points or 0.48 per cent.
It witnessed an intra-day movement of about 65.15 points, touching the psychologically-important 8,800 mark for the first time since April 15, 2015, but failed to hold the level.
On the sectoral front, Private Bank rose by 1.45 per cent, followed by Bank (1.29 per cent), Financial Service (1.32 per cent), Media (1.28 per cent), Infra (0.76 per cent), FMCG (0.44 per cent) and Auto (0.34 per cent).
However, Metal dropped 1.47 per cent, Realty 1.25 per cent, Energy 1.02 per cent, Pharma 0.61 per cent and IT 0.36 per cent.
Notable index gainers were UltraTech Cement (3.52 per cent), Kotak Bank (2.64 per cent), L&T (2.53 per cent), IndusInd Bank (2.25 per cent), Zee (1.95 per cent), Hero MotoCorp (1.94 per cent) and HDFC Bank (1.76 per cent).
Notable laggards included Bosch Ltd (2.29 per cent), ONGC (2.23 per cent), Hindalco (2.15 per cent), Tata Steel (2.03 per cent), Lupin (1.76 per cent), Reliance (1.73 per cent), Eicher Motor (1.70 per cent), NTPC (1.61 per cent), BHEL (1.42 per cent) and Bank of Baroda (1.22 per cent).
A total of 855 scrips declined, 757 advanced, while 68 remained unchanged. Total securities that hit their price bands stood at 125.
Turnover in cash segment rose by Rs 37,944.36 crore from Rs 19,707.12 crore as on Tuesday.
A total of 14,872.44 lakh shares changed hands in 108,11,456 trades. The market capitalisation of NSE stood at Rs 1,09,10,696.32 crore.
Disclaimer: No Business Standard Journalist was involved in creation of this content