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.

Chapter 7: The <strong>Data</strong><strong>Server</strong> Tutorial<br />

The <strong>Data</strong> Dictionary displays the standard MS <strong>SQL</strong> <strong>Server</strong> names <strong>for</strong> data types<br />

and not the native ODBC data source names. Using the <strong>Data</strong> Dictionary, you can<br />

make the following changes:<br />

• Change the data type or the <strong>for</strong>mat in which <strong>OpenEdge</strong> displays the data. For<br />

example, choose the MS <strong>SQL</strong> <strong>Server</strong> decimal data type, which in turn<br />

defaults to the <strong>OpenEdge</strong> INTEGER data type mapping. However, you can<br />

change the decimal mapping to either the <strong>OpenEdge</strong> INTEGER or INT64<br />

data type instead. (The previous Field Properties dialog box shows the<br />

DECIMAL data type with the INT64 data type option selected.) For more<br />

in<strong>for</strong>mation about optional settings <strong>for</strong> data types, see the “<strong>Data</strong> types”<br />

section on page 71 and Appendix C, “<strong>Data</strong> Type Details.”<br />

• For CHARACTER fields that are not indexed, you can change the case<br />

sensitivity.<br />

Note: You cannot create fields or add mandatory or extent properties to them.<br />

5. Choose <strong>Data</strong><strong>Server</strong> to view the field name and position as stored in the data<br />

source. A dialog box similar to the following appears:<br />

Note: You cannot change data source in<strong>for</strong>mation using the <strong>Data</strong> Dictionary. For<br />

example, the total_paid field is named total_paid in the database.<br />

6. Choose OK.<br />

7. When you are done making changes, choose OK to return to the <strong>Data</strong> Dictionary<br />

main window.<br />

Note: You can override field-level validation expressions in your application by<br />

including the appropriate ABL statement.<br />

310 <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>

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

Saved successfully!

Ooh no, something went wrong!