|
Both SYSCOLUMNS and QSYS/QADBIFLD also have the text for the columns.
Regards
Paul Tuohy
ComCon
www.comconadvisor.com
www.systemideveloper.com
David FOXWELL wrote:
Sorry, I think I should have said TEXT instead of Column headings. Thedisplay you get when you use STRSQL. Our tables still have 6 letter field
names so the output in iNav isn't really human readable.
Thanks for the SQL Assist tip that I did not know existed.--
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Paul Tuohy
Envoyé : mardi 28 décembre 2010 14:28
À : Midrange Systems Technical Discussion
Objet : Re: iNav Sql scripts
You can use SQL Assist (Edit->SQL Assist or press F4 on a blank line).
Or just do a select * from table and have a look at the
headings in the result set.
Or, if you are using a schema, run a SELECT on the SYSCOLUMNS
view in the schema with a where clause on TABLE_NAME.
Or, if you are not using a schema, run a SELECT on
QSYS/QADBIFLD with a where clause selection on DBILIB and DBIFIL
Regards
Paul Tuohy
ComCon
www.comconadvisor.com
www.systemideveloper.com
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 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.