Check out example codes for "vbscript clean up ADODB.Recordset". It will help you in understanding the concepts better.

Code Example 1

rs.Close()
Set rs = Nothing

dbConn.Close()
Set dbConn = Nothing

Learn ReactJs, React Native from akashmittal.com