Please help me line up my cells or tables

I cannot ge tthe elements on my webpage to line up I have
moved them around all to no avail the page is:
http://www.abea.cc/aboutus.html
notice the offset between the headers and the white body. Could
someone please help me I am lost. I can line them up perfectly in
my preview but always offset when I look at them online.I am using
dreamweaver cs3.

This image (and others like it) are what's messing you up:
http://www.abea.cc/images/The-Bay-Shortest-Header_10.jpg
Adjust the images to not show any of the black outside of the
white line, then you'll have an easier time adjusting the table
below it. Once you fix the image you'll have to adjust the table
structure.

Similar Messages

  • [b]please help me to insert recored to MS_Access Table [/b]

    please help me to insert recored to MS_Access Table please can you modify my program becouse it is not working
    import java.awt.*;
    import java.util.*;
    import java.awt.event.* ;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.sql.*;
    class ProductMast2 extends JFrame
    private JTextField       txtProd_Id;
    private JButton          btnAdd;
    String url,sql;
    String sqlI;
    Container cp ;
    Connection conn;
    Statement stmt;
    ResultSet rs;
        public ProductMast2()
           cp = getContentPane() ;
                txtProd_Id                   = new JTextField( "" , 8   ) ;
                    btnAdd                        =new JButton ("add");
                   cp.add(txtProd_Id  , BorderLayout.SOUTH  ) ;
                   cp.add(btnAdd  , BorderLayout.NORTH  ) ;
                   this.connection();
         btnAdd.addActionListener(new ActionListener(){
         public void actionPerformed(ActionEvent  ee)
             try
                        sqlI="Insert into Pro"
                        +"(Prod_Id)"
                         +"values('"+txtProd_Id+"')";      
                      txtProd_Id.setText("");
                        rs=stmt.executeQuery(sqlI);
                        //rs=stmt.executeUpdate(sqlI);
                        while (rs.next()) {
                      txtProd_Id.setText(rs.getString(1));
                     // should be in finally block
                      rs.close();
                      stmt.close();
                      conn.close();
                      catch (Exception e)
                       System.out.println("Exception caught as: " + e.toString());
         public void connection()
                                     url="jdbc:odbc:Pro";
                                             try
                                             // Loading thr Driver by passing it to Class name() method.
                                             Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                                              //creating a connection object by passing  the name of the 32bit ODBC driver
                                                //throut the Driver Manger getConnection()mathod
                                          conn=DriverManager.getConnection(url);
                                             //creat Statement object
                                             stmt=conn.createStatement();
                                             System.out.println("Successfuly  connected");
                                       //     conn.close();
                                                      sql="SELECT * FROM Pro";
                                                      rs=stmt.executeQuery(sql);      
                                                      rs.next();
                                                      txtProd_Id.setText(rs.getString(1));
                                                  catch(Exception sqlExcep)
                                                                 System.out.print("ERROR:"+sqlExcep);
    class Pro
       public static void main( String[] args )
          ProductMast2 emp = new ProductMast2() ;
        // ProductMast2 emp = new ProductMast2() ;
          emp.connection();
         /////////  ProductMast1.connection();
           emp.setTitle( " Product  Master1 SOPS For Al-Hesn For Cloding And Trading" ) ;
           emp.setSize( 900, 250 ) ;
           emp.setVisible( true );
           //emp.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
           //System.exit(0);
            //public void windowClosing(WindowEvent WE)
              return ;
     

    Hi,
    you surely would need a good tutorial for jdbc and one for sql.
                        sqlI="Insert into Pro"
                        +"(Prod_Id)"
                         +"values('"+txtProd_Id+"')";      
                      txtProd_Id.setText("");     Please use prepared statements that concated sql strings
                        rs=stmt.executeQuery(sqlI);
                        //rs=stmt.executeUpdate(sqlI);
                        while (rs.next()) {
                      txtProd_Id.setText(rs.getString(1));
                   }You must be joking here. Statement.executeQuery is used for SELECTing data. You insert statement is never going to return a resultset. ExecuteUpdate, which you have commented by the way, does the job but it returns an int(RecordsAffected).
    Kiros

  • Please help Verticle line problem

    Please help I have worked on this for hours below is my code. I need to create a face and I have a problem getting my g.drawline in the right place. I need it in the middle between the two eyes and not matter what I do it won't work. Could you help, please.
    import java.awt.*;
    import javax.swing.*;
    public class Face extends JFrame {
         public Face(){
              super( "Face" );
              setSize( 300, 170 );
              setVisible ( true );
         public void paint ( Graphics g ){
              super.paint( g );
              g.setColor( Color.yellow );
              g.drawArc( 100, 45, 80, 80, 0, 360);
              g.setColor( Color.blue );
              g.drawArc( 120, 70, 10, 10, 0, 360);
              g.setColor( Color.blue );
              g.drawArc( 150, 70, 10, 10, 0, 360);
              g.setColor( Color.magenta );
    (this is the nose)     g.drawLine ( 90, 147, 90, 180 ); THIS IS THE LINE I HAVE A PROBLEM
              g.setColor( Color.red );
              g.drawArc ( 110, 55, 60, 60, 0, -180 );
         public static void main(String args[])
              SmileyFace application = new SmileyFace();
              application.setDefaultCloseOperation(
                        JFrame.EXIT_ON_CLOSE );
    I have changed the int to every possible number and it just won't work for me what am I doing wrong

    try:
    g.drawLine ( 140, 85, 140, 110 );
    When you drew your head you specified g.drawArc( 100, 45, 80, 80, 0, 360);
    What you are really saying is:
    a) position the circle inside an imaginary rectangle with the top left corner at (100, 45) and make the width of the rectangle 80 and the height 80.
    b) the center of this rectangle is
    x = 100 + 80/2 = 140
    y = 45 + 80/2 = 85
    c) therefore draw a circle using (140, 85) as the center point (which is where I started your nose)
    Add the following line to your program and you will see how the head fits into the rectangle:
    g.drawRect(100, 45, 80, 80);
    Hope my explanation helps.

  • Please Help me in inserting record in a table

    Hi,
    Kindly help me on how to insert records in a table that the values are from the another table.
    for example :
    i have table1, all of the records in column1 of table1 will be inserted to table2 column2 . .
    I already tested it to a visual foxpro programming language and it's ok, i used this command :
    *"INSERT INTO table1 (column1) SELECT column2 FROM table2"*
    but when I try it to a JAVA Program, there's an error.
    Please help me.. Thank You.

    Sir, this is what you mean?
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
    at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1585)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1500)
    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1485)
    at remittance.utility.security.frmRole.addtoPermission(frmRole.java:197)
    at remittance.utility.security.frmRole.btnADDActionPerformed(frmRole.java:177)
    at remittance.utility.security.frmRole.access$200(frmRole.java:22)
    at remittance.utility.security.frmRole$3.actionPerformed(frmRole.java:92)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:5517)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at java.awt.Component.processEvent(Component.java:5282)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3984)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3819)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1791)
    at java.awt.Component.dispatchEvent(Component.java:3819)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

  • Please Help!  Line Length Outside of Window

    I'm not stating this properly. But suddenly, my Safari windows have content which is not all contained therein. I can only read part of it. Same problem with my e-mail.
    Unable to shorten length of lines in e-mail, and unable to adjust window. Have gone to Preferences/Appearance, etc.
    Please tell me how to explain this problem, if I am not being clear.
    Thanks for any help you can offer.

    I would suggest you revisit the Universal Access to double check that you did what I suggested.
    Also make sure that "Use Grayscale" is not checked in Universal Access.
    Your line length problem might be caused by your changing the resolution of your monitor. What kind of monitor are you using and do you know what its advertised resolution is? Something like 1280x1024 pixels, for example.
    I notice in an earlier post in another forum that you reported the following, which I will quote for the benefit of those joining this thead later:
    "I'm using a MacMini OS 10.2.9. Everything was great, then on start-up all was different. My Desktop picture had disappeared, everything was in purple etc. My e-mails have long line length and I am unable to shorten. Have looked at preferences etc. and nothing helps. (I put back the desktop picture, but everything else is beyond me.)
    I don't recall if I recently updated software, but suspect that is why everything is messed up.
    Sorry if this has been asked before, but I'm quite frustrated. This font is not what I thought was selected, either! "
    I'm a bit confused about your reporting OS 10.2.9. Is that a typo? I think Minis never shipped with anything lower than 10.3.x. Your signature reports 10.4.6.

  • Please help: Extra Line Space after bolded word

    I am in the process of editing a book manuscript in MS Word 2010, and there is an annoying problem that I cannot solve. I have tampered with all the line spacing options, but I'm at a loss.
    When I bold a word, it introduces an extra little line space before the proceeding line. When I unbold the word, the space goes away. Has anyone encountered a similar issue? And is there an easy fix?
    Thanks very much,
    Jon

    Are you saying that the line spacing changes when you apply bold formatting? Try a different font. Or you could specify a fixed value for line spacing (choose the "Exactly" option in the Paragraph dialog box).
    Stefan Blom, Microsoft Word MVP

  • Please help. Line in the middle of screen

    Hi, I've an iBook G4, 1.33 mhz. There is a straight line right across the screen, in the middle. How do I remove it.

    Hi, and welcome to Apple Discussions.
    Have you tried restarting the iBook? Sometimes a glitch like this will be corrected by a simple restart.

  • Please help me I am not seeing Database table column names in field explorer view

    Hi,
    I am developing a crystal report using eclipse and sql server. After creating connection, when i drag and drop tables, The table name and its columns should apper in field explorer view. Then we drag the columns onto crystal report. Unfortunately I am just  seeing only table names but not column names in field explorer view. Could anyone help me?
    After downloading eclipse I have plugged in the crystal report using the following instructions
    1. Click on the Help menu, and then Software Updates > Find and Install... to open the Install/Update wizard.
    2. Select Search for new features to install and click Next.
    3. Click the New Remote Site button. This will launch the New Update Site wizard
    4. Type the Business Objects Updsate Site for the Name field and the following for the URL: http://www.businessobjects.com/products/dev_zone/eclipse/
    5. Click OK to complete the wizard.
    6. Enable the newly created Business Objects Update Site checkbox as well as the Callisto Discovery Site (which should appear by default with Eclipse 3.2) and click Finish.
    Expand the Business Objects Update Site node and enable the Crystal Reports for Eclipse 1.0.0v555 checkbox.
    8. Expand the Callisto Discovery Site and click the button "Select Required". This will automatically select the required Eclipse features necessary to successfully install Crystal Reports for Eclipse.
    Thank You
    Rajavardhan Sarkapally

    Now we have a lot of views which select data from the tables, but I need to get the "Table Column Name" that is linked in the view.
    If you are using SQL Server 2012/2014, then you can use
    sys.dm_exec_describe_first_result_set (Transact-SQL) to gte the informations.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Please help! (creating new rows in a table)

    Hi guys.
    I have the following table:
    Guest ID | visit ID | start date | end date | days | total amount | avg amount
    1234.......| 6750...| 01/01/08...| 20/01/08 | 20....| $2000.........| $100
    Avg amount = amout per day = days/total amount
    I need to figure out a way of summing up all the profits from, say, last 3 weeks, 2 months etc.
    To do that, I am thinking of breaking up each stay period by days.
    i.e. to create a new row in a table for each day.
    So, for this example, we'd have 20 new rows,
    with same guest iD and visit ID,
    start date and end date are the same because we only count one day...
    Guest ID | visit ID | start date | end date | days | total amount | avg amount
    1234.......| 6750...| 01/01/08 ..| 01/01/08 | 1.......| $100............| $100
    1234......| 6750....| 02/01/08 ..| 02/01/08 | 1.......| $100..........| $100
    etc
    The question is, is there any way to make oracle do this?
    As in, to create new rows (maybe in a new table?)
    Any help/ideas would be appreciated!
    I am using Oracle SQL Plus 8.1.7.0.0

    I have used all_objects to populate multiple records as you are living in stone age :-)
    SQL> drop table temp;
    Table dropped.
    SQL> create table temp (
      2             Guest_ID integer primary key,
      3             visit_ID integer,
      4             start_date date,
      5             end_date date,
      6             days integer,
      7             total_amount integer,
      8             avg_amount integer);
    Table created.
    SQL> insert into temp values (1234, 6750, '01/jan/08', '20/jan/08', 20, 2000, 100);
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> select t.guest_id,t.visit_id,t.start_date+rownum-1 start_date,t.start_date+rownum-1 end_date, 1 as days, avg_amount as total_amount, avg_amount
      2    from temp t,
      3         (select 1
      4       from all_objects,
      5           (select (end_date - start_date) + 1 day_count
      6              from temp t
      7             where guest_id = 1234)
      8        where rownum <= day_count);
      GUEST_ID   VISIT_ID START_DAT END_DATE        DAYS TOTAL_AMOUNT AVG_AMOUNT
          1234       6750 01-JAN-08 01-JAN-08          1          100        100
          1234       6750 02-JAN-08 02-JAN-08          1          100        100
          1234       6750 03-JAN-08 03-JAN-08          1          100        100
          1234       6750 04-JAN-08 04-JAN-08          1          100        100
          1234       6750 05-JAN-08 05-JAN-08          1          100        100
          1234       6750 06-JAN-08 06-JAN-08          1          100        100
          1234       6750 07-JAN-08 07-JAN-08          1          100        100
          1234       6750 08-JAN-08 08-JAN-08          1          100        100
          1234       6750 09-JAN-08 09-JAN-08          1          100        100
          1234       6750 10-JAN-08 10-JAN-08          1          100        100
          1234       6750 11-JAN-08 11-JAN-08          1          100        100
      GUEST_ID   VISIT_ID START_DAT END_DATE        DAYS TOTAL_AMOUNT AVG_AMOUNT
          1234       6750 12-JAN-08 12-JAN-08          1          100        100
          1234       6750 13-JAN-08 13-JAN-08          1          100        100
          1234       6750 14-JAN-08 14-JAN-08          1          100        100
          1234       6750 15-JAN-08 15-JAN-08          1          100        100
          1234       6750 16-JAN-08 16-JAN-08          1          100        100
          1234       6750 17-JAN-08 17-JAN-08          1          100        100
          1234       6750 18-JAN-08 18-JAN-08          1          100        100
          1234       6750 19-JAN-08 19-JAN-08          1          100        100
          1234       6750 20-JAN-08 20-JAN-08          1          100        100
    20 rows selected.Thanks,
    Karthick.

  • Please help with multiple insert query into nested table!!!!

    I am having a problem with inserting multiple references to objects into a nested table using the following query:
    INSERT INTO TABLE(SELECT Taken_by FROM courses WHERE course_number= 001)
    (SELECT REF(p) FROM persons p
    WHERE p.enroled_in = 'Computing for Business'
    The database says that p.enroled_in is an invalid identifier. I know why this is. This is because the field enroled_in is part of a subtype of person called student_type and the query above is not accounting for this properly. I would like to know the correct syntax to use so I can insert into the nested table wherever a student is enroled into the 'computing for business' course. My full schema is below:
    CREATE TYPE person_type;
    CREATE TYPE student_type;
    CREATE TYPE staff_type;
    CREATE TYPE course_type;
    CREATE TYPE module_type;
    CREATE TYPE address_type AS OBJECT
    Street VARCHAR2 (30),
    Town     VARCHAR2 (30),
    County VARCHAR2 (30),
    Postcode VARCHAR2 (9)
    CREATE TYPE person_type AS OBJECT
    Name VARCHAR2 (50),
    Address address_type,
    DOB     DATE
    ) NOT FINAL;
    CREATE TYPE staff_type UNDER person_type
    Staff_number NUMBER (2,0)
    ) FINAL;
    CREATE TYPE student_type UNDER person_type (
    Student_number NUMBER (2,0),
    Enroled_in VARCHAR2(50),
    MEMBER FUNCTION getAge RETURN NUMBER
    )NOT FINAL;
    CREATE OR REPLACE TYPE BODY student_type AS
    MEMBER FUNCTION getAge RETURN NUMBER AS
    BEGIN
    RETURN Trunc(Months_Between(Sysdate, DOB)/12);
    END getAge;
    END;
    CREATE TYPE module_type AS OBJECT
    Module_number VARCHAR2(6),
    Module_name VARCHAR2(50),
    Credit NUMBER(2,0),
    Taught_in VARCHAR2(50)
    CREATE TYPE students_tab AS TABLE OF REF person_type;
    CREATE TYPE modules_tab AS TABLE OF REF module_type;
    CREATE TYPE course_type AS OBJECT
    Course_number NUMBER (2,0),
    Course_name VARCHAR2(50),
    Dept_name VARCHAR2(50),
    Taken_by Students_tab,
    Contains Modules_tab
    CREATE TABLE modules OF module_type(
    constraint pk_modules primary key (Module_number)
    CREATE TABLE courses OF course_type(
    constraint pk_courses primary key (Course_number)
    NESTED TABLE Taken_by STORE AS students_nt,
    NESTED TABLE Contains STORE AS modules_nt;

    By the way I am using oracle 9i and trying to insert into the nested table data from a subtype (i.e student is a subtype of person)

  • PLEASE HELP! Guitar line in on Audigy 2 ZS not working

    i have a sound blaster audigy 2 ZS platinum pro. In every program i try to use (FL 4, reason, krystal, ...) i can not even hear my guitar when plugged in to the sound card. I have tried the obvious, making sure i'm not in digital only mode, checking the cables. Some one please help.

    Does Line-In work w/ normal line sources?
    You propably need a pre-amp for guitar input through Line-In port but, if the port you're using is a Hi-Z port (you find this information from Audigy User's Guide) then, it should work even w/o additional pre-amp.
    jutapa

  • Please help me fix the bug relate to x$kzsro

    Dear everybody
    I'm new to oracle. I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 in window vista.
    recently, i try to run this code :
    select u.name, o.obj#, o.name,
    decode(o.type#, 2, 'TABLE', 4, 'VIEW')
    from sys.user$ u, sys.obj$ o
    where o.owner# = u.user#
    and o.linkname is null
    and o.type# in (2, 4)
    and (o.owner# = uid
    or
    obj# in (select obj#
    from sys.objauth$
    where grantee# in (select kzsrorol from x$kzsro)
    or grantee#=uid
    and encounter error :
    Error starting at line 1 in command:
    select u.name, o.obj#, o.name,
    decode(o.type#, 2, 'TABLE', 4, 'VIEW')
    from sys.user$ u, sys.obj$ o
    where o.owner# = u.user#
    and o.linkname is null
    and o.type# in (2, 4)
    and (o.owner# = uid
    or
    obj# in (select obj#
    from sys.objauth$
    where grantee# in (select kzsrorol from x$kzsro)
    or grantee#=uid
    Error at Command Line:11 Column:56
    Error report:
    SQL Error: ORA-00942: table or view does not exist
    00942. 00000 - "table or view does not exist"
    *Cause:
    *Action:
    this error relate to table or view x$kzsro in oracle 10.2
    i can't fix this bug.so please help me.
    thanks

    x$kzsro is a fixed table. You can select from fixed tables only if you are connected as sysdba. You can't grant select on a fixed table to a user:
    SQL> grant select on sys.x$kzsro to scott;
    grant select on sys.x$kzsro to scott
    ERROR at line 1:
    ORA-02030: can only select from fixed tables/views
    SQL> What you could do is as k your DBA to:
    SQL> create view v$kzsro as select * from x$kzsro;
    View created.
    SQL> grant select on v$kzsro to scott
      2  /
    Grant succeeded.
    SQL> connect scott
    Enter password: *****
    Connected.
    SQL> select * from sys.x$kzsro;
    select * from sys.x$kzsro
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select * from sys.v$kzsro;
    ADDR           INDX    INST_ID   KZSROROL
    00000000          0          1          1
    00000008          1          1         54
    00000010          2          1          2
    00000018          3          1          3
    00000020          4          1          4
    00000028          5          1          6
    00000030          6          1         20
    00000038          7          1          7
    00000040          8          1          8
    00000048          9          1          9
    00000050         10          1         10
    ADDR           INDX    INST_ID   KZSROROL
    00000058         11          1         13
    00000060         12          1         18
    00000068         13          1         26
    00000070         14          1         32
    00000078         15          1         33
    00000080         16          1         40
    00000088         17          1         42
    00000090         18          1         48
    00000098         19          1         80
    000000A0         20          1         82
    21 rows selected.
    SQL> SY.
    P.S. If you are new to oracle starting with sys owned tables and fixed tables isn't the best choice.

  • Same Conect By query workds fine in 9i but not in 10g - Please help

    We recently moved our project from 9i to 10g. A connect by query works fine in 9i environment but same not working in 10g environment. Please help.
    While trying with a sample table, that also behaves samem way. Please find the query and help on how to solve.
    create table test_connect_by (
    parent number,
    child number,
    constraint uq_tcb unique (child)
    insert into test_connect_by values ( 5, 2);
    insert into test_connect_by values ( 5, 3);
    insert into test_connect_by values (18,11);
    insert into test_connect_by values (18, 7);
    insert into test_connect_by values (17, 9);
    insert into test_connect_by values (17, 8);
    insert into test_connect_by values (26,13);
    insert into test_connect_by values (26, 1);
    insert into test_connect_by values (26,12);
    insert into test_connect_by values (15,10);
    insert into test_connect_by values (15, 5);
    insert into test_connect_by values (38,15);
    insert into test_connect_by values (38,17);
    insert into test_connect_by values (38, 6);
    insert into test_connect_by values (null, 38);
    insert into test_connect_by values (null, 26);
    insert into test_connect_by values (null, 18);
    COMMIT;
    In Oracle 10g:
    SQL> select level, lpad(' ',2*(level-1)) || to_char(child) s
    2 from test_connect_by
    3 start with level = 1
    4 connect by prior child = parent;
    no rows selected
    In Oracle 9i:
    SQL> select level, lpad(' ',2*(level-1)) || to_char(child) s
    2 from test_connect_by
    3 start with level = 1
    4 connect by prior child = parent;
    LEVEL S
    1 2
    1 3
    1 10
    1 5
    2 2
    2 3
    1 9
    1 8
    1 11
    1 7
    1 13
    1 1
    1 12
    1 15
    2 10
    2 5
    3 2
    3 3
    1 17
    2 9
    2 8
    1 6
    1 38
    2 15
    3 10
    3 5
    4 2
    4 3
    2 17
    3 9
    3 8
    2 6
    1 26
    2 13
    2 1
    2 12
    1 18
    2 11
    2 7
    39 rows selected.

    Hi,
    user10739895 wrote:
    It works fine and gives result without the "START WITH LEVEL = 1".
    However, in 9i, we get the result with the clause "START WITH LEVEL = 1" and after migrating, now in 10g, we are not getting the result. Is it like in 10g, if it is Level 1, we should not specify?
    Also, please clarify, is it like, if we don't specify the default is Level 1? Conceptually, LEVEL is assigned when rows enter the result set. Rows that enter because of the START WITH clause, by definition, have LEVEL=1. Rows that enter because of CONNECT BY have the LEVEL of the row to which they are connected, plus 1.
    "START WITH LEVEL = 1" returns no rows when I try it in Oracle 11.1.0.
    I suggest not using it.
    If you don't have a START WITH clause, you'll START WITH every row in the table. That seems to be what you got in Oracle 9. Is that what you want? If so, then just don't use a START WITH clause.

  • Please help me on this logic

    Please help me on below requirement.
    Records should not come are total of CODE1+CODE2=0 and AMOUNT< 500.
    Without using MINUS operator becuase
    we have millions of records with different CODES it hampers the performance.
    Data in the table as below
    CODE1 CODE2 AMOUNT
    0 1 500
    0 0 500
    0 0 400
    1 0 400
    2 0 200
    0 0 600
    1 2 700
    After making sum of code data in the table as below.
    CODE1 CODE2 TOT_CODE AMOUNT
    0 1 1 500
    0 0 0 300
    0 0 0 400
    1 0 1 400
    2 0 2 200
    0 0 0 600
    1 2 3 700
    The output should be as below.
    CODE1 CODE2 TOT_CODE AMOUNT
    0 1 1 500
    1 0 1 400
    2 0 2 200
    0 0 0 600
    1 2 3 700
    Records should not come are total of CODE1+CODE2=0 and AMOUNT< 500.
    I tried the below query it's not giving correct result.
    SELECT * FROM(SELECT sd.*,code1+code2 AS TOT_CODE FROM student sd)
    WHERE TOT_CODE !=0
    AND amount>500
    If I use below query it's giving correct out put but taking long time
    because we have millions of records.
    SELECT * FROM(SELECT sd.*,code1+code2 AS TOT_CODE FROM student sd)
    NINUS
    SELECT * FROM(SELECT sd.*,code1+code2 AS TOT_CODE FROM student sd)
    WHERE TOT_CODE !=0
    AND amount>500
    Please help me.
    Thanks on advance.

    CREATE TABLE student (code1 number, code2 number, amount number);
    INSERT INTO student VALUES(0,1,500);
    INSERT INTO student VALUES(0,0,800);
    INSERT INTO student VALUES(0,0,300);
    INSERT INTO student VALUES(0,0,400);
    INSERT INTO student VALUES(1,0,400);
    INSERT INTO student VALUES(2,0,200);
    INSERT INTO student VALUES(0,0,600);
    INSERT INTO student VALUES(1,2,700);
    The output will be
    CODE1 CODE2  TOT_CODE AMOUNT
    0     1         1     500
    0     0         0     800
    1     0         1     400
    2     0         2     200
    0     0         0     600
    1     2         3                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Scrolling TBODY ability: we need it back! It's part of w3c spec. Sites with it validate correctly. FF3 supported it just fine. FF4 needs to do the same thing! Please help!

    Question says it all. I have a sample site below that works with a scrolling table with my FF3 on Windows browser, but doesn't work on FF4 on Windows. If there's another way to do scrolling tbodys with locked theads and tfoots, please help me with it. I see a lot of developers asking the question, and getting told that the functionality has been intentionally removed from FF4 with no further explanation. This doesn't compute for me. I have several sites with multiple pages that will now have to be completely redesigned if my users start upgrading to FF4. Please help me out here. The scrolling tables are a very cool component in some of my applications and it seems like a total step backwards to lose that functionality. Thank you!

    Please provide a sample link.

Maybe you are looking for

  • How do i standardize the path of Adobe to open a PDF file?

    Hi all, In one of my forms, i have created a Text Item (named as PDF1 ) in which i will display the name of PDF file and also have created a check box (named as CH1 & put in the block 'PDFCHK' ). Here what i am doing is when i click on the check box,

  • BT Netprotect Plus and Bullguard

    I've just signed up for BT INfinity which is now installed and working fine. So, now I have an email from BT asking me to ste up BT Netprotect Plus, which I understand comes free with this package. I already have Bullguard Internet security (with 95

  • Shared excel workbook, wont be shared -

    Hi We have a Sharepoint 2010 in our domain, and many of our users would like to edit on the same documents and excel spreadsheets.  The documents are no problem. If user A open a doc and then user B, they both can edit on the same documents, and also

  • Got my ipod

    Yes, Finally at about 7:30PM 11/10/05 I got my VIDEO iPOD. Y AY, currently I am loading the songs/movies/pictures. I just hope I don't run into many problems. Thanks apple, but Why no fire wire use, stupid idea to use the same circuitry from the nano

  • RDF file on designated tray

    I have need to programmatically submit report output to a designated tray. The pseudo logic is below. if condition x then print from tray 1 elsif condition y then print from tray 2 else print from tray 3 end if; How can I acheive this in Report 6i? T