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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Updating a schema holder<br />

Updating a schema holder<br />

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

reflect 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<br />

your 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<br />

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

and want the schema holder to reflect the change.<br />

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

supporting data-source object definitions. For example, an integer data type that<br />

is pulled from a MS <strong>SQL</strong> <strong>Server</strong> data source can be mapped to any of the following<br />

<strong>OpenEdge</strong> data types: INTEGER, DECIMAL, LOGICAL, or INT64. See the “<strong>Data</strong><br />

types” section on page 71 <strong>for</strong> more in<strong>for</strong>mation about support <strong>for</strong> MS <strong>SQL</strong> <strong>Server</strong><br />

data types and their equivalent <strong>OpenEdge</strong> 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<br />

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

following dialog box appears:<br />

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

required. These values preselect the data source objects that the utility uses to<br />

update the schema holder. By default, the wild card symbol (*) appears; it<br />

specifies that the utility uses all of the objects in the data source. For more<br />

in<strong>for</strong>mation on data type options,<br />

Note: You should not specify an entry that consists exclusively of wild cards <strong>for</strong> each<br />

of the three entry fields in the dialog box. An entry that consists exclusively of<br />

wild cards might degrade the per<strong>for</strong>mance of the database when you per<strong>for</strong>m<br />

a schema pull. (It will include system catalog files from the data source not<br />

typically included in user databases.)<br />

<strong>OpenEdge</strong> <strong>Data</strong> <strong>Management</strong>: <strong>Data</strong><strong>Server</strong> <strong>for</strong> <strong>Microsoft</strong> <strong>SQL</strong> <strong>Server</strong> 269

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

Saved successfully!

Ooh no, something went wrong!