PSQLQueryTool Glossary
From DavinciWiki
Contents: Description, Procedure
Description In order to make the most of the MSFF PSQL Mars database, you must be familiar with the schema and table layout of the database. The examples, provided here allow you to access the descriptions of the tables and columns available for you to use in your queries. There are two sources for this information in the reference schema:
The examples provided below are intended to get you started; however, you should refine the constraints-list and the order-by-list according to your needs.
Procedure
dv>query="select table_name, field_name, description from glossary where schema_name='thmpub' order by table_name, field_name;" dv>url=themis3db(query,psql=1,header=1) Using PSQL password from: /themis/lib/dav_lib/dbpass/THM_DB_USER_davinci Read TEXT file: 1 lines make this a link! http... dv>gloss=read_lines(url) Downloading.done. Read TEXT file: 0 lines Text Buffer with 0 lines of text --OR-- dv>copy(url,$TMPDIR) Downloading.done. [path to file repeated to screen]
dv> commands here dv results ...
dv> commands here dv results ...
dv> commands here dv results ... |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Functions Used
Related Procedures |