Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC SQL Server Driver][SQL Server]Procedure or function 'qryTS_STD_Stats' expects parameter '@sp_id', which was not supplied.

/scripts/p_tm_at_stats_1.asp, line 64