Sergey Kornilov 2/23/2004 | |
Hi, set dbConnection = server.CreateObject ("ADODB.Connection") dbConnection.ConnectionString = strConnection dbConnection.Open Set rsAvg = server.CreateObject ("ADODB.Recordset") strSQL = "select from Avg(col1) as Avg1, Avg(col2) as Avg2, Avg(col3) as Avg3 from TableName" rsAvg.open strSQL, dbConnection Response.Write rsAvg("Avg1") Response.Write rsAvg("Avg2") Response.Write rsAvg("Avg3") rsAvg.Close set rsAvg = Nothing dbConnection.Close set dbConnection = nothing
|
C
|
chhuey1 author 2/23/2004 |
Hi Sergey, |
Sergey Kornilov 2/23/2004 | |
I see what's you saying. |