Generating an annotated schema for Microsoft SQL Server 2000
226 PowerDesigner
To generate an annotated schema by reinforcing mapping with
extended attributes:
1 Double-click an element symbol in the diagram to display its property
sheet.
2 In the Extended Attributes page, type the name of a database column in
the Value column of the field annotation, if you want to map the element
with a database column.
or
Type the name of a database table in the Value column of the relation
annotation, if you want to map the element with a database table.
You can define a value for the following annotations regar ding an
element (E) and/or an attribute (A):
Annotation E A Description
encode 99When an XML element or attribute is
mapped to a SQL Server BLOB column,
allows requesting a reference (URI) to be
returned and used later to return BLOB data
field 99Maps an XML item to a database column
hide 99Hides the element or attribute specified in
the schema in the resulting XML document
is-constant 9 Creates an XML element that does not map
to any table. The element appears in the
query output