473,574 Members | 2,203 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.syscolum ns. 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 1462
In article <w6************ *@fe03.lga>, rs**********@ch arter.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.syscolum ns. 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**********@ch arter.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.syscolum ns. 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
2787
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 complete the project by building an installer and building the user/group administration piece of it. The thought came to me that it would be great...
4
5465
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 dropdownlist to the screen for selection. This continues until there are no children, and then it checks for a help article list based on that last...
2
2701
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 button, seems simple. I am using ALL visual controls (supposedly to simplify things. If I was not using the visual controls and calling an ExecuteNonQuery...
3
4864
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 the best method? Do you have a sample of how to do this?
0
6685
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 permissions 3. Look at Test ->Properties->Permissions activate "Domain\user" and click effective permissions and I get this error message
12
6196
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 datagrid. Once I can get to that point I need some way to be able to add new data only to the new columns that were added. Here is some of my...
0
2349
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: " Attempting to download metadata from 'http://localhost:4619/WCFService1/Service.svc' using WS-Metadata Exchange or DISCO. Error: Cannot import...
0
1958
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: <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="3" Height="237px" Style="z-index: 100; left: 155px; ...
2
2423
by: smileprince00 | last post by:
what are metadata fnctions....how they can help the programming thank you regards rohit
0
7803
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7720
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8044
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
6451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5618
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5299
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3749
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2240
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1337
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.