Why is it recommended to close the database connection every time after the work is completed?
Answer / Ramesh Chandra Chaudhary
Closing a database connection after use helps conserve resources, as the underlying database server can reuse those connections for other clients. Additionally, closing connections helps prevent issues like connection leaks and lock contention. In VBScript, you can close a connection using the Close method:nnSet conn = CreateObject('ADODB.Connection')nconn.Open 'DataSource', 'UserName', 'Password' n... nconn.Close
| Is This Answer Correct ? | 0 Yes | 0 No |
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
HOW TO OPEN NEW TAB USING VB SCRIPT IN QTP?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
What are the naming conventions while declaring a variable in the vbscript language?
How to find a latest file from any folder
this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..
can anyone tell me the procedure of interview held in applabs
How to write VB Script for selecting a particular row in a WebTable?
Explain the tristate constants in vbscript?
How to load vbs functions in qtp
Explain about the functionality of vb script?