Want to fine tune database

Hi all,
I noticed some slowness for my oracle database during few time not as before. i want to fine tune that database could you help please what is the way i have to follow to fine tune my database in general.
The database is on unix system and 10g version.
I herad statspack or tkproof but i've never used them and i don't know how to interpret output, please help.
Thanks
Raitsarevo

If you want help you need to ask a specific question.
Oracle provides a Performance and Tuning manual which contains a great deal of information including coverage for the statistics reported by the AWR / Statspack and use of the SQL trace facility.
For more help with statspack see Oracle support document
STATSPACK COMPLETE REFERENCE #94224.1
HTH -- Mark D Powell --

Similar Messages

  • Can I fine tune the Ken Burns effect?

    I'm using iPhoto 6 for the first time - making a slide show. I turned off the default Ken Burns effect for all slides, but I'm manually setting the KB effect on some slides. I like the ability to specify the starting view and the ending view - such as starting the view with a close-up of a bottle of wine, then zooming back to show the table full of food and the people around it, but....
    Is it possible to "fine tune" the KB effect as follows: Have it show the starting view for a specified period of time (e.g. one second), then specify the transition time (e.g. 3 seconds), then have it show the final view for a specified period of time (e.g. 2 seconds).
    I.e., I'd like to set up the KB effect so that it "lingers" on the starting view and ending view for a time period that I specify. Is this possible? (If not, this would be a great feature to add in a future release.)

    You can kinda do that in iPhoto. It's possible to set individual slide display times with the Adjust pane in the slideshow mode if you don't have the Fit slideshow to Music option selected. You can also set transitions and speed of transition.
    To get music to end at the end you will have to estimate the time of the slideshow and use music with a time close to that time. I use a blank, black slide at the end of my slideshow so that the music will end to a blank screen if I miss the timing a bit instead of starting over.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • ITunes forgets my CD files...how do I rebuild tune database? - Revisited

    Hi:
    I tried follwoing your advice.
    I can do the Ctrl-A to select all songs in the iTunes libary.
    I can right-click and select Delete,
    but when I do, I do not get the 3 options that you mentioned
    (Cancel, Keep Files, and Move To Recycle Bin)
    I get a dialog box stating:
    Are you sure you want to remove the selcted songs from your iTunes library?
    These songs will also be remove from any iPod or iPhone which synchronizes with your iTunes library.
    Why am I not getting the options you stated above ?
    I have seen you oprions on a Mac at best Buy, but I am running an HP laptop under Vista Home Premium.
    Then has a Remove or Cancel button to be clicked.
    If I follow through with the above, will it wipe out my music library ?
    How do I go about rebuilding the databse ?
    Thank you
    DaleB
    HP dv6500z laptop Windows Vista
    ==========================================================================
    Toocan
    Posts: 54
    From: Gauteng, South Africa
    Registered: Jul 23, 2008
    Re: iTunes forgets my CD files...how do I rebuild tune database?
    Posted: Aug 17, 2008 10:27 PM in response to: DaleB Reply Email
    Sorry DaleB, I have redone my library so many times, I forgot about this prompt. Just click 'yes'/'remove' to that question.
    Reloading the library will only make your iPod resync again, thats all.
    Intel Windows XP Pro P4, 3.4GHz, 3GB RAM, XP SP3 - iPod 80GB Classic
    ===========================================================================
    DaleB
    Posts: 145
    Registered: Jan 18, 2006
    Re: iTunes forgets my CD files...how do I rebuild tune database?
    Posted: Aug 18, 2008 4:02 AM in response to: Toocan Reply Email
    Hi:
    You tell me to click "Yes" / "Remove" when prompted by iTunes with
    "Are you sure you want to remove the selcted songs from your iTunes library?"
    but when I do, I do not get the 3 options that you mentioned
    (Cancel, Keep Files, and Move To Recycle Bin) ?
    Thank you
    DaleB
    ==============================================================================
    DaleB
    Posts: 145
    Registered: Jan 18, 2006
    Re: iTunes forgets my CD files...how do I rebuild tune database?
    Posted: Aug 18, 2008 4:13 AM in response to: Toocan Reply Email
    Hi:
    A related issue.
    I made a copy (backup ?) of the Music folder in Windows Vista Home Premium 32-bit OS, to my Desktop. If something corrupts the Music in iTunes, will this be a "good enough" backup to be able to restore the music by moving it back into the Music folder, or will soemthing be missing ?
    Thanx !
    DaleB
    ==============================================================================

    Hi:
    I did not move them arounsd outsice of iTunes.
    I copied & pasetd them in iTunes, but in some cases, they became subfolders.
    e.g., I may have a main folder in iTunes called "Rolling Stones", and subfolder iteled after their Greatest Hits album "Hot Rocks". Initially,
    Hot Rocks was a folder at the same level as Rolling Stones. Thenm I create a subfolder within Rollng Stones and then copied and pasted all of the MP3 files from the main folder (Hot Rocks) into the subfolder (Hot Rocks), and then deleted the main folder (Hot Rocks). But, iTunes now tells me it can find the songs. The Apple guy at best Buy showed me how to delete the current database without deleting the actual tunes, and then rebuild the database, all in a few mouse clicks. But, this was on a Mac...I do not know if iTunes for Windows has the same menu features as the Mac version. I just forgot the steps that he went through.
    DaleB

  • Using flex pitch is there a way to fine tune the start point .i'm using it as a audio to  midi function

    using flex pitch is there a way to fine tune the start point .i'm using it as a audio to  midi function

    Thank you for your reply Karsten but unfortunately this didn't help me so far. Or maybe I'm missing something?
    First the link is a tutorial for iMovie on a Mac. I'm using iMovie on iPad so the steps are inapplicable.
    Second it is only possible for me to manipulate the end part of the sound clip to whichever duration I want. But I can't do the same with the 'beginning' of the sound clip.
    I simply want to place some photos in the beginning of my video with no sound in the background then after like 2 secs I want to start the music clip. For some reason that is not possible! Cause every time I drop the music clip unto my project timeline it automatically place it self along with the first frame in the project! And consequently the photos and music are forced to start together.
    Hope I'm making sense...

  • How do you fine tune an effect in Captivate 6

    I'm trying to scale and move a video using the effects timeline and I want it to wind up in an exact location on the stage. Is there any way to fine tune it by entering in exact coordinates rather than by bouncing back & forth between Live Preview and Edit View? I'm used to being able to entering in exact numbers when tweening an object in Flash and this seems like a pretty bad way of moving things around on the screen. Am I missing something here?
    Thanks

    As a temporary workaround, this is my work flow:
    I create a 'crosshair' in the exact location, using two line shapes that can be positioned exactly using the Transform accordion.
    The motion path end points have a circle that you'll have to drag over the crosshair. Motion paths use the center point of an object, contrary to resizing, moving that is from the upper left corner of the bounding box. I used the described work flow in the first movie here: http://blog.lilybiri.com/reset-effects
    Lilybiri

  • Fine Tune Procedure

    Hi, Everyone,
    My oracle database version is oracle 11.2.0.1.
    I am running this procedure in a pl/sql package.  When i the process comes to running this process it does not come back.  Could you please help me to fine tune this procedure
    PROCEDURE ICM_MIN_PR_DIFF        
    (V_LOW IN NUMBER,
    V_UP IN NUMBER)
    AS
    L_INS_TABLE VARCHAR2(4000);
    L_QRY_1_PART VARCHAR2(4000);
    L_QRY_2_PART VARCHAR2(4000);
    L_QRY_3_PART VARCHAR2(4000);
    L_QRY_POPULATE VARCHAR2(4000);
    BEGIN
    EXECUTE IMMEDIATE 'TRUNCATE TABLE ICM_MIN_PRDIFF_0';
    L_QRY_1_PART := '    select  a.customer_no,a.pr_code_bbl,a.score,min(b.price_diff) price_diff, a.flag
    from ICM_MAX_SCORE_0 a, icm b
    where 
    a.customer_no = b.customer_no
    and a.pr_code_bb=b.pr_code_bb
    and a.score = b.score
    and a.flag = b.flag
    and b.price_diff > 0
    and b.score >=0.5
    and b.flag = 0
    and b.price_diff > ';
    L_QRY_2_PART := ' AND  b.price_diff <= ';
    L_QRY_3_PART := ' GROUP BY a.customer_no,a.pr_code_bb,a.score,a.flag ';
    L_QRY_POPULATE := L_QRY_1_PART || V_LOW ||L_QRY_2_PART || V_UP || L_QRY_3_PART;
    --Construct Insertion Statment by appending the Query Statement
    L_INS_TABLE := 'INSERT /*APPEND */ INTO ICM_MIN_PRDIFF_0 ' ||
    L_QRY_POPULATE;
    --DBMS_OUTPUT.PUT_LINE(L_INS_TABLE);
    DBMS_OUTPUT.PUT_LINE('POPULATED ICM_MIN_PRDIFF_0');
    EXECUTE IMMEDIATE L_INS_TABLE;
    COMMIT;
    END ICM_MIN_PR_DIFF;
    The following is the explain plan for the query
    plan FOR succeeded.
    PLAN_TABLE_OUTPUT                                                                                                                                                                                                                                                                                         
    Plan hash value: 636749222                                                                                                                                                                                                                                                                                  
    | Id  | Operation                | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |                                                                                                                                                                                         
    |   0 | INSERT STATEMENT         |                                |  1390K|   132M|       |  1796K  (1)| 05:59:13 |                                                                                                                                                                                         
    |   1 |  LOAD TABLE CONVENTIONAL | ICM_MIN_PRDIFF_0 |       |       |       |            |          |                                                                                                                                                                                         
    |   2 |   HASH GROUP BY          |                                |  1390K|   132M|   155M|  1796K  (1)| 05:59:13 |                                                                                                                                                                                         
    |*  3 |    HASH JOIN             |                                |  1390K|   132M|    68M|  1764K  (1)| 05:52:54 |                                                                                                                                                                                         
    |*  4 |     TABLE ACCESS FULL    | ICM_MAX_SCORE_0 |  1390K|    53M|       |  2478   (1)| 00:00:30 |                                                                                                                                                                                         
    |*  5 |     TABLE ACCESS FULL    | ICM                |    10M|   611M|       |  1722K  (1)| 05:44:26 |                                                                                                                                                                                         
    Predicate Information (identified by operation id):                                                                                                                                                                                                                                                         
       3 - access("A"."CUSTOMER_NO"="B"."CUSTOMER_NO" AND "A"."PR_CODE_BB"="B"."PR_CODE_BB" AND                                                                                                                                                                                                               
                  "A"."SCORE"="B"."SCORE" AND "A"."FLAG"="B"."FLAG")                                                                                                                                                                                                                                            
       4 - filter("A"."FLAG"=0 AND "A"."SCORE">=0.5)                                                                                                                                                                                                                                                            
       5 - filter("B"."PRICE_DIFF"<=10 AND "B"."SCORE">=0.5 AND "B"."PRICE_DIFF">0 AND "B"."FLAG"=0)                                                                                                                                                                                                            
    20 rows selected
    select count(1) from ICM_MAX_SCORE_0 = 1390409
    select count(1) from ICM = 586260240

    please look at the explain plan for the sql after implementing your advice
    explain plan for
    insert /*+ append */ into ICM_MIN_PRDIFF_0 (customer_no,pr_code_bb,score,price_diff,flag)
    select  a.customer_no,a.pr_code_bb,a.score,min(b.price_diff) price_diff, a.flag
    from ICM_MAX_SCORE_0 a, icm b
    where   a.customer_no = b.customer_no
    and a.pr_code_bb=b.pr_code_bb
    and a.score = b.score
    and a.flag = b.flag
    and b.price_diff > 0
    and b.score >=0.5
    and b.flag = 0
    and b.price_diff > 0
    AND  b.price_diff <= 10
    GROUP BY a.customer_no,a.pr_code_bb,a.score,a.flag ;
    SELECT * FROM TABLE(dbms_xplan.display);
    plan FOR succeeded.
    PLAN_TABLE_OUTPUT                                                                                                                                                                                                                                                                                         
    Plan hash value: 4089758326                                                                                                                                                                                                                                                                                 
    | Id  | Operation            | Name                           | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |                                                                                                                                                                                             
    |   0 | INSERT STATEMENT     |                                |  1390K|   132M|       |  1796K  (1)| 05:59:13 |                                                                                                                                                                                             
    |   1 |  LOAD AS SELECT      | ICM_MIN_PRDIFF_0 |       |       |       |            |          |                                                                                                                                                                                             
    |   2 |   HASH GROUP BY      |                                |  1390K|   132M|   155M|  1796K  (1)| 05:59:13 |                                                                                                                                                                                             
    |*  3 |    HASH JOIN         |                                |  1390K|   132M|    68M|  1764K  (1)| 05:52:54 |                                                                                                                                                                                             
    |*  4 |     TABLE ACCESS FULL| ICM_MAX_SCORE_0 |  1390K|    53M|       |  2478   (1)| 00:00:30 |                                                                                                                                                                                             
    |*  5 |     TABLE ACCESS FULL| ICM                |    10M|   611M|       |  1722K  (1)| 05:44:26 |                                                                                                                                                                                             
    Predicate Information (identified by operation id):                                                                                                                                                                                                                                                         
       3 - access("A"."CUSTOMER_NO"="B"."CUSTOMER_NO" AND "A"."PR_CODE_BB"="B"."PR_CODE_BB" AND                                                                                                                                                                                                               
                  "A"."SCORE"="B"."SCORE" AND "A"."FLAG"="B"."FLAG")                                                                                                                                                                                                                                            
       4 - filter("A"."FLAG"=0 AND "A"."SCORE">=0.5)                                                                                                                                                                                                                                                            
       5 - filter("B"."PRICE_DIFF"<=10 AND "B"."SCORE">=0.5 AND "B"."PRICE_DIFF">0 AND "B"."FLAG"=0)                                                                                                                                                                                                            
    20 rows selected

  • Query fine tune.

    Dear All,
    I am using 11g version. The query given below.
    Sample Data:
    Table1: KEY ( It has 4 million records and DUR_UK column is unique key)
    PK
    DUR_UK
    1
    BD|4|J650|01AB|0001LLA|N01005309106|01003014101|0H9ZN|0HB0T|6970189|30748R2|001000
    2
    BD|506001022502|06076001901|0G1GF|0HB0T|7270478|2035772C91|000100
    3
    BD|J08005852109|10004001301|0HB0T|6971058|3551787C91|000100|03-MAY-10|31-DEC-99|3551787C91
    Table2: Section (It has 12k records)
    Column: FVC
    Data: OHBOT
    In table 1, there are 3 types of order for bold and underlined data. I need to get the PK, JVC from KEY table by JOINING with Section table based on bold and underlined field with FVC column.
    I tired with below query but it takes long time and didnt complete. Becoz it go thru 4 million records 3 times.
    SELECT A.PK,B.JVC
      FROM SECTION B
    INNER JOIN KEY A
        ON (REGEXP_SUBSTR(A.DUR_UK,'[^|]+',1,9) = B.FVC OR REGEXP_SUBSTR(A.DUR_UK,'[^|]+',1,5) = B.FVC OR REGEXP_SUBSTR(A.DUR_UK,'[^|]+',1,4) = B.FVC;
    The output could be like.
    PK  JVC
    1     OHBOT
    2     OHBOT
    3     OHBOT
    Can someone please help me out to fine tune.
    Thanks

    Hi,
    In a relational database, each column of each row should contain 1 piece of information, not a delimted list of several items.  This is so basic to database design that it's called First Normal Form.  Relational database are designed to work with data that is in First Normal Form.  Your table was not designed to work well, and it seems to be doing exactly what it was designed for.   This problem (and many others, no doubt) would be much simpler and much faster if each of the |-delimited items was on a separate row.
    If you must use the current design, avoid regular expressions.  You don't need all the power of regular expressions in this problem; you can get the results you need faster using less powerful tools, such as LIKE, INSTR and SUBSTR.
    Depending on your data and your requirements, you might try something like this:
    WITH  got_pos  AS
        SELECT  k.pk, k.dur_uk
        ,       s.jvc, s.fvc
        ,       INSTR (k.dur_uk, '|', 1, 3)  AS pos3
        ,       INSTR (k.dur_uk, '|', 1, 4)  AS pos4
        ,       INSTR (k.dur_uk, '|', 1, 5)  AS pos5
        ,       INSTR (k.dur_uk, '|', 1, 8)  AS pos8
        ,       INSTR (k.dur_uk, '|', 1, 9)  AS pos9
        FROM    section  s
        JOIN    key      k  ON  k.dur_uk  LIKE '%|' || s.fvc || '|%'
    SELECT  pk, jvc
    FROM    got_pos
    WHERE   fvc IN ( SUBSTR (dur_uk, pos3 + 1, pos4 - (pos3 + 1))
                   , SUBSTR (dur_uk, pos4 + 1, pos5 - (pos4 + 1))
                   , SUBSTR (dur_uk, pos8 + 1, pos9 - (pos8 + 1))
    Of course, without any sample data, I can't test this.
    Oracle Text might help with this problem.  I don't use it myself, but I believe it allows you to create indexes so that it's faster to find keywords (such as anyhting in section.fvc) anywhere in large strings (such as key.dur_uk).

  • How to fine tune your GUI?

    Hello!
    I am pretty new at Java and i have search for information about how to fine tune your GUI but have not found anything.
    Last time when i wrote a program with a GUI I manually placed out all the widgets. This time I was thinking to give the layotmanager another go. But when I do I cant seem to easly place things exactly where I whant.
    For instance in this code, all my buttons are to the left in the boarder layout north part.
    I whant to learn:
    How do I move all the buttons to the right, little further down, etcetera to my specifications
    Please if someone could provide me a link to a website, tip on what I need to search for. So I can learn how to do this when you mix diffrent layoutmanager in one GUI.
    Example of my code:
    //Import java library
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.ActionListener;
    public class View_Inlupp2 {
         //*****GUI Components
         //Menu File Items
         private JMenuItem New = new JMenuItem("New");
         private JMenuItem Open = new JMenuItem("Open");
         private JMenuItem Save = new JMenuItem("Save");
         private JMenuItem Save_As = new JMenuItem("Save as");
         //Menu Operations Items
         private JMenuItem Find_Route = new JMenuItem("Find Route");
         private JMenuItem Show_Connections = new JMenuItem("Show Connections");
         private JMenuItem New_Place = new JMenuItem("New Place");
         private JMenuItem New_Connection = new JMenuItem("New Connection");
         private JMenuItem Change_Connection = new JMenuItem("Change Connection");
         //Top field
         private JButton Find_RouteBtn = new JButton("Find Route");
         private JButton Show_ConnectionsBtn = new JButton("Show Connections");
         private JButton New_PlaceBtn = new JButton("New Place");
         private JButton New_ConnectionBtn = new JButton("New Connection");
         private JButton Change_ConnectionBtn = new JButton("Change Connection");
         //Left side
         //Center
         public View_Inlupp2() {
              //Create and show the GUI.
              createAndShowGUI();
         //**********GUI Structure
         private JPanel createContentPane() {
              //Create the JPanel where we will put everything on
              JPanel totalGUI = new JPanel();
              //Set totalGui to have a BorderLayout with a horizontal
              //gap of 10 and a vertical gap of 10 between each widget
              totalGUI.setLayout(new BorderLayout(10, 10));
              //*****Top Field
              //Create a holder for the buttons with a BoxLayout.LINE_AXIS
              JPanel top = new JPanel();
              top.setLayout(new BoxLayout(top, BoxLayout.LINE_AXIS));
              top.add(Find_RouteBtn);
              top.add(Show_ConnectionsBtn);
              top.add(New_PlaceBtn);
              top.add(New_ConnectionBtn);
              top.add(Change_ConnectionBtn);
              //*****Put our GUI together and add all the widgets to our totalGUI
              totalGUI.add(top, BorderLayout.NORTH);
              totalGUI.setOpaque(true);
              return totalGUI;
         private JMenuBar createMenuBar() {
              //Create a menuBar
              JMenuBar menuBar = new JMenuBar();
              //Create menus
              JMenu File = new JMenu("File");
              JMenu Operations = new JMenu("Operations");
              //Add menus to menuBar
              menuBar.add(File);
              menuBar.add(Operations);
              //Add menuItems to the File menu
              File.add(New);
              File.add(Open);
              File.add(Save);
              File.add(Save_As);
              //Add menuItems to the Operations menu
              Operations.add(Find_Route);
              Operations.add(Show_Connections);
              Operations.add(New_Place);
              Operations.add(New_Connection);
              Operations.add(Change_Connection);
              return menuBar;
         //**********Create the window frame
         //Create the frame and add the created content pane.
         private void createAndShowGUI() {
              JFrame.setDefaultLookAndFeelDecorated(true); //The program look the same on Windows, Mac and Linux
              JFrame frame = new JFrame("Inlupp2");
              //Set the ContentPane, menuBar, and the settings for our window
              frame.setContentPane(createContentPane());
              frame.setJMenuBar(createMenuBar());
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setSize(1024, 640);
              //frame.setResizable(false);
              frame.setVisible(true);
         //**********Interaction
         //Add the ActionListener passed by the Controller to each of the buttons
         public void buttonActionListeners(ActionListener al) {
         }//End buttonActionListener
    }//End class

    First of all, learn and use proper Java naming conventions. All text books, tutorial and code examples on the forums use these naming conventions. So don't make up your own. Variable names should NOT start with an upper case character.
    By default a JPanel uses a FlowLayout. Read the API to learn how to change the default left alignment to center or right.
    If you want extra space around a panel you can use an EmptyBorder.
    Both of these topics are covered in the Swing tutorial and you've been given the link to the tutorial in the past.
    Also, the code you posted is not executable so we can't see the problems you attempt to descripe.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://sscce.org], that demonstrates the incorrect behaviour.

  • I want to connect two database in Oracle

    Dear All
    I want to connect two database in Oracle ver-10.2.0.1.0 ,And fetch data from 2nd table.
    OS - XP Pro.
    Regards,
    Parwez

    Configure remote DB in TNS first.
    Create DB link.
    CREATE {PUBLIC} DATABASE LINK "DBLINKNAME"  CONNECT TO "remoteuser" IDENTIFIED BY "remotepwd" USING 'REMOTEDBTNSALIAS';Query remote tables using
    select * from remotetable@DBLINKNAME;

  • HOW TO FINE TUNE QUERY

    Hi,
    I am having below two queries. 2nd query is taking more time & it gives time out error. Can anybody tell how to fine tune below query. Thanks.
    1st Query.
    SELECT EKETEBELN EKETEBELP EKETETENR EKETEINDT
             EKETMENGE EKETWEMNG
             INTO TABLE I_EKET
             FROM EKET
             WHERE EKETMENGE <> EKETWEMNG
                                             AND
                    EKET~EINDT IN  S_EINDT.
      DESCRIBE TABLE I_EKET LINES V_ZLINES.
      IF V_ZLINES > 0.
    2nd Query.
        SELECT EKKOEBELN EKKOAEDAT EKKOLIFNR EKPOEBELP EKPO~MATNR
               EKPO~WERKS
               EKPOLOEKZ EKPOELIKZ EKPOTXZ01 EKPONETPR LFA1~NAME1
               INTO TABLE I_PODEL
               FROM EKKO
               INNER JOIN EKPO ON EKKOEBELN = EKPOEBELN
               INNER JOIN LFA1 ON EKKOLIFNR = LFA1LIFNR
               FOR ALL ENTRIES IN I_EKET
               WHERE EKKO~EBELN = I_EKET-EBELN AND
                     EKPO~EBELP = I_EKET-EBELP AND
                     EKPO~MATNR IN  S_MATNR AND
                     EKPO~WERKS IN  S_WERKS AND
                     EKPO~WERKS NE 'W001'   AND
                     EKKO~EKORG = P_EKORG   AND
                     EKKO~LIFNR IN S_LIFNR  AND
                     EKKO~LOEKZ NE 'X'      AND
                     EKPO~LOEKZ NE 'S'      AND
                     EKPO~ELIKZ NE 'X'      AND
                     EKPO~LOEKZ NE 'L'      AND
                     EKKO~AEDAT IN  S_AEDAT.
      ELSE.
        WRITE 'No POs found for the selection criteria!'.
      ENDIF.

    Not the right forum to ask this question.
    VJ

  • I want to query oracle database from sql server can anyone tell steps 2 fo

    i want to query oracle database from sql server can anyone tell steps 2 followed
    i tried with linked servers but it is throwing errors can anyone hepl in this regard
    The operation could not be performed because the OLE DB provider 'MSDAORA' was unable to begin a distributed transaction.
    OLE DB error trace [OLE/DB Provider 'MSDAORA' ITransactionJoin::JoinTransaction returned 0x8004d01b].

    First of all - you are in the wrong forum.
    Look either for the Database general or search for Transparant / Heterogenous Gateways.
    cu
    Andreas

  • I want to query oracle database from sql server can anyone tell steps 2 fol

    i want to query oracle database from sql server can anyone tell steps 2 followed
    i tried with linked servers but it is throwing errors can anyone hepl in this regard
    The operation could not be performed because the OLE DB provider 'MSDAORA' was unable to begin a distributed transaction.
    OLE DB error trace [OLE/DB Provider 'MSDAORA' ITransactionJoin::JoinTransaction returned 0x8004d01b].

    First of all - you are in the wrong forum.
    Look either for the Database general or search for Transparant / Heterogenous Gateways.
    cu
    Andreas

  • I want to connect a DataBase(oracle) through Tomcat5.

    i want to connect a DataBase(oracle) through Tomcat5.
    pls tell me the steps how can i do this .or pls give me any link
    thanks previously

    The bottom line is. If you can't figure this part out on your own then you have no business doing any JDBC programming anyway. Think of it as a minimal competency test to make sure it's safe for you to proceed. It isn't safe yet.

  • I want to access the database with user name and password without con. info/udl

    hi to all,
    im doing project related with database... normally i'll connect ***.udl file to open database.vi.
    now what is my question is I want to open the database with the user name with password.... y i need this because once i run the program the program should ask username and password to open database for write/read operation. if its wrong user name and password means program should be denied... 
    can any tell how to access the database toolkit with the username with password....
    im using labview 7.0... 
    i think my question is clear....waiting for reply thank you in advance...
    pls see this attachment.....
    Regards,
    N. Srinivasan
    Attachments:
    access.vi ‏37 KB

    i have already read that link in the discussion forum...but im still have some confussion in... i attached file is so like to give user name and password..?
    and one more things can tell wat to do in ODBC and MDB and in UDL for password lock.. each time i run the promgram it should ask password to acces the database.. 
     thank you a lot for your reply.. 
    it will be more more useful if u clear my doubts clearly....
    Regards,
    N. Srinivasan
    Attachments:
    user=pass.PNG ‏35 KB

  • Will pay Spry Expert to fine tune vertical menu bar

    Hi,
    I have created a menu bar with DW CS4 for one of my web design clients, and I am running out of time to fine tune it.
    So I will pay an expert who can:
    1. Reduce the font size to small (maybe 8pt) on all items because the client has way too many items.
    2. Reduce the line height size to 4pt for the same reason.
    3. Stop submenu items from appearing on the left side of the window outside the menu bar.
    I am happy with the bg color and arial font.
    You can see the bar at: http://faithandfamilynutrition.com/
    Please let me know if you can do this job and how much you would charge.
    Thanks

    Hi,
    Never mind. Trial and error, figured it out using the CSS menu that came up when I clicked different sections of the widget.
    Thanks anyway

Maybe you are looking for