ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaii_5.4.0.1/rzaiiodbc44.htm

62 lines
3.6 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="concept" />
<meta name="DC.Title" content="SQL0104 - Token &amp;1 was not valid. Valid tokens: &amp;2" />
<meta name="abstract" content="Invalid SQL Syntax message" />
<meta name="description" content="Invalid SQL Syntax message" />
<meta name="DC.Relation" scheme="URI" content="rzaiiodbc36.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaiiodbc38.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaiiodbc44" />
<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>SQL0104 - Token &amp;1 was not valid. Valid tokens: &amp;2</title>
</head>
<body id="rzaiiodbc44"><a name="rzaiiodbc44"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">SQL0104 - Token &amp;1 was not valid. Valid tokens: &amp;2</h1>
<div><p>Invalid SQL Syntax message</p>
<p>Probable cause:</p>
<ul><li>The application generated an SQL statement with incorrect syntax. For
help with problem determination, use the ODBC trace tool, provided with the
ODBC Administrator, to look at the SQL.LOG.</li>
<li>See SQL0114 - Relational database &amp;1 not the same as current &amp;2
server if "*" is the token.</li>
<li>The SQL statement is using a literal that exceeds the 32K size limitation.
Consider using a parameter marker instead of a literal. This reduces the size
of the statement while allowing you to pass the maximum field size woth of
data.</li>
<li>The application is using incorrect syntax for left outer join. Some applications
default to a proprietary left outer join syntax of *= in the WHERE clause
(PowerBuilder 3.0 &amp; 4.0, Crystal Reports). Check with your application
vendor. Most provide an ini setting or a configuration value to use ODBC left
outer join syntax.</li>
<li>Your ODBC Data Source Name (DSN) configuration uses the wrong decimal
separator character. Some users have set the decimal separator parameter of
the ODBC connection to a comma instead of a period.</li>
</ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaiiodbc36.htm" title="List of common SQL errors that are encountered by applications">SQL errors</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaiiodbc38.htm" title="Update the Relational Database Directory Entry.">SQL0114 - Relational database &amp;1 not the same as current &amp;2 server</a></div>
</div>
</div>
</body>
</html>