An SQL PROCEDURE Example

While using SQL to perform database queries is most common, it is important to understand that almost any SQL statement can be invoked from Net.data. This is because Net.data has been built to support various language environments and SQL is just one of them. In essence, Net.data simply reads any SQL statement that you embed in a DTW_SQL function block and passes it to the native SQL environment for execution. A convenient technique is to first test an SQL statement by starting interactive SQL from a green green, STRSQL, entering the SQL statement there and when satisified cut and paste it into a Net.data SQL block.


Back to Tutorial