Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Metadata Protocols

Metadata Protocols

From: Ashley Yakeley <ashley_at_semantic.org>
Date: Mon, 25 Mar 2002 19:54:59 -0800
Message-ID: <ashley-066643.19545925032002@news.halcyon.com>


Are there any standard protocols for storing infomation about a database as 'special tables' within that database? For instance, in one of my databases I have a special table for foreign keys:

CREATE TABLE foreign_key
  (
  source_table text NOT NULL,
  source_key text NOT NULL,
  referent text NOT NULL
  );

It currently has 21 entries. The 'referent' attribute is the name of a table which has a primary key of the int attribute 'id'.

Anyway, I wonder if there are some standard ways of doing this sort of thing. The idea is that the same code could perform certain basic operations on a wide array of databases, just by examining the entries in certain special tables.

-- 
Ashley Yakeley, Seattle WA
Received on Mon Mar 25 2002 - 21:54:59 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US