convert SQL to string
I'm new with SilkPerformance and also new in the forum.
I want to know if it is possible to convert the value of an SQL command to string, in order to print it.
Re: convert SQL to string
If the returned value is not a string, then in your print or write statement you just need to wrap it around a conversion such as:
<font class="small">Code:</font><hr /><pre>
strSQL1 : string;
numSQL1 : number;
Print("SQL Query results: Order -"+strSQL1);
Print("SQL Query results: # Ordered -"+string(numSQL1));