How to increase the data

I have data like below

create table temp tt (i_id, whole i_userid, i_porid integer, i_date date)

insert into a values (1,11,22, sysdate) tt
insert into a values (2,33,44, sysdate) tt

now for each i_id I want to insert 5 more records with the same i_userid, i_porid, but i_date should be i_date + 1

I have this in a single SQL

In short, I want to increase the load test data.
can you please help.

You will need to add SEPARATE for the query that uses the CONNECTION OF LEVEL to get the value not duplicate, as below:

INSERT INTO tt
SELECT DISTINCT i_id,
  i_userid,
  i_porid,
  i_date+level i_date
FROM tt
  CONNECT BY level<=5;

select *  from tt order by i_id, i_date;

-----------
1     11     22     05-OCT-10
1     11     22     06-OCT-10
1     11     22     07-OCT-10
1     11     22     08-OCT-10
1     11     22     09-OCT-10
1     11     22     10-OCT-10
2     33     44     05-OCT-10
2     33     44     06-OCT-10
2     33     44     07-OCT-10
2     33     44     08-OCT-10
2     33     44     09-OCT-10
2     33     44     10-OCT-10

Tags: Database

Similar Questions

  • How to increase the sampling rate in this VI?

    Hi all

    I have recently inherited this mess of a VI and can not figure out how to increase the sampling rate. I tried to change the "ms of waiting ' clock, but it does not add more data points." The main VI, as well as the Subvi, which contains a Daq Assistant to a load cell and LVDT is attached. Any ideas on how to improve the sampling without a complete overhaul would be greatly appreciated!

    Thanks in advance!

    If you are grateful, feel free to give congratulations and mark the topic as resolved.

  • increase the data type

    Hello
    How to increase the datatype of the column that has the varchar data that is 10 to 25 bytes

    Please help with the steps

    Thank you
    SQL> create table fubar (col1 varchar2(10));
    
    Table created.
    
    SQL> insert into fubar values('yes');
    
    1 row created.
    
    SQL> commit;
    
    Commit complete.
    SQL> alter table fubar modify (col1 varchar2(25));
    
    Table altered.
    
    SQL> 
    

    Handle: 896398
    Status level: Beginner
    Join date: November 9, 2011
    Messages total: 605
    Total Questions: 177 (133 pending)

    I offer my condolences to you, since you get rarely answers to your questions here.

  • How to increase the Tablespace/datafile max_size

    Hello

    Under current size and max_size of the data_file obtained query. Now, I want to increase the size of the data file.

    SQL > select FILE_NAME, nom_tablespace, BYTES/1024/1024, MAXBYTES/1024/1024 of dba_data_files
    2 where nom_tablespace like '% Tablespace_one' nom_tablespace order;

    FILE_NAME NOM_TABLESPACE BYTES/1024/1024 MAXBYTES/1024/1024
    -------------------------------------------------------------------------------------------------------------------------------------
    4988 5000 TABELSPACE_ONE /xxx/yyyyy/ABCD/data/file_name.dbf

    I want to multiply the max_size up to 6GB.

    Please suggest how to increase the max_size up to 6GB file.

    Thank you and best regards,
    Vincent.
    Setting the maximum size
    It makes only sense to set a maximum size for a datafile if autoextend is on. Hence, the statement to set the maximum size requires to specify autoextend on.
    alter database datafile '/xxx/yyyyy/ABCD/data/file_name.db' autoextend on maxsize 6G;
    
  • How to increase the size of the tabs?

    http://i.imgur.com/pMYJr4r.PNG

    I've been optimizing the menu bar to save as much space as possible and I'm frankly pleased with what I got, with the exception of a fact of monkey - tabs are too small, because the space is taken by the address bar. How to increase the length of the decrease address bar bi-bouteille tab?

    Hello VladimirVilimaitis, you might try the following extension: https://addons.mozilla.org/firefox/addon/custom-tab-width/

  • How to increase the size of the menu bar?

    My bar menu and all the buttons at the top suddenly, all are much smaller. Any ideas on how to increase the size of the top of the screen? IM talking not about the size of Web pages, just the menus up to the top.

    Don't want to use the menu bar and not the Firefox menu button?

    See also:

    You had previously placed all the items in the Menu bar?

    You can set the layout.css.devPixelsPerPx pref on the topic: config page on 1.0 or Windows 8 to 1.25 and if necessary adjust layout.css.devPixelsPerPx from 1.0 to 0.1 or 0.05 steps (1.1 or 0.9) do the icons to display properly.

    See also:

    An extension allows you to adjust the size of the text in the user interface and zoom the page in the browser window.

    You can watch this extension to adjust the font size for the UI (toolbar).

    You can watch the Default FullZoom Level or NoScript extension if the web pages need to be adjusted after the change of layout.css.devPixelsPerPx.

  • Anyone know how to check the date of warranty until when?

    Anyone know how to check the date of warranty until when?

    https://checkcoverage.Apple.com/Jo/en/;JSESSIONID=9pJ0X9pFPJtNg3c44yDGCvk9pVpt5l QSgn4B60y4Skv1WfmnqMkF!-1840326800

  • Toshiba 24W1433DG - how to increase the size of the subtitles

    Good evening.

    I bought model lcd 24W1433DG I
    in trouble in subtitles divx, movies meto a pen and turn the LCD screen and all the subtitles of movies are very small and the big give computer... I went to the maximum value and the 30, but the legend is small (I mean the subtitles of attention for divx movies) would like to help

    How to increase the size of the subtitles.

    Thank you

    Message has been translated

    Hello

    As far as I know, the size of the subtitles can be increased.

  • How to find the date item was my favorites on Mozilla Firefox

    on system moot bookmark how to find the date of the bookmark?

    In bookmarks menu select organize bookmarks to open the bookmarks library. In the bookmarks library, click views, and then display the columns and then added. This will display a column showing when a bookmark has been added.

  • How to set the date and time on my HP Officejet pro 8600 more?

    How to set the date and time on my HP officejet pro 8600 more?  It just on a printed journal Jan-oo-oo fax shows 00:00 AM.  There are no instructions on how to change this.  I need proof that I sent a fax to a certain date and time.  Help, please.  Thank you

    Hello

    Below are the steps to set the Date and time for your device:

    1. On the Control Panel, press the right arrow key ( ), press Setup ( ).

  • How to increase the video memory on my Satellite 1800-254?

    A friend give me a Toshiba satellite 1800 Lalonde - 254 s for use only watch movies for my kids. With graphics memory, it has its impossible to reproduce movies, so I increased the RAM to 512 MB graphics memory is 8 MB. How I increase the graphics memory? Is it possible?

    Thank you very much

    Titanico

    (Excuse my English, I use a translator)

    This old laptop has a graphics card with shared memory. In other words, when you have more RAM inside more memory will be used for graphical operations. According to the specifications of the laptop this old notebook was shipped with 128 MB of RAM, but can be improved up to 512 MB.

    Trying to find internet modules two PC100 256 MB with part number PA3069U - 1. 25 M and update.
    That's all what you can do about it.

  • How to increase the size of the print?

    I think that I did something and now I am printing is very small fonts that I can barely read.

    Can is it you pls let me know how to increase the fonts 'impression '?
    TKS a lot, Marco

    Your browser > file > Page Setup >scale

  • Camileo S20 - How to display the date and time

    Hi, all. I got as Christmas present the Camileo S20, and I am not able to view the date and time in the video. In the manual is no reference on this subject, only how to set the date and time. But what is the intention to set the date and time in the camera, if it is not possible to display video?

    Hello

    Have you checked the user manual of your TV cam?

    If it of possible to display the data and the time you can find in your user manual how to do this. It always interesting to read ;) s

  • How to increase the number of addresses in the BCC field?

    How to increase the number of addresses in the BCC of email field?

    What do you mean by increase in the number of addresses?  The CCC line will continue to accept addresses that you add them in there. Keep just by typing in the addresses separated by a semi colon ";

  • Satellite A300-18 has: how to increase the screen resolution

    I have recently buy a Toshiba Satellite A300-18 a, and I want to increase the resolution of the screen.
    Currently the max resolution is 1280 x 800.

    Does anyone know how to increase the resolution?
    Where can I find the drivers to increase?

    Thank you

    Henrique

    Hello

    I don t think a new graphics driver would allow a higher screen resolution on your laptop A300.
    Have you checked your manual for more details?

    I downloaded the user manual of the Europe of Toshiba page and discovered that the display is a 15.4 WXGA 16Mill colors with the following resolution: 1280 horizontal and 800 pixels vertical.

    It seems that you are already using the highest available resolution and therefore you will not be able to wear to higher values.

Maybe you are looking for