I am using sql server and asp classic, and am currently calling queries like this:
newHireSQL = "select * from NewHire where Archived = 0 order by HireID desc" Set rsGetHireID = Server.CreateObject("ADODB.Recordset") rsGetHireID.Open newHireSQL,ConnectionString,adOpenStatic NumOfHireID = rsGetHireID.RecordCount
But instead of having the query statement here, I want to call a stored procedure calleddbo.sp_selectNewHireSQL. How can I do that?
Thanks