How to insert a row into nth row of a table

Hi
I am new to oracle. I just have a doubt. How do i write a sql query to insert into the nth row of a table with and without rownum.
Could some one help me in this
Thanks

I'm not sure I really understand what you are asking. Since there is no real concept of a physical Nth row in a heap organized table (by definition - it's a heap), it doesn't make sense to me to ask how it can be done regardless of mechanism.
Perhaps it is a terminology issue? A cursor is a static object which represents a handle to a memory area which Oracle uses to store information needed for processing a statement. The execution of a cursor creates a result set (sometimes also called a row set). A cursor variable is a pointer (i.e. memory address) to a cursor and can be used as a parameter to procedures/functions, etc.
The point of confusion, I think, is that with a heap table, there is no inherent ordering. You might have columns like an "ID" column that have numeric values that can be used to order the results of a select statement by using an "order by", but there is no inherent order in the storing of the rows in the table itself.
You can insert rows into a table using an "insert into" with an "order by", but I am not sure if that is what you mean either. However, over time as rows are deleted, updated, inserted the initial ordering of the table can be lost.
Not sure that helps, but perhaps.
Regards,
Mark

Similar Messages

  • How to combine many rows into one row

    Hi all,
    I have a question regarding to how to combine many rows into one row?
    My result set is like that:
    ITEM_NO NAME1
    11 abc
    11 cde
    11 fg
    Want to combine them into
    ITEM_NO NAME1
    11 abc;cde;fg
    would anybody can tell me how to do that? Thanks
    Ray

    You can check this --
    satyaki>
    satyaki>
    satyaki>create table t
      2  as
      3      select 11 ITEM_NO, 'abc' NAME1 from dual
      4      union all
      5      select 11 ITEM_NO, 'cde' NAME1 from dual
      6      union all
      7      select 11 ITEM_NO, 'fg' NAME1 from dual;
    Table created.
    satyaki>
    satyaki>
    satyaki>
    satyaki>set lin 10
    satyaki>
    satyaki>desc t;
    Name              Null?    Type
    ITEM_NO                    NUMBER
    NAME1                      VARCHAR2(3)
    satyaki>
    satyaki>
    satyaki>set lin 1000
    satyaki>
    satyaki>
    satyaki>
    satyaki>SELECT ITEM_NO,
      2         LTRIM(MAX(SYS_CONNECT_BY_PATH(NAME1,';'))
      3         KEEP (DENSE_RANK LAST ORDER BY curr),';') AS NAME1_DET
      4  FROM   (SELECT ITEM_NO,
      5                 NAME1,
      6                 ROW_NUMBER() OVER (PARTITION BY ITEM_NO ORDER BY NAME1) AS curr,
      7                 ROW_NUMBER() OVER (PARTITION BY ITEM_NO ORDER BY NAME1) -1 AS prev
      8          FROM   t)
      9  GROUP BY ITEM_NO
    10  CONNECT BY prev = PRIOR curr AND ITEM_NO = PRIOR ITEM_NO
    11  START WITH curr = 1;
       ITEM_NO  NAME1_DET
            11  abc;cde;fgRegards.
    Satyaki De.

  • Urgent: How to break 1 Row into Multiple Rows

    Hi Experts,
    I have a requirment where i need to fetch parts of a single row into multiple rows from a singlt Query, i am sure it is possible using Pivots but just cant figure out an approach. Any help on this is highly appriciapted.
    Requirment:
    This is a sample set record in a table
    Product Sub Product Name Age
    New Car Nissan Tom 49
    New Car Nissan Jack 36
    Old Car Audi Sam 24
    Old Car Jaguar Pint 26
    Old Car Audi Smith 41
    I need to be able to fetch the above data in the below fashion
    Product Sub Product Name Age
    New Car
    Nissan
    Tom 49
    Jack 36
    Old Car
    Audi
    Sam 24
    Smith 41
    Jaguar Pint 26
    Please help with ideas as to how can i achive the above without using PLSQL.
    Thanks in advance!

    user9086775 wrote:
    Hi Experts,
    I have a requirment where i need to fetch parts of a single row into multiple rows from a singlt Query, i am sure it is possible using Pivots but just cant figure out an approach. Any help on this is highly appriciapted.
    Requirment:
    This is a sample set record in a table
    Product     Sub Product          Name    Age
    New Car    Nissan                   Tom        49
    New Car    Nissan                   Jack         36
    Old Car      Audi                     Sam         24
    Old Car      Jaguar                  Pint          26
    Old Car      Audi                     Smith       41
    I need to be able to fetch the above data in the below fashion
    Product     Sub Product          Name    Age
    New Car
    Nissan
    Tom        49
    Jack        36
    Old Car     
    Audi            
    Sam        24
    Smith      41
    Jaguar                   Pint         26Please help with ideas as to how can i achive the above without using PLSQL.
    Thanks in advance!You should be doing this in the client on not in the DB. Use the reporting tool that you use to do this.
    For example if you are in SQL Plus you can use the BREAK command.

  • How to combine many rows into 1 rows in 1 column?

    Hi all,
    I have a question regarding to how to combine many rows into one row?
    My result set is like that:
    ITEM_NO NAME1
    11 abc
    11 cde
    11 fg
    Want to combine them into
    ITEM_NO NAME1
    11 abc;cde;fg
    would anybody can tell me how to do that? Thanks
    Ray

    Hi,
    select * from x2;
    INO NAME
    13 PQR
    11 ABC
    11 DEF
    12 JKL
    12 MNO
    11 GHI
    select p.ino as ITEMNO,
           substr(max(substr(sys_connect_by_path (p.name,';'),2)),1,60) as ITEMNAME
    from (select ino,name,
          row_number()over (partition by ino order by ino, name) rn
    from x2) p
    start with p.rn = 1
    connect by p.rn = prior p.rn + 1
    and prior p.ino = p.ino
    group by ino;
    OP
    ITEMNO ITEMNAME
    11 ABC;DEF;GHI
    12 JKL;MNO
    13 PQR cheers
    Nirmal

  • Merge multiple rows into single row (but multiple columns)

    How to merge multiple rows into single row (but multiple columns) efficiently.
    For example
    IDVal IDDesc IdNum Id_Information_Type Attribute_1 Attribute_2 Attribute_3 Attribute_4 Attribute_5
    23 asdc 1 Location USA NM ABQ Four Seasons 87106
    23 asdc 1 Stats 2300 91.7 8.2 85432
    23 asdc 1 Audit 1996 June 17 1200
    65 affc 2 Location USA TX AUS Hilton 92305
    65 affc 2 Stats 5510 42.7 46 9999
    65 affc 2 Audit 1996 July 172 1100
    where different attributes mean different thing for each Information_type.
    For example for Information_Type=Location
    Attribute_1 means Country
    Attribute_2 means State and so on.
    For example for Information_Type=Stats
    Attribute_1 means Population
    Attribute_2 means American Ethnicity percentage and so on.
    I want to create a view that shows like below:
    IDVal IDDesc IDNum Country State City Hotel ZipCode Population American% Other% Area Audit Year AuditMonth Audit Type AuditTime
    23 asdc 1 USA NM ABQ FourSeasons 87106 2300 91.7 46 85432 1996 June 17 1200
    65 affc 2 USA TX AUS Hilton 92305 5510 42.7 46 9999 1996 July 172 1100
    Thanks

    Hi,
    That's called Pivoting . The forum FAQ has a section on this subject: {message:id=9360005}
    I hope this answers your question.
    If not, post your best attempt, along with a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data. (You did post the results you wanted, but they're very hard to read because they're not formatted. Use \ tags, as described in the forum FAQ, below.)
    Explain, using specific examples, how you get the results you want from the data given.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).  This is always important, but especially so with pivots.
    See the forum FAQ {message:id=9360002}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • I need to divide selected row into multiple rows when i navigate  ADF 11g

    Hi
    I'm using jdeveloper 11.1.1.2.0 with ADF 11g.
    I need to divide selected row into multiple rows when i navigate to other page . Scenario - in first page i'm displaying some records with columns like empno , empstatus , empworkdepts ,curdepts
    Here empworkdepts gives the numeric number like no of departments work shifts 3 or 4 or 5. when i select any particular employee and fire next button to navigate next page.I have to divide the selected employee with same information into multiple times based on the empworkdepts value.
    empno empstatus empworkdepts curdept
    001 eds 2 TS
    002 hr 1 FO
    003 eds 4 TS
    *004 eds 3 TS*
    now i selected employee 004 , when i navigate to next page.
    Empno EmpStatus EmpWorkDepts CurDept
    004 eds 3 TS
    004 eds 3 TS
    004 eds 3 TS
    i did with java code in bean .but not stable .
    any help............
    thanks advance.............
    Edited by: user9010551 on May 5, 2010 10:48 PM
    Edited by: user9010551 on May 10, 2010 11:31 PM

    user9086775 wrote:
    Hi Experts,
    I have a requirment where i need to fetch parts of a single row into multiple rows from a singlt Query, i am sure it is possible using Pivots but just cant figure out an approach. Any help on this is highly appriciapted.
    Requirment:
    This is a sample set record in a table
    Product     Sub Product          Name    Age
    New Car    Nissan                   Tom        49
    New Car    Nissan                   Jack         36
    Old Car      Audi                     Sam         24
    Old Car      Jaguar                  Pint          26
    Old Car      Audi                     Smith       41
    I need to be able to fetch the above data in the below fashion
    Product     Sub Product          Name    Age
    New Car
    Nissan
    Tom        49
    Jack        36
    Old Car     
    Audi            
    Sam        24
    Smith      41
    Jaguar                   Pint         26Please help with ideas as to how can i achive the above without using PLSQL.
    Thanks in advance!You should be doing this in the client on not in the DB. Use the reporting tool that you use to do this.
    For example if you are in SQL Plus you can use the BREAK command.

  • Merging rows into one row but into SEPARATE Columns

    Hello Gurus,
    I have searched alot on OTN and many other places, but no where I could get the solution of how can we merge rows into one row but separate column. For example
    Consider the below scenario
    "DEPARTMENT", "EMP","NAME","SUBJECT"
    "Electronics","1","Sam","LIC"
    "Electronics","2","Pam","VLSI"
    "Electronics","3","Tom","C"
    "Mech","1","Abu","Thermo"
    "Mech","4","Lina","Machines"Now, I need the output like
    Based on Department as Group By Clause
    "DEPARTMENT", "EMP1","NAME1","SUBJECT1","EMP2","NAME2","SUBJECT2","EMP3","NAME3","SUBJECT3"
    "Electronics","1","Sam","LIC","2","Pam","VLSI","3","Tom","C"
    "Mech","1","Abu","Thermo","4","Lina","Machines"
    The row data to be loaded into separate columns. Name of the column is not an issue... can be anythingIn all the forums which I went through I could find them loading into a single column, but not into respective separate columns.
    Any help would be much appreciated.
    Thanks

    848265 wrote:
    Frank,
    I saw your name nearly n number of times, as I went through many forums today... And the link which you have just posted, I went through it today afternoon.
    Could you please explain this bit taken from your dynamic pivot post.
    SELECT     DISTINCT
         ',     COUNT (CASE WHEN job = '''
    ||     job
    ||     ''' '     AS txt1
    ,     'THEN 1 END)     AS '
    ||     job
    ||     '_CNT'     AS txt2
    FROM     scott.emp
    ORDER BY     txt1;Many Thanks.You only need that when you need column aliases based on the actual data (and you explicitly said you don't need that) or when can't put an upper bound on the number of columns to be displayed. If that doesn't apply to this problem, then don't use any kind of dynamic SQL (like the code above); it makes the job much more difficult, less efficient and less robust.
    Here's what the code above is doing.
    If you were hard-coding a query that showed the number of people in each job, and you knew that the possible jobs were 'ANALYST', 'CLERK' and 'MANAGER', then you might hard-code a query like this:
    SELECT    deptno
    ,       COUNT (CASE WHEN job = 'ANALYST'  THEN 1 END)     AS analyst
    ,       COUNT (CASE WHEN job = 'CLERK'    THEN 1 END)     AS clerk
    ,       COUNT (CASE WHEN job = 'MANAGER'  THEN 1 END)     AS manager
    FROM       scott.emp
    GROUP BY  deptno
    ;If the jobs had different names, or if there were not 3 different jobs, then you would have to change the lines in the SELECT clause that start with ", COUNT ( CASE ...".
    The code you posted is from an example of dynamic SQL, where you first run a Preliminary Query . (What you posted above is, in fact, the complete preliminary query.) The output of that preliminary query is exactly the variable part of the real query, such as:
    ,       COUNT (CASE WHEN job = 'ANALYST'  THEN 1 END)     AS analyst
    ,       COUNT (CASE WHEN job = 'CLERK'    THEN 1 END)     AS clerk
    ,       COUNT (CASE WHEN job = 'MANAGER'  THEN 1 END)     AS managerYou then use this output as part of your main query. In other words, you can write something today that will generate exacrly as many columns as you need next year, with names from the data as it is next year. How? because you're not writing the full query today. The variable part will be written by the preliminary query when it runs next year.

  • Convert one record row into multiple rows

    Hi,
       I have small requirement.I have selected one data base record into an internal table.Now internal table has 1 record i.e 1 row(ex: 10 columns). Now i will convert this single row record into multiple  records i.e 10 rows( 10 columns wil; be converted into 10 rows). How i will convert this. Please give me any idea on this.
    Regards
    Geetha

    Hi Geetha,
    Search SCN using keyword,  " convert Rows into columns" or vice versa,,,
    U will get more answers & solutions,
    Look at Some of the Previous threads....
    Re: How to create a structure of itab as rows as colums and columns rows dy
    Re: Transpose rows and columns
    CONVERT ROWS INTO COLUMNS IN INTERNAL TABLE
    Convert Internal table Rows into columns of another internal table
    how to convert columns of an internal table to rows of another internal tab.
    Convert Columns into Rows (internal tables) - Urgent Help Pleasse..
    converting columns to rows
    Thanks & regards,
    Dileep .C

  • Splitting 1 row into 2 rows

    Hi!
    I need to split this row into 2 rows. The key is the flight_leg_id.
    SELECT * 
    FROM favailability a, favailability b
    WHERE a.from_city  = b.to_city
        AND a.to_city = b.from_city
        AND a.from_city = 'Zurich'
        AND a.service_class = 'Economy'
        AND a.fare_type = 'Economy Flex'
        AND a.flight_date = '01.10.09'
        AND b.from_city = 'London'
        AND b.service_class = 'Economy'
        AND b.fare_type = 'Economy Flex'
        AND b.flight_date = '11.10.09';
    FLIGHT_LEG_ID          CARRIER_CODE FLIGHT_NO              FROM_CITY                                                              ORIGIN DEPT_TIME TO_CITY                                                                DESTINATION ARR_TIME FLIGHT_DATE               AIRCRAFT_TYPE                            BOOKING_CLASS SERVICE_CLASS                  NUM_OF_SEATS           SEATS_OCC              CHECKED_BAG          FARE_BASIS FARE_TYPE                      CURRENCY RT_NET_FARE            OW_FARE                TAX                    SURCHARGES             FARE_TOTAL             FLIGHT_LEG_ID          CARRIER_CODE FLIGHT_NO              FROM_CITY                                                              ORIGIN DEPT_TIME TO_CITY                                                                DESTINATION ARR_TIME FLIGHT_DATE               AIRCRAFT_TYPE                            BOOKING_CLASS SERVICE_CLASS                  NUM_OF_SEATS           SEATS_OCC              CHECKED_BAG          FARE_BASIS FARE_TYPE                      CURRENCY RT_NET_FARE            OW_FARE                TAX                    SURCHARGES             FARE_TOTAL            
    3                      LX           450                    Zurich                                                                 ZRH    07:00     London                                                                 LCY         07:35    01.10.09                  AVRO RJ100                               B             Economy                        57                                            20 kg                LXB        Economy Flex                   EUR      708                                           30,01                  21,24                  759,34                 4                      LX           345                    London                                                                 LHR    06:00     Zurich                                                                 ZRH         08:40    11.10.09                  Airbus A320                              B             Economy                        72                                            20 kg                LXB        Economy Flex                   EUR      707                                           30,01                  35,24                  772,25                
    1 rows selectedHow can I do this?

    BANNER                                                          
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production                          
    CORE     10.2.0.1.0     Production                                        
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production         
    NLSRTL Version 10.2.0.1.0 - Production                          
    5 rows selected
    CREATE TABLE "TEST"."FAVAILABILITY"
       (     "FLIGHT_LEG_ID" NUMBER NOT NULL ENABLE,
         "CARRIER_CODE" VARCHAR2(3 BYTE) NOT NULL ENABLE,
         "FLIGHT_NO" NUMBER(4,0) NOT NULL ENABLE,
         "FROM_CITY" VARCHAR2(70 BYTE) NOT NULL ENABLE,
         "ORIGIN" VARCHAR2(3 BYTE) NOT NULL ENABLE,
         "DEPT_TIME" VARCHAR2(6 BYTE) NOT NULL ENABLE,
         "TO_CITY" VARCHAR2(70 BYTE) NOT NULL ENABLE,
         "DESTINATION" VARCHAR2(6 BYTE) NOT NULL ENABLE,
         "ARR_TIME" VARCHAR2(6 BYTE) NOT NULL ENABLE,
         "FLIGHT_DATE" DATE NOT NULL ENABLE,
         "AIRCRAFT_TYPE" VARCHAR2(40 BYTE) NOT NULL ENABLE,
         "BOOKING_CLASS" CHAR(1 BYTE) NOT NULL ENABLE,
         "SERVICE_CLASS" VARCHAR2(30 BYTE) NOT NULL ENABLE,
         "NUM_OF_SEATS" NUMBER(3,0) NOT NULL ENABLE,
         "SEATS_OCC" NUMBER(3,0),
         "CHECKED_BAG" VARCHAR2(20 BYTE),
         "FARE_BASIS" VARCHAR2(8 BYTE) NOT NULL ENABLE,
         "FARE_TYPE" VARCHAR2(30 BYTE) NOT NULL ENABLE,
         "CURRENCY" VARCHAR2(3 BYTE) NOT NULL ENABLE,
         "RT_NET_FARE" NUMBER(6,2) NOT NULL ENABLE,
         "OW_FARE" NUMBER(5,2),
         "TAX" NUMBER(5,2) NOT NULL ENABLE,
         "SURCHARGES" NUMBER(4,2),
         "FARE_TOTAL" NUMBER(6,2) NOT NULL ENABLE,
          CONSTRAINT "FAVAILABILITY_PK" PRIMARY KEY ("FLIGHT_LEG_ID", "CARRIER_CODE", "FLIGHT_NO", "ORIGIN", "DEPT_TIME", "DESTINATION", "FLIGHT_DATE", "BOOKING_CLASS", "SERVICE_CLASS", "FARE_BASIS", "FARE_TYPE")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS"  ENABLE
       ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "USERS" ;
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (5,'LH',4732,'Frankfurt','FRA','15:15','London','LHR','15:50',to_timestamp('01.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','P','Economy',190,null,null,'LHP','Economy Basic','EUR',252,null,124.64,15,376.64);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (5,'LH',4732,'Frankfurt','FRA','15:15','London','LHR','15:50',to_timestamp('03.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','P','Economy',190,null,null,'LHP','Economy Basic','EUR',252,null,124.64,15,376.64);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (5,'LH',4732,'Frankfurt','FRA','15:15','London','LHR','15:50',to_timestamp('04.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','P','Economy',190,null,null,'LHP','Economy Basic','EUR',252,null,124.64,15,376.64);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (5,'LH',4732,'Frankfurt','FRA','15:15','London','LHR','15:50',to_timestamp('05.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','P','Economy',190,null,null,'LHP','Economy Basic','EUR',252,null,124.64,15,376.64);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (5,'LH',4732,'Frankfurt','FRA','15:15','London','LHR','15:50',to_timestamp('06.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','P','Economy',190,null,null,'LHP','Economy Basic','EUR',252,null,124.64,15,376.64);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (5,'LH',4732,'Frankfurt','FRA','15:15','London','LHR','15:50',to_timestamp('07.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','P','Economy',190,null,null,'LHP','Economy Basic','EUR',252,null,124.64,15,376.64);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (6,'LH',4727,'London','LHR','11:50','Frankfurt','FRA','14:20',to_timestamp('20.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','G','Economy',190,null,null,'LHG','Economy Basic','EUR',252,null,0,0,252);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (6,'LH',4727,'London','LHR','11:50','Frankfurt','FRA','14:20',to_timestamp('21.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','G','Economy',190,null,null,'LHG','Economy Basic','EUR',252,null,0,0,252);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (6,'LH',4727,'London','LHR','11:50','Frankfurt','FRA','14:20',to_timestamp('22.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','G','Economy',190,null,null,'LHG','Economy Basic','EUR',252,null,0,0,252);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (6,'LH',4727,'London','LHR','11:50','Frankfurt','FRA','14:20',to_timestamp('23.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','G','Economy',190,null,null,'LHG','Economy Basic','EUR',252,null,0,0,252);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (6,'LH',4727,'London','LHR','11:50','Frankfurt','FRA','14:20',to_timestamp('24.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','G','Economy',190,null,null,'LHG','Economy Basic','EUR',252,null,0,0,252);
    Insert into FAVAILABILITY (FLIGHT_LEG_ID,CARRIER_CODE,FLIGHT_NO,FROM_CITY,ORIGIN,DEPT_TIME,TO_CITY,DESTINATION,ARR_TIME,FLIGHT_DATE,AIRCRAFT_TYPE,BOOKING_CLASS,SERVICE_CLASS,NUM_OF_SEATS,SEATS_OCC,CHECKED_BAG,FARE_BASIS,FARE_TYPE,CURRENCY,RT_NET_FARE,OW_FARE,TAX,SURCHARGES,FARE_TOTAL) values (6,'LH',4727,'London','LHR','11:50','Frankfurt','FRA','14:20',to_timestamp('25.10.09','DD.MM.RR HH24:MI:SSXFF'),'Airbus A321-131','G','Economy',190,null,null,'LHG','Economy Basic','EUR',252,null,0,0,252);Edited by: user545194 on 30-Sep-2009 06:29

  • A way to roll up rows into one row

    Is there a way to "roll up" a set number of rows into one row? I would like to have a row that can be expanded into several rows by clicking a plus sign or something similar. Anyway to do this?
    Regards,
    Mark

    Mark,
    Sorry, it didn't occur to me that you meant "hiding". It sounds like you already know how to hide and unhide but unfortunately there are no shortcuts. I agree that it would be nice to have a way to unhide a selected row or column and if my memory serves me I submitted a request for this feature some months ago. May I suggest that you also go to Main Menu > Numbers > Provide Numbers Feedback.
    The more requests for features they receive the better the chance for getting them in future updates. Best wishes,
    pw

  • How To Insert A object into Conext

    Hi Techies,
    I have 8 tables in my designer
    and I have two contexts at designer level
    And how to insert a object into a context that is not referencing any table.
    For Example I have an object like "rownum" (Which should must be added at Universe level only not at report level). Here this object is not referencing any table and I want this to be used in a query where the remaining objects are coming from the context..
    Thanks in Advance..

          Double-click the Objects and click the TABLES button and select the table you want to associate the object to for the context to work properly (see below).
    Regards,
    Ajay

  • How to insert a query into a NEW workbook ?

    Hi Friends,
    Could some one tell me how to insert a query into a new workbook? i am trying to run query in NW2004S BEx Query Designer, which always open the query on web when executed. i want to run the query in NW2004S BEx Query Designer and want it to open the result in Excell.
    If i am not wrong then to do the same, i need to embed the query into workbook. Correct me if i am wrong. If i am right then plzz tell me the steps to insert the query into workbook.
    Ur help will be rewarded in terms of points.
    Thanks,

    Hello,
    If you open the BEx Query Designer from the desktop, you cannot execute the query directly to the BEx Analyzer for an Excel view. You can only execute it directly to the Web. This is true for the SAP BW 3.x version as well as the SAP NetWeaver 2004s version.
    If you open the BEx Query Designer from within BEx Analyzer, once you select (or create) your query, you will have a green check mark icon that will then allow you to deploy the query directly to the BEx Analyzer for the Excel view.
    However, this would only make sense if you are creating or modifying the query. If not, you would simply open BEx Analyzer and use the Open Query option in this tool to see your query in an Excel format, as has been previously suggested by the other respondents to this posting.
    Regards,
    Katie Beavers
    SAP NetWeaver Product Management

  • Can anyone advise me how to insert a hyperlink into a project I am using Captivate 5?

    Can anyone advise me how to insert a hyperlink into a project - I am using Captivate 5

    You can use an interactive object such as a click box placed over the top of a text caption, or a button, to link to the URL.  However, these will not strictly-speaking appear identical to hyperlinks.
    If you really want to replicate the rollover appearance of a true HTML text hyperlink, then you might consider the Hyperlink widget from Infosemantics:
    http://www.infosemantics.com.au/adobe-captivate-widgets/hyperlink-interactive/help
    Free trial versions for download hers:
    http://www.infosemantics.com.au/adobe-captivate-widgets/download-free-trial-widgets

  • How to insert a value into a field of binary type?

    I've been using Oracle for a while now but never dealt with BLOB
    or long raw type before. Does anyone here know how to insert a
    record into a field of either blob or long raw type?
    Any suggestions would be very appreicated.
    Thanks.

    pls used the loadfromfile procedure which is in the DBMS_LOB
    package to insert the data from external os file into blob data
    type column.
    Kunjan

  • How to insert a photo into a film strip theme

    I am making a imovie with a lot of pictures and few videos but I was wondering how to insert the pictures into the filmstrip theme. I have seen it done in other peoples movies before i just cant figure it out

    Hi Bob,
    With titles, all you need to do is drag them directly onto a video clip or still - the Theme will automatically take care of placing the video into the appropriate frames.
    Similarly with transitions. Drag the theme transition between 2 clips (video or stills) and the frames will be "populated" automatically. If you now click on the transition, you will see that each frame is numbered, both in the viewer and the timeline. Simply drag the numbers in the timeline to a different position to change the stills in the transition.
    Hope I've not misunderstood what you are trying to do!
    John

Maybe you are looking for