I need to do the following but I'm not sure how to set the results of the SQL query to a variable that I can use?
Thanks in advance!
Code:
strtotal = "Select cast(sum(npoints) as decimal) from team"
Set rsTotal = Server.CreateObject("ADODB.Recordset")
rsTotal.open strtotal, db
db.Execute strtotal
Thanks in advance!