So its just a file sitting on a server, not a Database server like SQL or MySql.
That is the part we don't know.
You would have to find out from IT just what is there.
If the capability to run php and MySql is there, then basically what you do is build a php web page (called sqlquery.php for example) that can execute a MySql query.
Here is a sample php page from our system:
<?php
global $row;
include_once('resources/init.php');
$query1 = \mysql_query("SELECT `Index`, `SKU`, `LOC`, `QUAN`,`InStock` FROM $_GET[action]");
while ($row = mysql_fetch_assoc($query1)){
echo $row['loc'].",". $row['quan'].",";
}
?>
Then in the DoMore you can:
OPENTCP: referencing the Server.
STREAMOUT: "GET http://(your server ip)/sqlquery.php?action=row1 $0D$0A"
(in this example, by changing the "action=" variable, you can tell it which database to pull from)
STREAMIN: referencing the server
This STREAMIN will contain a Comma Separated string listing all of the "loc" and "quan" columns in the database.
It really comes down to what kind of IT department you are working with, and whether your working with an ever changing system that will need the scripts to be tweaked all the time. If the system is static, and you can get a reliable script on the Server, then I think it is a great way to go.