× 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.



Hi Jack,

Others have highlighted quite a few of the similarities/differences. My own
view (pardon the pun) is that it depends on how you intend to use them.

If you are talking about developing a DB that will be accessed primarily by
SQL from many different sources, then Views and Indexes. If it is primarily
for RPG, then views, indexes and logical files.

At its simplest, an index is a keyed logical and a view is a non keyed
logical. From an RPG angle the problem is with the views - even they are a
lot more powerful then DDS created logicals they are of little use in RPG
since they do not have a key - so only useful if using embedded SQL.

FWIW, I did an article on comparing DDS and SQL's DDL on search400 at
http://search400.techtarget.com/tip/1,289483,sid3_gci1021854,00.html?FromTax
onomy=%2Fpr%2F2f9

HTH

Paul Tuohy

----- Original Message -----
From: "Jack Derham" <derhamj@xxxxxxxxxxxxx>
To: "'Midrange Systems Technical Discussion'" <midrange-l@xxxxxxxxxxxx>
Sent: Saturday, June 18, 2005 3:40 AM
Subject: DBA Question


> To the List,
>
>
>
> Got into a discussion this afternoon about what the real differences are
> between logical files, views and indexes. The discussion got a little
heated
> at times so I would ask that some of you well versed members to please
help
> out less fortunate uninformed members about the real physical and logical
> attributes of these object types.
>
>
>
> Jack Derham
>
> Direct Systems, Inc.
>
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.