Difference between revisions of "Query"

From MidrangeWiki
Jump to: navigation, search
 
m
Line 7: Line 7:
 
I also have queries that create like *OUTFILEs that are then input to other queries.
 
I also have queries that create like *OUTFILEs that are then input to other queries.
  
Query/400 is a tool for accessing DB/400 that is pretty safe to put into the hands of users, so long as we know how to prevent them from creating an *OUTFILE that gets same name as a pre-existing real file in our data base.
+
Query/400 is a tool for accessing [[DB2]]/400 that is pretty safe to put into the hands of users, so long as we know how to prevent them from creating an *OUTFILE that gets same name as a pre-existing real file in our data base.

Revision as of 12:39, 25 May 2005


Purists might say that Query/400 is not a "real" programming language, rather it is a CASE tool. I personally find that Query/400 is very powerful for rapid development of simple reports and inquiries, with many features that may be under-utilized.

For example, I have a query that uses LIKE '%SOMETEXT%' to search fields of a data base for SOMETEXT where the % means I not care what stuff is in front of or behind the matching text.

I also have queries that create like *OUTFILEs that are then input to other queries.

Query/400 is a tool for accessing DB2/400 that is pretty safe to put into the hands of users, so long as we know how to prevent them from creating an *OUTFILE that gets same name as a pre-existing real file in our data base.