<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Oracle index with NULL values</title>
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:blue;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'>In that case it might be the path proc is
messed up. Take a look in the qkr file (created at compilation) to confirm that
the path proc details are being generated correctly.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Selfors Bjørn<br>
<b><span style='font-weight:bold'>Sent:</span></b> 15 January 2007 14:59<br>
<b><span style='font-weight:bold'>To:</span></b> Joe Boyle; Powerh-L (E-post)<br>
<b><span style='font-weight:bold'>Subject:</span></b> SV: Oracle index with
NULL values</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>The index is simple:</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>create index kundeid1 on kunde(kundeid);</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>and the access statement</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>ACCESS ...</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>ACCESS&nbsp; &amp;<br>
NOGENERIC&amp;<br>
REQUEST KUNDEID OF KUNDE &amp;<br>
USING KUNDEID OF KUNDE &amp;<br>
VIA KUNDEID&nbsp; <br>
ACCESS...</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>but the KUNDEID field may contain NULL
values</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Bjørn Selfors, Delfi Data a.s.</span></font> <o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Opprinnelig melding-----<br>
<b><span style='font-weight:bold'>Fra:</span></b> Joe Boyle
[mailto:atla38@dsl.pipex.com]<br>
<b><span style='font-weight:bold'>Sendt:</span></b> 15. januar 2007 15:47<br>
<b><span style='font-weight:bold'>Til:</span></b> Selfors Bjørn; 'Powerh-L
(E-post)'<br>
<b><span style='font-weight:bold'>Emne:</span></b> RE: Oracle index with NULL
values</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'>Probably, and assuming that the index has
at least two segments, the easiest way would be to add the second segment as a
repeating index in its own right, and then add a second access statement for
the new index.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=3 color=blue face=Arial><span style='font-size:
12.0pt;font-family:Arial;color:blue'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com [mailto:powerh-l-bounces+atla38=dsl.pipex.com@lists.sowder.com]
<b><span style='font-weight:bold'>On Behalf Of </span></b>Selfors Bjørn<br>
<b><span style='font-weight:bold'>Sent:</span></b> 15 January 2007 11:22<br>
<b><span style='font-weight:bold'>To:</span></b> Powerh-L (E-post)<br>
<b><span style='font-weight:bold'>Subject:</span></b> Oracle index with NULL
values</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Hi
all!</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>(Axiant
3.1, Windows, Oracle)</span></font> <br>
<font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>I have
added an index to a table (field includes null values), and I have added an
access statement in my screen.&nbsp; But when testing it, I get the error
&quot;Use SELECT to find NULL values&quot; when I enter the TAB, planning to
enter some value in the next request field.</span></font><o:p></o:p></p>

<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>How
do I avoid this error?</span></font> <o:p></o:p></p>

<p><font size=2 color=gray face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:gray'>mvh/regards</span></font> <br>
<font size=2 color=gray face=Arial><span style='font-size:10.0pt;font-family:
Arial;color:gray'>Bjørn Selfors,</span></font> <o:p></o:p></p>

</blockquote>

</div>

</body>

</html>