<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: bind variable statement in st05 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738783#M1111808</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone send me a detailed document on INDEX RANGE SCAN and INDEX UNIQUE SCAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2008 04:30:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-12T04:30:33Z</dc:date>
    <item>
      <title>bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738778#M1111803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have given the following bind variable statement in st05 and clicked on explain sql.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"BUKRS" , "VKORG" , "KUNAG" , "KUNNR" , "MATNR" , "ZZDATIN" , "ZZSTOCK"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"ZRS06"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"MANDT" = :A0 AND "BUKRS" = :A1 AND "VKORG" = :A2 AND "KUNAG" = :A3 AND "KUNNR" = :A4 AND "WERKS" = :A5 AND "MATNR" = :A6 AND "ZZDATIN" &amp;lt;= :A7 OR "MANDT" = :A7 AND "BUKRS" = :A8 AND "VKORG" = :A9 AND "KUNAG" = :A10 AND "KUNNR" = :A11 AND "WERKS" = :A12 AND "MATNR" = :A13 AND "ZZDATIN" &amp;lt;= :A14 OR "MANDT" = :A15 AND "BUKRS" = :A16 AND "VKORG" = :A17 AND "KUNAG" = :A18 AND "KUNNR" = :A19 AND "WERKS" = :A20 AND "MATNR" = :A21 AND "ZZDATIN" &amp;lt;= :A22 OR "MANDT" = :A23 AND "BUKRS" = :A24 &lt;/P&gt;&lt;P&gt;AND "VKORG" = :A25 AND "KUNAG" = :A26 AND "KUNNR" = :A27 AND "WERKS" = :A28 AND "MATNR" = :A29 AND "ZZDATIN" &amp;lt;= :A30 OR "MANDT" = :A31 AND "BUKRS" = :A32 AND "VKORG" = :A33 AND "KUNAG" = :A34 AND "KUNNR" = :A35 AND "WERKS" = :A36 AND "MATNR" = :A37 AND "ZZDATIN" &amp;lt;= :A38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then i got the follwing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL Statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT&lt;/P&gt;&lt;P&gt;  "BUKRS" , "VKORG" , "KUNAG" , "KUNNR" , "MATNR" , "ZZDATIN" , "ZZSTOCK"&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;  "ZRS06"&lt;/P&gt;&lt;P&gt;WHERE&lt;/P&gt;&lt;P&gt;  "MANDT" = :A0 AND "BUKRS" = :A1 AND "VKORG" = :A2 AND "KUNAG" = :A3 AND "KUNNR" = :A4 AND&lt;/P&gt;&lt;P&gt;  "WERKS" = :A5 AND "MATNR" = :A6 AND "ZZDATIN" &amp;lt;= :A7 OR "MANDT" = :A7 AND "BUKRS" = :A8 AND&lt;/P&gt;&lt;P&gt;  "VKORG" = :A9 AND "KUNAG" = :A10 AND "KUNNR" = :A11 AND "WERKS" = :A12 AND "MATNR" = :A13 AND&lt;/P&gt;&lt;P&gt;  "ZZDATIN" &amp;lt;= :A14 OR "MANDT" = :A15 AND "BUKRS" = :A16 AND "VKORG" = :A17 AND "KUNAG" = :A18 AND&lt;/P&gt;&lt;P&gt;  "KUNNR" = :A19 AND "WERKS" = :A20 AND "MATNR" = :A21 AND "ZZDATIN" &amp;lt;= :A22 OR "MANDT" = :A23 AND&lt;/P&gt;&lt;P&gt;  "BUKRS" = :A24 AND "VKORG" = :A25 AND "KUNAG" = :A26 AND "KUNNR" = :A27 AND "WERKS" = :A28 AND&lt;/P&gt;&lt;P&gt;  "MATNR" = :A29 AND "ZZDATIN" &amp;lt;= :A30 OR "MANDT" = :A31 AND "BUKRS" = :A32 AND "VKORG" = :A33 AND&lt;/P&gt;&lt;P&gt;  "KUNAG" = :A34 AND "KUNNR" = :A35 AND "WERKS" = :A36 AND "MATNR" = :A37 AND "ZZDATIN" &amp;lt;= :A38&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execution Plan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SELECT STATEMENT ( Estimated Costs = 5 , Estimated #Rows = 5 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        11 CONCATENATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            2 TABLE ACCESS BY INDEX ROWID ZRS06&lt;/P&gt;&lt;P&gt;              ( Estim. Costs = 1 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                1 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;                  ( Estim. Costs = 4 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;                  Search Columns: 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            4 TABLE ACCESS BY INDEX ROWID ZRS06&lt;/P&gt;&lt;P&gt;              ( Estim. Costs = 1 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                3 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;                                    ( Estim. Costs = 4 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;                 Search Columns: 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           6 TABLE ACCESS BY INDEX ROWID ZRS06&lt;/P&gt;&lt;P&gt;             ( Estim. Costs = 1 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               5 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;                 ( Estim. Costs = 4 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;                 Search Columns: 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           8 TABLE ACCESS BY INDEX ROWID ZRS06&lt;/P&gt;&lt;P&gt;             ( Estim. Costs = 1 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               7 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;                 ( Estim. Costs = 4 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;                 Search Columns: 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           10 TABLE ACCESS BY INDEX ROWID ZRS06&lt;/P&gt;&lt;P&gt;              ( Estim. Costs = 1 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               9 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;                 ( Estim. Costs = 4 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;                 Search Columns: 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me the order of these statements?and what is the meaning of table access by index rowid and index range scan?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 10:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738778#M1111803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T10:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738779#M1111804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. execution plan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You have the execution step numbers in front of the steps and &lt;/P&gt;&lt;P&gt;you read the explain plan from inside to outside and from bottom to top:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;             2 TABLE ACCESS BY INDEX ROWID ZRS06      *** this is the 2nd step&lt;/P&gt;&lt;P&gt;&amp;gt;                       1 INDEX RANGE SCAN ZRS06~Z00                *** this is the 1st step&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can say that 2 uses 1 to execute the step (here retrieving rowids from the index and lookup in the table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it branches to &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;             4 TABLE ACCESS BY INDEX ROWID ZRS06&lt;/P&gt;&lt;P&gt;&amp;gt;                       3 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;..... upto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; 11 CONCATENATION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wich combines all the rows retrieved and provides them to the output buffer of the SELECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.Index range scan&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index range scan is a method for accessing a range values of a particular&lt;/P&gt;&lt;P&gt;column. AT LEAST the leading column of the index  must be supplied to &lt;/P&gt;&lt;P&gt;access data via the index.&lt;/P&gt;&lt;P&gt;Can be used for range operations (e.g. &amp;gt; &amp;lt; &amp;lt;&amp;gt; &amp;gt;= &amp;lt;= between)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3. Documentation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, you touched the area of database optimizing (here: ORACLE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get yourself a free account on &lt;A href="http://www.oracle.com/technology/index.html" target="test_blank"&gt;http://www.oracle.com/technology/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and I would encourage you to step into the docs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/optimops.htm#721" target="test_blank"&gt;http://download.oracle.com/docs/cd/B10501_01/server.920/a96533/optimops.htm#721&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e: Understanding Access Paths for the CBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 11:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738779#M1111804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T11:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738780#M1111805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
"MANDT" = :A0 AND "BUKRS" = :A1 AND "VKORG" = :A2 AND "KUNAG" = :A3 AND
"KUNNR" = :A4 AND "WERKS" = :A5 AND "MATNR" = :A6 AND "ZZDATIN" &amp;lt;= :A7 OR

 "MANDT" = :A7 AND "BUKRS" = :A8 AND "VKORG" = :A9 AND "KUNAG" = :A10 AND
 "KUNNR" = :A11 AND "WERKS" = :A12 AND "MATNR" = :A13 AND "ZZDATIN" &amp;lt;= :A14 OR

 "MANDT" = :A15 AND "BUKRS" = :A16 AND "VKORG" = :A17 AND "KUNAG" = :A18 AND
"KUNNR" = :A19 AND "WERKS" = :A20 AND "MATNR" = :A21 AND "ZZDATIN" &amp;lt;= :A22 OR 

"MANDT" = :A23 AND "BUKRS" = :A24 AND "VKORG" = :A25 AND "KUNAG" = :A26 AND
"KUNNR" = :A27 AND "WERKS" = :A28 AND "MATNR" = :A29 AND "ZZDATIN" &amp;lt;= :A30 OR

 "MANDT" = :A31 AND "BUKRS" = :A32 AND "VKORG" = :A33 AND "KUNAG" = :A34 AND
 "KUNNR" = :A35 AND "WERKS" = :A36 AND "MATNR" = :A37 AND "ZZDATIN" &amp;lt;= :A38
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it is a FOR ALL ENTRIES, 5 blocks with 8 variables =&amp;gt; 40 variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; 5 Branches in the Explain, alway index scan and table access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And there is a bug in the display, A7 comes twice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 12:49:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738780#M1111805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T12:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738781#M1111806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; And there is a bug in the display, A7 comes twice.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Siegfried&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;More likely a bug in the original program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2008 14:16:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738781#M1111806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-11T14:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738782#M1111807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yukon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above bind variable statement only zzdatin field is having &amp;lt;= operator.Does it mean that the table is accessed by the rowid's generated by accessing the range values of this field.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 04:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738782#M1111807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T04:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738783#M1111808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone send me a detailed document on INDEX RANGE SCAN and INDEX UNIQUE SCAN.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 04:30:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738783#M1111808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T04:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738784#M1111809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi Yukon,&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; In the above bind variable statement only zzdatin field is having &amp;lt;= operator.Does it mean that the table is accessed by the rowid's generated by accessing the range values of this field.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rowid is a ORACLE specific globally unique identifier (another term is extended or physical rowid) for a row in a database. It is created at the time the row is inserted into a table, and destroyed when it is removed from a table. It points to  the row wich contains the data in the table.&lt;/P&gt;&lt;P&gt;It's the fastest way to retrieve a table row&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex.: table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ROWID                            ZZDATIN 
------------------ ---------------------------------- 
AAAAaoAATAAABrXAAA 20081111 
AAAAaoAATAAABrXAAE 20081110 
AAAAaoAATAAABrXAAG 20081109 
AAAAaoAATAAABrXAAN 20081108
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;An extended rowid has a four-piece format, OOOOOOFFFBBBBBBRRR:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;OOOOOO: The data object number that identifies the database segment (AAAAao in the example)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      ( a segment could be i.e. a table or an index )&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;FFF: The tablespace-relative datafile number of the datafile that contains the row (file AAT in the example).&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BBBBBB: The data block that contains the row (block AAABrX in the example). &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;RRR: The row in the block.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index is storing this pointer along with the ordered values of the indexed columns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the field  zzdatin gets selected Optimizer decides to use an index range scan (because of the &amp;lt;=)&lt;/P&gt;&lt;P&gt;The index blocks belonging to the value range are read and using the rowid's does a fast lookup into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP provides the real values of zzdatin to the database and the database takes care of the rest (execution plan, index read, table lookup).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check the original ORACLE documentation I mentioned?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have also SAP Notes on access paths.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;912620 - FAQ: Oracle Indexes&lt;/P&gt;&lt;P&gt;766349 - FAQ: Oracle SQL-Optimization&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 07:10:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738784#M1111809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T07:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: bind variable statement in st05</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738785#M1111810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; 9 INDEX RANGE SCAN ZRS06~Z00&lt;/P&gt;&lt;P&gt;&amp;gt; ( Estim. Costs = 4 , Estim. #Rows = 1 )&lt;/P&gt;&lt;P&gt;&amp;gt; Search Columns: 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the index Z000 on your system, the optimzer uses 7 columns of this index, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; many records fulfill condition : INDEX RANGE SCAN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; if all fields of a unique index are specified =&amp;gt; INDEX UNIQUE SCAN, like SELECT SINGLE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2008 08:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bind-variable-statement-in-st05/m-p/4738785#M1111810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-12T08:11:42Z</dc:date>
    </item>
  </channel>
</rss>

