'' first row of the array
retcode = SQLRetrieve(connection:=connection,destination:=destination, columnNames:=1,rowNumbers:=0,maxRows:=50, maxColumns:=6,fetchFirst:=0)
'' Get the next 50 rows of from the result set
retcode = SQLRetrieve(connection:=connection,destination:=destination,columnNames:=1,rowNumbers:=0,maxRows:=50, maxColumns:=6)
'' Close the connection
retcode = SQLClose(connection)
End Sub
SQLRetrieveToFile 功能函數
在connection指定的連接上獲取待定查詢結果并存儲到destination指定的文件。
SQLRetrieveToFile( connection& , destination$ , columnNames% , columnDelimiter$ )
文章來源于領測軟件測試網 http://www.kjueaiud.com/