473,324 Members | 2,531 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Adding user data to the system metadata tables Db2 UDB v8.1.9 Linux

Firstly, for documentation purposes. In the view syscat.columns there is
a column named remarks, pointing to, I suppose, to the corresponding
column in sysibm.syscolumns. Is that column reserved for DB2's use of
can I use it to document the columns of my tables? Likewise,
syscat.tables, syscat.indexes, and, I presume, most of the other entries
in syscat/sysibm.

As another question, are there any other user modifiable fields in the
tables? I have, for certain user interface reasons, created metadata
tables referring to certain tables in my schema. If there were user
defined fields in syscat/sysibm, I would prefer to use them to maintain
the data together.
Mar 16 '06 #1
2 1449
In article <w6*************@fe03.lga>, rs**********@charter.net says...
Firstly, for documentation purposes. In the view syscat.columns there is
a column named remarks, pointing to, I suppose, to the corresponding
column in sysibm.syscolumns. Is that column reserved for DB2's use of
can I use it to document the columns of my tables? Likewise,
syscat.tables, syscat.indexes, and, I presume, most of the other entries
in syscat/sysibm.

As another question, are there any other user modifiable fields in the
tables? I have, for certain user interface reasons, created metadata
tables referring to certain tables in my schema. If there were user
defined fields in syscat/sysibm, I would prefer to use them to maintain
the data together.


You can use the COMMENT ON statement to fill the REMARKS column. AFAIK
there are no user modifiable fields in the system catalog to create
metadata. I don't know if something like that can be created with XML
data, I never worked with it.
Mar 16 '06 #2
Gert van der Kooij wrote:
In article <w6*************@fe03.lga>, rs**********@charter.net says...
Firstly, for documentation purposes. In the view syscat.columns there is
a column named remarks, pointing to, I suppose, to the corresponding
column in sysibm.syscolumns. Is that column reserved for DB2's use of
can I use it to document the columns of my tables? Likewise,
syscat.tables, syscat.indexes, and, I presume, most of the other entries
in syscat/sysibm.

As another question, are there any other user modifiable fields in the
tables? I have, for certain user interface reasons, created metadata
tables referring to certain tables in my schema. If there were user
defined fields in syscat/sysibm, I would prefer to use them to maintain
the data together.

You can use the COMMENT ON statement to fill the REMARKS column. AFAIK
there are no user modifiable fields in the system catalog to create
metadata. I don't know if something like that can be created with XML
data, I never worked with it.


Thanks for the pointer to the COMMENT statement. I'd overlooked it.
Mar 16 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Google Mike | last post by:
You know, while working on my moonlight corporation's LAMP project at home this weekend, I couldn't help but wonder if people writing similar projects are solving similar problems with having to...
4
by: DotNetJunky | last post by:
I have built a control that runs an on-line help system. Depending on the category you selected via dropdownlist, it goes out and gets the child subcategories, and if there are any, adds a new...
2
by: Aaron Ackerman | last post by:
I cannot a row to this bound DataGrid to SAVE MY LIFE! I have tried everything and I am at a loss. The using goes into add mode with the add button adds his data then updates with the update...
3
by: Jim Heavey | last post by:
Trying to figure out the technique which should be used to add rows to a datagrid. I am thinking that I would want an "Add" button on the footer, but I am not quite sure how to do that. Is that...
0
by: godsmustbcrazy | last post by:
Here is my problem. Brand new SQL Server 2005 Installation 1. Create a database "Test" 2. Create a database user "Domain\user" and set user mapping to "Test" with datareader, datawriter...
12
by: JMO | last post by:
I can import a csv file with no problem. I can also add columns to the datagrid upon import. I want to be able to start importing at the 3rd row. This will pick up the headers necessary for the...
0
by: =?Utf-8?B?QW5keSBZdQ==?= | last post by:
Hi, I'm trying to return exceptions from a WCF Service using FaultExceptions. I got the service compiled and running. But I get an error while adding a service reference to it. The error reads: "...
0
by: ganesh22 | last post by:
Hi... Iam using GridView in asp.net(2.0) .My requirement is user can add,update,delete in gridview I written the code for add & update but can u help adding rows in grid view My code: ...
2
by: smileprince00 | last post by:
what are metadata fnctions....how they can help the programming thank you regards rohit
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.