Rdb field comments.

Peter Bateman shediac92@hotmail.com
Mon, 23 Feb 2004 13:04:41 -0400


David:
I haven't done this with RDB but I suspect others have.
You might be able access the database metadata though QUIZ.
So it is a matter writing a QUIZ program to display your table
information.

Trap the output from QSHOW and then in QUIZ
link the column name in the report to RDB$COMMENTS

You also may want write the field descriptions to a PDL file.

Element ROW_IDENT Numeric 18 default datatype integer size 8 &
      Description &
"Comment: ---> This column is updated by the  trigger SA_ADD_INDENT."

This will make your comments available through QUICK's help
facility.

Regards,
Peter Bateman



>From: David Gray <grayd@extenza-turpin.com>
>To: "'powerh-l@lists.sowder.com'" <powerh-l@lists.sowder.com>
>Subject: Rdb field comments. Date: Mon, 23 Feb 2004 11:52:41 -0000
>
>Greetings,
>
>OpenVMS         V7.3-2
>Oracle Rdb       V7.1-221
>Powerhouse    V7.10.G1
>
>Is it possible to have Rdb field comments show up in QSHOW?
>
>E.g.
>
>$ SQL Show table sales_analysis;
>
>ROW_IDENT                             BIGINT           ROW_IDENT_DO
>  Comment:        ---> This column is updated by the trigger SA_ADD_INDENT.
>DO NOT UPDATE
>
>Qshow> show rec  sales_analysis in database
>  ROW_IDENT                             NUM     0     0    0   
>^,^^^,^^^,^...
>
>
>Thanks in advance.
>     David.
>
>
>
>
>
>David Gray
>Oracle DBA / OpenVMS Systems Manager 	Extenza Turpin
>Blackhorse Road
>Letchworth
>Herts
>SG6 3BE
>david.gray@extenza-turpin.com <mailto:david.gray@extenza-turpin.com>
>http://www.extenza-turpin.com/ <http://www.extenza-turpin.com/>
>tel:
>fax:
>mobile: 	+44 1462 687531
>+44 1462 480947
>+44 778 926 3270
>
>
>  <http://www.plaxo.com/signature> Powered by Plaxo
><http://www.plaxo.com/signature> Want a signature like this?
>  <https://www.plaxo.com/add_me?u=21474892575&v0=104759&k0=1015963815> Add 
>me
>to your address book...
>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca