Article View: borland.public.vdbase.data.sql
Article #890Re: Using Interbase Server
From: Cecil Green
Date: Mon, 22 Jun 1998 00:00
Date: Mon, 22 Jun 1998 00:00
41 lines
2586 bytes
2586 bytes
Keith G. Chuvala (TeamB) wrote: > > > > Multi-member tables were another story, but they're problematic for > > > ODBC anyway, so I already had logical files (akin to SQL views) set up on the > > > AS/400 for those situations. > > > > > -------------------------- > > Could you comment a bit more on this 'problem'? > > Under the native AS/400 database, each database file can contain multiple sets > of records, each uniquely addressable and called a "member" of the file. For > example, we track customer data for two distinct product lines, motorcycles > and automobiles. So each of the tables in our buyer database cintains two > members, one called "AUTO" and the other called "MC". Some of our tables have > 10 or even more members depending on the need. > > You can create logical views of these tables that exspose only a specific > member, all members, or what have you. So while the physical file BYR01PF, > for example, has both AUTO and MC members, we create a corresponding logical > file called BYR01MC which is built to access the MC member only. > > The problem with the various AS/400 ODBC drivers I've used is that they only > "see" the first or default member of a given table (in our case, AUTO, since > they're exposed alphabetically). So if I want to get to the MC member data of > a given from a dBASE app, I have to have previously created a logical view as > described above for that file. > > It's a pain, but not terribly hard to work around. The Delphi/400 and C++ > Builder/400 products incorporate native AS/400 support that allows you to > address member issues directly from your client-side application, but then of > course we'd have to write everything in Delphi or C++B, which I'm reticent to > do. :) > ----------------------- Thanks for the insight, Keith. -- Regards, Cecil. [email suffix: bc dot sympatico dot ca]
Technical Details
Message-ID:
<MPG.ff85874b2904d6e9896c7@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<MPG.fc387b37fa019889896b4@forums.borland.com> <355A1481.77B48194@DELETE_THIS.hit.net> <MPG.fc4e70b6df9871c9896b5@forums.borland.com> <355B4E0C.231F8262@DELETE_THIS.hit.net> <MPG.feb66424ef2ea999896c4@forums.borland.com> <358AD99F.FED2E961@DELETE_THIS.hit.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,fc503cab205dbfe0 X-Google-Attributes: gidff5a1,public From: samho@outoutdamnspam.ca (Cecil Green) Subject: Re: Using Interbase Server Date: 1998/06/22 Message-ID: <MPG.ff85874b2904d6e9896c7@forums.borland.com> X-Deja-AN: 365079677 References: <MPG.fc387b37fa019889896b4@forums.borland.com> <355A1481.77B48194@DELETE_THIS.hit.net> <MPG.fc4e70b6df9871c9896b5@forums.borland.com> <355B4E0C.231F8262@DELETE_THIS.hit.net> <MPG.feb66424ef2ea999896c4@forums.borland.com> <358AD99F.FED2E961@DELETE_THIS.hit.net> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.vdbase.data.sql