How To Index a Connect by

Hello; how should i index following statement
SELECT
I.IZAB_IZAB_ID ERSTEID,
I.IZAB_ID ID,
I.IZAB_SOLL_ABFAHRT_DATUM SOLLABFAHRTDATUM,
I.IZAB_EINGANGS_TAG_PLAN EINGANGSTAG,
I.SZAB_SOZU_SOZU_ZUG_NR ZUGNR,
I.SZAB_SOZU_BEZK_BEZK_KUERZEL BEZKUERZEL,
I.SZAB_LOKA_EBVK_EBVK_KZN_START EBVSTART,
I.SZAB_LOKA_LOKA_BAST_NR_START BASTNRSTART,
I.SZAB_LOKA_EBVK_EBVK_KZN_ENDE EBVENDE,
I.SZAB_LOKA_LOKA_BAST_NR_ENDE BASTNRENDE,
I.IZAB_BEREITSTELLUNGSZEITPUNKT BEREITSTELLZEIT,
I.IZAB_IST_ABFAHRT_DATUM ABFAHRTDATUM,
I.IZAB_IST_ANKUNFT_DATUM ANKUNFTDATUM,
I.IZAB_KAPAZITAET_ACHSEN KPACHSEN,
I.IZAB_KAPAZITAET_LAENGE KPLAENGE,
I.IZAB_KAPAZITAET_GEWICHT KPGEWICHT,
I.IZAB_KAPAZITAET_TASCHEN KPTASCHEN,
I.IZAB_GEBUCHT_ACHSEN KPGEBACHSEN,
I.IZAB_GEBUCHT_LAENGE KPGEBLAENGE,
I.IZAB_GEBUCHT_GEWICHT KPGEBGEWICHT,
I.IZAB_GEBUCHT_TASCHEN KPGEBTASCHEN,
I.IZAB_BUCH_SCHLUSS_ALLG BUCHSCHLUSS
FROM
IZAB I
START WITH
I.SZAB_LOKA_EBVK_EBVK_KZN_START = 80
AND I.SZAB_LOKA_LOKA_BAST_NR_START = 80721
AND I.SZAB_SOZU_BEZK_BEZK_KUERZEL = 'E'
AND I.SZAB_SOZU_SOZU_ZUG_NR = 43912
AND TRUNC(I.IZAB_SOLL_ABFAHRT_DATUM) = TRUNC(SYSDATE)
CONNECT BY
I.IZAB_IZAB_ID = PRIOR I.IZAB_IZAB_ID
AND I.SZAB_LOKA_EBVK_EBVK_KZN_START = PRIOR I.SZAB_LOKA_EBVK_EBVK_KZN_ENDE
AND I.SZAB_LOKA_LOKA_BAST_NR_START = PRIOR I.SZAB_LOKA_LOKA_BAST_NR_ENDE
AND I.SZAB_SOZU_SOZU_ZUG_NR = PRIOR I.SZAB_SOZU_SOZU_ZUG_NR
AND I.SZAB_SOZU_BEZK_BEZK_KUERZEL = PRIOR I.SZAB_SOZU_BEZK_BEZK_KUERZEL
AND I.SZAB_SOZU_SOZU_ZUG_NR = 43912
AND I.SZAB_SOZU_BEZK_BEZK_KUERZEL = 'E'
Table :
IZAB_IZAB_ID NUMBER(8)
IZAB_ID NUMBER(8)
IZAB_SOLL_ABFAHRT_DATUM DATE
IZAB_EINGANGS_TAG_PLAN DATE
SZAB_SOZU_SOZU_ZUG_NR VARCHAR2(6) Y
SZAB_SOZU_BEZK_BEZK_KUERZEL VARCHAR2(1) Y
SZAB_LOKA_EBVK_EBVK_KZN_START NUMBER(2) Y
SZAB_LOKA_LOKA_BAST_NR_START NUMBER(6) Y
SZAB_LOKA_EBVK_EBVK_KZN_ENDE NUMBER(2) Y
SZAB_LOKA_LOKA_BAST_NR_ENDE NUMBER(6) Y
IZAB_BEREITSTELLUNGSZEITPUNKT DATE Y
IZAB_IST_ABFAHRT_DATUM DATE Y
IZAB_IST_ANKUNFT_DATUM DATE Y
IZAB_KAPAZITAET_ACHSEN NUMBER(3,1) Y
IZAB_KAPAZITAET_LAENGE NUMBER(6,3) Y
IZAB_KAPAZITAET_GEWICHT NUMBER(10,3) Y
IZAB_KAPAZITAET_TASCHEN NUMBER(2) Y
IZAB_GEBUCHT_ACHSEN NUMBER(3,1) Y
IZAB_GEBUCHT_LAENGE NUMBER(9,3) Y
IZAB_GEBUCHT_GEWICHT NUMBER(13,3) Y
IZAB_GEBUCHT_TASCHEN NUMBER(4) Y
IZAB_BUCH_SCHLUSS_ALLG DATE Y
IZAB_PROZENT_GEWICHT NUMBER(3) Y
IZAB_PROZENT_LAENGE NUMBER(3) Y
null

Unless you think the people on this forum can simply read this code and parse/format it in their heads... you won't get anybody to help you.
Please remember to place your code between \[code\] <your code goes here> \[code\] tags.
Message was edited by:
RACER

Similar Messages

  • How to use JDBC Connection Pools in a standalone application?

    Hi, there,
    I have a question about how to use JDBC Connection Pools in an application. I know well about connection pool itself, but I am not quite sure how to keep the pool management object alive all the time to avoid being destroyed by garbage collection.
    for example, at the website: http://www.developer.com/java/other/article.php/626291, there is a simple connection pool implementation. there are three classes:JDBCConnection, the application's gateway to the database; JDBCConnectionImpl, the real class/object to provide connection; and JDBCPool, the management class to manage connection pool composed by JDBCConnectionImpl. JDBCPool is designed by Singleton pattern to make sure only one instance. supposing there is only one client to use connection for many times, I guess it's ok because this client first needs instantiate JDBCPool and JDBCConnectionImpl and then will hold the reference to JDBCPool all the time. but how about many clients want to use this JDBCPool? supposing client1 finishes using JDBCPool and quits, then JDBCPool will be destroyed by garbage collection since there is no reference to it, also all the connections of JDBCConnectionImpl in this pool will be destroyed too. that means the next client needs recreate pool and connections! so my question is that if there is a way to keep pool management instance alive all the time to provide connection to any client at any time. I guess maybe I can set the pool management class as daemon thread to solve this problem, but I am not quite sure. besides, there is some other problems about daemon thread, for example, how to make sure there is only one daemon instance? how to quit it gracefully? because once the whole application quits, the daemon thread also quits by force. in that case, all the connections in the pool won't get chance to close.
    I know there is another solution by JNDI if we develop servlet application. Tomcat provides an easy way to setup JNDI database pooling source that is available to JSP and Servlet. but how about a standalone application? I mean there is no JNDI service provider. it seems a good solution to combine Commons DBCP with JNID or Apache's Naming (http://jakarta.apache.org/commons/dbcp/index.html). but still, I don't know how to keep pool management instance alive all the time. once we create a JNDI enviroment or naming, if it will save in the memory automatically all the time? or we must implement it as a daemon thread?
    any hint will be great apprieciated!
    Sam

    To my knoledge the pool management instance stays alive as long as the pool is alive. What you have to figure out is how to keep a reference to it if you need to later access it.

  • How to create a connection pooling in Netbeans 6.0 using the oracle driver

    hi all,
    I am using Netbeans 6.0. Apache Tomcat 6.0.14 server, oracle 9i.
    I tried to create a connection pooling using tomcat web server.
    I have included the following code in context.xml and web.xml.
    CONTEXT.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/network1">
    <Resource name="jdbc/myoracle"
    auth="Container"
    type="javax.sql.DataSource"
    username="scott"
    password="tiger"
    factory="BasicDataSourceFactory"
    driverClassName="oracle.jdbc.OracleDriver"
    url="jdbc:odbc:thin:@127.0.0.1:1521:mydb"
    maxActive="20"
    maxIdle="10"
    maxwait="-1"/>
    </Context>
    WEB.XML:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <session-config>
    <session-timeout>
    30
    </session-timeout>
    </session-config>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    <resource-ref>
    <description>Oracle Datasource example</description>
    <res-ref-name>jdbc/myoracle</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    After that i have included the following JDBC driver's jar files in the $Catalina_Home/lib folder.
    classes 111.jar,
    classes 111_g.jar
    classes12.jar
    classes 12_g.jar
    classes12dms.jar
    classes12dms_g.jar
    nls_charset11.jar
    nls_charset12.jar
    ocrs12.jar
    ojdbc14.jar
    ojdbc14_g.jar
    Then i stop the tomcat web server and start it again.
    In jsp page i have included the following code:
    Context ctx=new InitialContext();
    Context envctx=(Context)ctx.lookup("java:comp:env");
    DataSource ds=(DataSource)envctx.lookup("jdbc/myoracle");
    Connection con=ds.getConnection(); ----->(In this line an error occured that Connection class cannot be found.)
    please help me how to create a connection pooling and rectify the error in conneciton.
    Thanks in advance

    Please refer
    http://www.netbeans.org/kb/60/web/customer-book.html

  • How to establish the connection between crm and r/3

    Hi,
    Sorry for posting this question in this forum, i did not find any CRM forums.My question is,How to establish the connection between CRM and R/3...in my office i installed standard alone CRM system,but it is not talking to R/3.
    Could any one tell me where to find adapters and plugins for this.
    Thanks in advance.
    Ajey

    Hello Ajey,
    in the case you mean the connection between R/3 and SAP CRM you should read the Best Practice Guides:
    B01: CRM Generation
    C71: CRM Connectivity
    B09: CRM Replication
    from http://help.sap.com/bp_crmv240/index.htm. There is a CRM Forum at http://www.sap.com/community/ and also at http://www.sapfans.com/.
    Regards
    Gregor

  • I am using windows 8.1. But I recieved the error This apple id is valid but is not an icloud account. How can I get connected to Icloud?

    I am using Windows 8.1. When I try to connect to Icloud I get the Message: This Apple id is valid, but is not an icloud account.
    How can I get connected to Icloud?

    Hello pmarrone,
    You may only sign up for an iCloud account via one of the following systems or devices.
    You can sign up for iCloud on an iPhone, iPad, or iPod touch with iOS 5 or later, or through System Preferences on a Mac with OS X Lion v10.7.4 or later. Just follow the setup instructions for your iOS device or Mac.
    Creating an iCloud account: Frequently Asked Questions
    http://support.apple.com/kb/HT4436
    Cheers,
    Allen

  • How to dynamically set connection string for report in C# code?

    Hi,
    I have installed CRVS2010. I have created new Crystal Report WPF Application and new report. I would like to set connection string for report in code dynamically.
    Is this possible?
    Thanks
    Ivana

    Lots of posts in this forum on how to set database connections. WPF should not be a consideration as it's just a viewer. The report engine is still the same. Search these forums. Use the search box at the top right corner of this page. Look at samples here:
    https://wiki.sdn.sap.com/wiki/display/BOBJ/CrystalReportsfor.NETSDK+Samples
    Note that none of the samples above are using WPF, but like I said, the WPF is just a different viewer and will not impact how the report engine logs on to a database. (I think of it as a gray car vs. a red car. Same engine, just the color is different)
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How many users can connect to a shared drive on a non-server workstation?

    How many users can connect to a shared drive on a non-server workstation? We're waiting for our server to arrive and in the interum we're using a Pegasus 2 R6 attached to an iMac running Mavericks as our fileserver. It's been sketchy, the connection to the server being dropped once in a while or the inability to mount the drive after a week of success. The Pegasus we're using now will be attached to a server once it arrives. For now I need to figure what's coausing trouble before I commit to this being our main storage as planned. The data is backed up every night so I'm not worried, its the usability issues. 5-7 people are mounting this drive and opening/saving at the same time. Is there a limit to Maverick's fileserving ability that may be causing this? Understandable if so.

    The file server in the client version of OS X has a default limit of 10 simultaneous connections. That limit can be raised by installing OS X Server, or lowered by setting a hidden preference. Assuming you've done neither, you may be able to solve the problem temporarily by stopping and restarting file sharing in the Sharing preference pane, or permanently by setting another hidden preference on the server to break idle connections quickly.
    defaults write /Library/Preferences/com.apple.AppleFileServer idleDisconnectOnOff -bool YES
    Stop and restart file sharing. To reverse the change, run this command in the same way:
    defaults write /Library/Preferences/com.apple.AppleFileServer idleDisconnectOnOff -bool NO
    Credit for this solution to ASC member suter:
    this file server will not allow any additional users to log on

  • How to use single connection

    Hello Gurus,
    I am new in adf and using jdev 11.1.2.3.
    I am developing application in which i am using dynamic shell UI. The structure of application is i have one main application modules with the UI shell. The other modules are developed in separate application and has its own data control and task flows and then i deployed them as adf library. Then i am consuming the task flow in the main application.
    As i mention each module has its own data control, so when i open a module it makes new connection with database. It means if i have opened ten modules then it is opening ten connections with database.
    Is is possible i can configure somewhere to use single connection for all modules and not to open the connection for each module.
    And one more thing if i undeploy the application the connection is still with database as v$session view shows it. How i can close connection if i close the tab in ui shell.
    Thanks,

    Hi, You can explore the option of nesting your AM.  Check below links to know more about them.
    Decompiling ADF Binaries: What you may need to know about Nested Application Module
    Nested application modules | ADF KickStart
    Good luck !

  • How do I get Connection Line to show up in Pages

    How do I open Connection Line in Pages. It is grayed out in my menu. Thank you!

    As Jerry says:
    Click on (only) 2 floating objects at a time. It sounds like you have more than 2 selected, otherwise you would not even see thee the menu option.
    Peter

  • How many people can connect to the mail server 3

    I am looking to grow my business which consist of a growing email base with emails that need to be set up and managed.  How many emails can be hosted on the mac server?

    Hello Thomas,
    "MAXLOGMEMBERS" has nothing to do with the number of users that can connect to the instance. It is a parameter to control the number of files that can be assigned to a group of (redo) log files.
    how many people can connect at Oracle XE?Well, that depends on how they connect. There are parameters controlling the number of sessions in the database. But if you have a technical user, e.g. when using APEX, there may be more users than sessions in the database...
    So you need to clarify what kind of user access you mean.
    -Udo
    Edited by: Udo on 14.10.2011 15:19

  • How to configure JDBC connection in oracle BI publisher with teradata datab

    Hi,
    I am going to use Oracle BI publisher to create report.
    Our database is Teradata.
    How to create database connection for Teradata in BI publisher.
    How to create JDBC connection.
    What should be the Database Driver Class?
    What should be the connection string format?
    Please provide me the suggetion.
    Thanks,
    Santanu Manna

    Hi;
    I suggest please refer below which could be helpful on your issue:
    How To Generate XML Output (Excel, HTML, PDF) for FSG Reports [ID 804913.1]
    E-XMLP: BI Publisher Report RTF Template to Excel output is not same as PDF,RTF or HTML format.[Article ID 1515711.1]
    BI Publisher Enterprise Excel Output File Size is Too Large [ID 1271544.1]
    Regard
    Helios

  • How to change the connection for a recurring report

    I have a group of reports running in production on recurring schedules.  I need to update the database connection for these as we are changing our server environment.
    I open the report in Crystal Reports 11 and changed the database connection saved the report back to the Enterprise Server location (I also have a backup of the original).  When I preview the report using the Central Management Console, the report uses the updated database connection info.  When I test the recurring report I get a logon failure.  When I go to the instance to look at the database logon for the recurring instance it shows the old database connection.
    How can this database connection get updated for the current group of instances for these recurring reports?
    Thanks
    BOBJCMC

    Hi Stratos,
    I tried to use .NET SDK to update the Logon_Info properties as below. But it does not seem to be working. Is this the correct way to update logon info for recurring instances?
    infoObject.ProcessingInfo.Properties["SI_LOGON_INFO"].Properties["SI_LOGON1"].Properties["SI_USER"].Value  = <userid>
    infoObject.ProcessingInfo.Properties["SI_LOGON_INFO"].Properties["SI_LOGON1"].Properties["SI_PASSWORD"].Value  = "pwd"
    Thanks
    Ajith

  • How to use a connection ODBC in  crystal reports viewer?

    Hi Guys!
    I need to know if for update a report in crystal reports viewer, is necessary, have a connection SAP Business Objects Business Intelligence. How to use a connection ODBC in  crystal reports viewer?

    Hi Guys!
    I need to know if for update a report in crystal reports viewer, is necessary, have a connection SAP Business Objects Business Intelligence. How to use a connection ODBC in  crystal reports viewer?

  • How to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?

    Hi, I would be very grateful if someone could tell me how to disconnect internet connection in Time Capsule and reconnect without restarting the whole device?
    The thing is that as I have a dynamic IP address, everytime I restart the internet connection my IP address changes. I sometimes need it to change, so I need to restart the connection. I don't know another way to restart the connection than restarting the whole Time Capsule.
    Thanks!!
    PD: the computer I use is Windows based, using the Airport Utility for Windows, but I also have a MacBook Pro I could use and an iPhone too.

    The utility in windows is very like Mac so the screenshots are from Mac as I don't have windows available now.
    How this works depends on the setup of the TC.. which you did not tell us.. you cannot change anything if you do not have the TC as the main router in the network.
    So on the internet tab you need to share a public IP address.
    On the next tab where you set IP address.
    Click the renew IP address.
    It might work.. and it might not.. the problem is you are not disconnecting the network.. sometimes the hard disconnection is required before the address will renew..
    What about unplugging the WAN port.. then click renew the IP which will fail.. then plug the wan back in again.
    In the end it is easier and faster to power cycle the TC.

  • How do I get connected to a server on my network via an IP address?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    I am new to Mac...How do I get connected to a server on my network via a hyper link IP address path?  When I try to open in a URL and login as a registered user with proper login it errors out saying there was a problem with connecting to the server?

    Some of the following is going to use some technical terms — this area is inherently somewhat technical. 
    If you don't understand some part of the following reply, please ask.
    Is this your own OS X Server system on your own network, or is this some other server within some larger organization? 
    You're posting this in the OS X Server forum, which is a software package that allows OS X systems to provide web-based and many other services; to become servers.
    If it's your OS X Server on your network, then the network and DNS configurations are suspect, or the server is somehow malfunctioning or misconfigured.   This is unfortunately fairly common, as some folks do try to avoid setting up DNS services.
    If it's a larger organization and somebody else is managing the server and the network, then you'll probably need to contact the IT folks for assistance; to learn the network setup and DNS requirements, and if there's a problem with the server itself.
    The basic web URL "hyper link IP address path" — without using DNS — usually looks something the following, where you'll need to replace 10.20.30.40 with the IP address of your server:
    http://10.20.30.40
    UptimeJeff has posted a URL that specifies the AFP file system; an OS X file share.  That's used if you're connecting to an Apple storage service somewhere on your network.  You might alternatively need to specify smb://10.20.30.40 or such, if it's a Windows file server.  (There can be additional requirements for connecting to Windows Server systems, too.)
    If there's local IT staff available here, please contact them for assistance.  If these are your own local systems and your own local OS X Server system, then some information on the server will be needed.  (If you're on a NAT'd network, you'll also need to get DNS services configured and working on your local OS X Server system and your network — you'll not be able to skip this step and reference ISP DNS servers here — or things can and usually will get weird.)

Maybe you are looking for

  • HT201255 MacBookPro Early 2011 updated to Yosemite will no longer boot.

    Hi All, I had a Mac issue a few months ago where it started to work very slow, lagging, the turning ball kept appearing. I backed up what I needed therefore, I care less about the data. Since then, at some point I wanted to encrypt it but I believe I

  • Mail will not quit after sending message with attachment

    B&W G3-450 OSX 10.2.8 640 MB RAM I recently switched to using an email account through AOL Instant Messenger (AIM.com). The only way to connect to their service is via IMAP. I have all the correct settings, I can send and receive email no problem. Ho

  • Has anyone seen this problem before?

    Hi all For some reason, every time I update my templates, it breaks all the javascript on the child pages. I have to go in to each child page individually and re-do the javascript again and then it works fine. It's all different types - SwapImage, Op

  • Cannot Uninstall Adobe Air - tried everything - Pandora not working.

    I cannot update AdobeAir and now pandora will not work. I have been trying to update for months. There is an unspecified error each time I try. So now I am trying to uninstall AIR, so I can attempt to reinstall.  I get the same error when I try to un

  • Reinstall photoshop on a macbook air only got cd

    Need help to reinstall Photoshop elements 11 on my new macbook air. I only bought the cd version.... what to do?