|
John, XXXCST does not equal xx.CustName XXXACT does not equal xx.Account XXXCTY does not equal xx.County (you thought I meant "City" Ha!) Bob Cozzi cozzi@rpgiv.com Visit the on-line Midrange Developer forum at: http://www.rpgiv.com > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of jpcarr@tredegar.com > Sent: Thursday, February 28, 2002 10:49 AM > To: rpg400-l@midrange.com > Subject: RE: w/%editc() - Qualified Names > > > > >John, > >What's the difference between specifying a field named XXNAME in SQL > >and using a co-relational name xx.name? > >I think if they want to query the customer master file, they would > >perfer to specify CITY, STATE, ZIP rather than CSTCTY, CSTSTE, CSTZIP. > >Besides, do end-users do JOIN functions when they run Query/400? If > >they're that smart, they can handle read field name. > >Bob Cozzi > > > I noted that Bob. > > >....still leaves End Users > >who use (say) Query/400 to have to qualify names, and forces the use > >of correlated names in SQL. > >While you can do that in both places, It's a tedious effort that is > >not required if the DB is named that way. > > It was from the other point mostly that I like the qualified name. > * to me * it signify better where this "Instance" of Customer comes from. > > It just seems more self-evident to me. > > For you, Just Imagine there is a period in the center of XXXCUST. > > XXX.Cust is transitory. XXXCUST is Global. > > Just personal preferences. > > John > > > > > > > _______________________________________________ > This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list > To post a message email: RPG400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l > or email: RPG400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.