The victim, a 43-year-old man from Northallerton, sustained critical injuries following an incident in the early hours of Sunday and remains in hospital.
North Yorkshire Police is appealing for anyone who might have information to get in touch.
Detectives want to speak to a man and woman who left Club Amadeus in Northallerton at around 3am on Sunday to get a taxi.
As they climbed into the back of the taxi they were joined by another man who sat in the front passenger seat.
Officers believe that the taxi first stopped in the Elm Avenue junction with Elm Court area of Northallerton before continuing to Little Holtby and that the couple may have vital information that could assist the investigation.
The 25-year-old man will appear in court later this month charged with attempted murder.
Anyone with any information is asked to contact Detective Constable Quita Passmore of North Yorkshire Police via email at [email protected] or by calling 01609 643 226.
If you wish to remain anonymous, you can pass information to Crimestoppers on 0800 555 111.
Quote incident number 12190220234 when providing information.