1
我需要在我们的结算系统中添加几行内容,并且我对此调用的语法不够了解。有人能告诉我这个查询的第一行中的零是什么意思吗?用于adodb查询的VBscript
strSqlStmt = strSqlStmt & "SELECT Trim(users.PILastName & ' ' & users.PIFirstName), 0, 0, 0, 0, Count(plab.billing), 0, 0, 0 "
strSqlStmt = strSqlStmt & "FROM plab, pform, users, userinfo "
strSqlStmt = strSqlStmt & "WHERE userinfo.PI=users.PI "
strSqlStmt = strSqlStmt & " AND UCase(users.location) ='S' "
strSqlStmt = strSqlStmt & " AND plab.sampleid=pform.sampleid "
strSqlStmt = strSqlStmt & " AND plab.email=userinfo.email "
strSqlStmt = strSqlStmt & " AND plab.finisheddate Between " & dtmRange & " "
strSqlStmt = strSqlStmt & " AND plab.finished=True "
strSqlStmt = strSqlStmt & " AND plab.billing = 1 "
strSqlStmt = strSqlStmt & "GROUP BY Trim(users.PILastName & ' ' & users.PIFirstName) "
这些只是常量将要作为输出查询的一部分作为列值。 – 2013-05-03 17:34:32