ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaik_5.4.0.1/rzaikconnstrkeywordsformatprop.htm

112 lines
5.9 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Connection string keywords - Format properties" />
<meta name="abstract" content="Use these iSeries Access ODBC driver connection string keywords to change Format properties of the ODBC connection." />
<meta name="description" content="Use these iSeries Access ODBC driver connection string keywords to change Format properties of the ODBC connection." />
<meta name="DC.Relation" scheme="URI" content="connectkeywords.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1999, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaikconnstrkeywordsformatprop" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Connection string keywords - Format properties</title>
</head>
<body id="rzaikconnstrkeywordsformatprop"><a name="rzaikconnstrkeywordsformatprop"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Connection string keywords - Format properties</h1>
<div><p>Use these iSeries™ Access ODBC driver connection string keywords
to change Format properties of the ODBC connection.</p>
<div class="section"><p>The following table lists connection string keywords for Format
properties that are recognized by the iSeries Access ODBC driver:</p>
</div>
<div class="section">
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><caption>Table 1. iSeries Access ODBC connection string keywords for
Format properties</caption><thead align="left"><tr><th align="center" valign="middle" width="21.73913043478261%" id="d0e35">Keyword</th>
<th align="center" valign="middle" width="35.177865612648226%" id="d0e37">Description</th>
<th align="center" valign="middle" width="33.59683794466403%" id="d0e39">Choices</th>
<th align="center" valign="middle" width="9.486166007905137%" id="d0e41">Default</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">DFT or DateFormat</td>
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies the date format used in date literals within
SQL statements.</td>
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = yy/dd (*JUL) <p>1 = mm/dd/yy (*MDY)</p>
<p>2 = dd/mm/yy
(*DMY)</p>
<p>3 = yy/mm/dd (*YMD)</p>
<p>4 = mm/dd/yyyy (*USA)</p>
<p>5 = yyyy-mm-dd
(*ISO)</p>
<p>6 = dd.mm.yyyy (*EUR)</p>
<p>7 = yyyy-mm-dd (*JIS)</p>
</td>
<td valign="top" width="9.486166007905137%" headers="d0e41 ">5</td>
</tr>
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">DSP or DateSeparator</td>
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies the date separator used in date literals within
SQL statements. This property has no effect unless the DateFormat property
is set to 0 (*JUL), 1 (*MDY), 2 (*DMY), or 3 (*YMD).</td>
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = "/" (forward slash) <p>1 = "-" (dash)</p>
<p>2 =
"." (period)</p>
<p>3 = "," (comma)</p>
<p>4 = " " (blank)</p>
</td>
<td valign="top" width="9.486166007905137%" headers="d0e41 ">1</td>
</tr>
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">DEC or Decimal</td>
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies the decimal separator used in numeric literals
within SQL statements.</td>
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = "." (period) <p>1 = "," (comma)</p>
</td>
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0</td>
</tr>
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">TFT or TimeFormat</td>
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies the time format used in time literals within
SQL statements.</td>
<td valign="top" width="33.59683794466403%" headers="d0e39 ">0 = hh:mm:ss (*HMS) <p>1 = hh:mm AM/PM (*USA)</p>
<p>2
= hh.mm.ss (*ISO)</p>
<p>3 = hh.mm.ss (*EUR)</p>
<p>4 = hh:mm:ss (*JIS)</p>
</td>
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0</td>
</tr>
<tr><td valign="top" width="21.73913043478261%" headers="d0e35 ">TSP or TimeSeparator</td>
<td valign="top" width="35.177865612648226%" headers="d0e37 ">Specifies the time separator used in time literals within
SQL statements. This property has no effect unless the "time format" property
is set to "hms".</td>
<td valign="top" width="33.59683794466403%" headers="d0e39 "><ul><li>0 = ":" (colon)</li>
<li>1 = "." (period)</li>
<li>2 = "," (comma)</li>
<li>3 = " " (blank)</li>
</ul>
</td>
<td valign="top" width="9.486166007905137%" headers="d0e41 ">0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="connectkeywords.htm" title="The iSeries Access ODBC driver has many connection string keywords that can be used to change the behavior of the ODBC connection.">Connection string keywords</a></div>
</div>
</div>
</body>
</html>