Forum Discussion
chrisb
Regular Contributor
Look at the TC examples here: http://support.smartbear.com/viewarticle/56911/
Using the ADO object works fine for me. In the exxample below I pass in a SQL query. I have another function that builds SQL queries for me to pass into this..
function query (sqlQuery) {
var dbObj = ADO.CreateADOQuery();
dbObj.ConnectionString = //your connection string here
dbObj.SQL = sqlQuery;
dbObj.Open();
queryResult = dbObj;
return queryResult;
}
chrisb
10 years agoRegular Contributor
And for help building your connection string: http://www.connectionstrings.com/
Related Content
- 3 years ago
Recent Discussions
- 3 days ago
- 3 days ago
- 7 days ago