Sub Main
Dim Result As Integer
Dim connect as long
Dim query as string
Dim out1(1 to 2,1 to 1) as variant
Dim out2(1 to 2,1 to 1) as variant
'这里定义两个二维数组
dim retcode as variant
dim i as integer
'Initially Recorded: 2005-7-18 22:16:12
'Script Name: sqltest
connect = SQLOpen("DSN=te;UID=sa;PWD=")
query = "select bookname,popular from book where authorid = 1 "