13.01.2013 Views

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

OpenEdge Data Management: DataServer for Microsoft SQL Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Updating a schema holder<br />

Updating a schema holder<br />

The Update/Add Table Definitions utility allows you to update a schema holder to reflect<br />

changes that you make to the data definitions in your data source.<br />

Note: Using this utility to update the schema holder is the only way to make sure that your<br />

applications can access modifications or additions to a data source.<br />

The Update/Add Table Definitions utility allows you to:<br />

• Add object definitions from the data source to a schema holder. Use this option if you add<br />

a new table, stored procedure, or view to the data source data definitions and want the<br />

schema holder to reflect the change.<br />

• Update existing object definitions in a schema holder to reflect a change in the supporting<br />

data-source object definitions. For example, an integer data type that is pulled from a MS<br />

<strong>SQL</strong> <strong>Server</strong> data source can be mapped to any of the following <strong>OpenEdge</strong> data types:<br />

INTEGER, DECIMAL, LOGICAL, or INT64. See the “<strong>Data</strong> types” section on page 2–17 <strong>for</strong> more<br />

in<strong>for</strong>mation about support <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong> data types and their equivalent <strong>OpenEdge</strong><br />

data type mapping options.<br />

To update a schema holder from the <strong>Data</strong> Administration tool:<br />

1. Access the <strong>Data</strong> Administration, if you are not already there, and select <strong>Data</strong><strong>Server</strong>→<br />

MS <strong>SQL</strong> <strong>Server</strong> Utilities→ Update/Add Table Definitions. The following dialog box<br />

appears:<br />

2. Type preselection criteria values into the fields and select data type options as required.<br />

These values preselect the data source objects that the utility uses to update the schema<br />

holder. By default, the wild card symbol (*) appears; it specifies that the utility uses all of<br />

the objects in the data source. For more in<strong>for</strong>mation on data type options,<br />

Note: Consider whether you will choose to per<strong>for</strong>m a schema pull that consists only of<br />

wild cards. Doing so might degrade your database’s per<strong>for</strong>mance as the activity<br />

will include system catalog files that are not typically included in a user database.<br />

7–11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!