× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



SQL views and indexes are logical files with some extra or different attributes.

You can use a view or index in an F-spec, so if you don't care about sort order, just create a view with an WHERE clause over the SQL table.

If order does matter, create an index with the key columns you need and use the same WHERE CLAUSE there - that index can be used in an F-spec, too.

Cheers
Vern

On 10/16/2020 9:47 AM, Greg Wilburn wrote:
I've been using SQL I programs and to create views for quite some time. I'm trying to force myself away from DDS.

So I created a new table with SQL... now I need to create a subset of that table by way of a logical file (I want to use RPG Native access in my program), which can also be updated.

Is there a simple way to create a view of my table that contains all columns "where" one of the columns is blank?

My current take on DDL versus DDS is that DDS is much, much easier and faster to use.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.