Forum Discussion

arybalka's avatar
arybalka
Occasional Contributor
8 years ago
Solved

How to call the result of SQL querry as from the variable?

Hi,

I created the Database query variable. My query returns me a good result(1 raw and 6 columns.) in View Table window.

But I don't understand how can I call it in my script as a String.

JavaScript

Var result = Project. Variables. MyVariable_Name;

Log. Message(“SQL response is “ + result);

In log I have: SQL response is [object COMObject] 9:34:33 Normal

How can I get it as normal String? In ideal case separated by something(/).

2 Replies