Help create the report

I put it in my table:

SQ_NOCUST_IDYEAR1YEAR2
101002835419962002

SELECT 10 SQ_NO, 10028354 CUST_ID, 1996 BY AN1 AN2 2002

FROM DUAL;

On a line I need to generate the number of lines between an1 and an2 and I need to generate only even numbers in the column of the year2. The result should be like this:

10 10028354 1996 1996

10 10028354 1996 1998

10 10028354 1996 2000

10 10028354 1996 2002

I tried a lot of things, but nothing has worked for me. I'd appreciate the support.

Kind regards

skas

Hello

skas wrote:

My bad I find it hard to understand this function correctly at the moment.

There is no function affected by the query you posted.

May be I pressure to quickly generate this report this is why I am not able to focus on learning patiently rather more interested in the realization of the goal.

When you're ready to learn how works the CONNECT BY clause, see

http://www.adp-GmbH.ch/ora/SQL/connect_by.html and/or

http://www.oradev.com/connect_by.jsp

I used Oracle for years before I learned how to CONNECT BY works.  I'm glad that I finally took the time to learn; It is very useful.

I added a line in addition in the request, but now I'm getting duplicates.  I tried to use the group by clause, but both options still holding separate, when I run the query against the current table that has rows of 50 K.

If the table has more than 1 line, then you need a condition in addition to LEVEL<= x   ="" in="" the="" connect="" by="" clause;="" some="" condition(s)="" using="" the="" prior="">

Depending on your version of Oracle, he gets the results you posted:

SELECT sq_no

cust_id

, by an1

by an1 + ((LEVEL - 1)

* 2

) AS yearx

A

CONNECT BY LEVEL<= (="" (year2="" -="">

/ 2

) + 1

AND sq_no = PRIOR sq_no

AND PRIOR SYS_GUID () IS NOT NULL

ORDER BY 2, 3, 4

;

This assumes that a.sq_no is unique.

Beware of any solution that requires SELECT DISTINCT.  Very often, it's just a very expensive way to deal with a problem rather than solve it.

Tags: Database

Similar Questions

  • How to create the report using the procedure.

    Hi all

    I want to create the report in the apex. But I don't have a sql code. I have a single procedure. Is it possible to create the report using this procedure in the apex.

    CREATE OR REPLACE PROCEDURE headcsv_prc2

    AS

    CURSOR cr_header

    IS

    SELECT ood.organization_code, fm.formula_no AS "FORMULA_NAME."

    FM.formula_vers AS "FORMULA_VERSION."

    FM.formula_desc1 AS "FORMULA_DESC."

    DECODE (fm.formula_status,

    100, 'new ',.

    400, "approved for use in the laboratory."

    700, "allow the general."

    800, "We Hold."

    900, "frozen."

    1000, "obsolete/archived.

    ) AS "FORMULA_STATUS."

    DECODE (fd.line_type, '1', msib.segment1).

    DECODE (fd.line_type, '-1', msib.segment1 ') ingrediant.

    DECODE (fd.line_type, '2', msib.segment1) AS "BY_PRODUCT."

    DECODE (by_product_type,

    "W', 'waste."

    "R',"rework. "

    "Y', 'Yield."

    The of ', 'Sample. "

    NULL VALUE

    ) AS "BY_PRODUCT_TYPE".

    Of org_organization_definitions ood,.

    fm_form_mst fm,

    fm_matl_dtl fd,

    mtl_system_items_b msib

    WHERE ood.organization_id = fm.owner_organization_id

    AND fm.owner_organization_id = msib.organization_id

    AND msib.organization_id = fd.organization_id

    AND fd.organization_id = ood.organization_id

    AND fm.formula_id = fd.formula_id

    AND msib.inventory_item_id = fd.inventory_item_id

    - and fm. FORMULA_NO like '% THE % '.

    AND fd.line_type IN ('1 ', ' 2', '-1' ")

    Ood.organization_code GROUP,

    FM.formula_no,

    FM.formula_vers,

    FM.formula_desc1,

    FM.formula_status,

    FD.line_type,

    MSIB. Segment1,

    by_product_type

    ORDER BY fm.formula_no, fm.formula_vers;

    BEGIN

    Dbms_output.put_line (INITCAP ('the ORGANIZATION CODE')

    || ','

    || INITCAP ('NAME FORMULA')

    || ','

    || INITCAP ('FORMULA VERSION')

    || ','

    || INITCAP ('FORMULA DESC')

    || ','

    || INITCAP ('FORMULA STATUS')

    || ','

    || INITCAP ('PRODUCT')

    || ','

    || INITCAP ('INGREDIANT")

    || ','

    || INITCAP ("PER PRODUCT")

    || ','

    || INITCAP ('PER TYPE OF PRODUCT")

    );

    FOR ch IN cr_header

    LOOP

    Dbms_output.put_line (ch.organization_code

    || ','

    || ch.formula_name

    || ','

    || ch.formula_version

    || ','

    || '"'

    || ch.formula_desc

    || '"'

    || ','

    || ch.formula_status

    || ','

    || ch. Product

    || ','

    || ch.ingrediant

    || ','

    || ch.by_product

    || ','

    || ch.by_product_type

    );

    END LOOP;

    EXCEPTION

    WHILE OTHERS

    THEN

    Dbms_output.put_line (' No error: ' |) SQLCODE. "Error Msg: ' '.

    || SQLERRM

    );

    END;

    EXEC HeadCSV_Prc2



    Thank you

    Rambeau

    Hi Christian,

    In addition to the fact that the Oracle database has an internal Java engine and it would be possible for Apex call a Java stored procedure, the Apex really has nothing to do with Java. To create a report, you discovered, you specify a SQL query. In certain circumstances, you can embed a query in a PL/SQL function, but the incorporation of an arbitrary Java application and waiting for it to be called from Apex for a kind of security is there with the fairies.

    I recommend you research the Apex and then enter your so-called "higher authorities" how things work.

    Concerning

    André

  • Create the report with the structure in obiee 11g?

    Hello

    I want to create report without data, it has the structure. the data in this report, add in the future.

    I want to show the lines of value null & coulmns in the report.

    For example, I created the table name as cs_ue_lf table.

    structure as follows. I did not insert a line any.

    err11.jpg

    I have check the table. There is no data

    err12.jpg

    I created RPD and added to the em.

    I chose the field as uncleared effects

    Drag the columns of criteria.

    err13.jpg

    In the results, I didn't not even structrue in report.

    I get the error message as 'specified criteria result no data'.

    err14.jpg

    My project requirement is

    create a report without data. only one structure (coulmns). Report have only column names. data inserts in the future.

    Please help me.

    To do this, I put properties column as "include null values.

    I tried. But I did not. Is this possible?


    Please help me,

    Thanks in advance,

    A.Kavya.

    What:

    insert into cs_ue_lf values ('foo',0,0,0,0,0)
    

    Or even a kind of Cartesian join in the RPD against a table to produce a lot of dummy data

    I wonder: why do you need this?

  • Manually created the report runs is not on weblayout

    Hello

    I've created a report manually the 10g report, that the report runs on layout paper but when I try to run the report even using the button run on the Report Builder displays blank page any idea which must be defined with a manual report to run it on the web. I saved the report as JSP and rdf, but the two produced no out put.

    Hello

    The layout web (in other words, the web source) is mainly used for the format .jsp for more flexibility via the web for web developers using Oracle reports.

    Only reports created in Report Builder 9i or higher using the report wizard and choosing "Create Web Layout only" or "create of Web and paper Layout.
    contains a code Source base of 'Web' which is the source for the web page layout. In 9i reports, reports created manually: without using the
    Report Wizard - will also have a blank web page layout, unless you add your own code in the Source of "Web". Moreover, you will not have a web layout for all
    reports migrated from reports 6i like web layouts have been introduced only in reports 9i. What the report is not in an earlier version or version is not
    will be generated in the new version or version.

    You will need to add your own code to the 'Web Source"so that whatever it is, to display in the web page layout. In addition, changes made to the
    Print layout will cross to the Web layout by confirmation with the development. You can use the rw: include the tag in the Web Source (see Help)
    to get some of the print layout in your web page layout.

    Alternatively, you can still perform the following with reports Oracle 9i or higher and the RDF to view the layout of document on the web you have
    in the past with Oracle Reports 6i: http//webserver.domain:7779/reports/rwservlet?report=test.rdf&destype=cache&desformat=pdf&userid=scott/tiger@db

    I hope this helps.

    Kind regards
    Alex

    If someone useful or appropriate please mark accordingly.

  • How to create the report of this style?

    Hello

    I have a problem when creat a report using obiee, this is a monthly report, the layout like calendar,.

    There is a quick baseed on the month, if I choose 201109, the report will be poster of daily sales and the number of customers in September.

    Every day have the sale and every day must be listed, first line display name of 7 days, second row shows sales and number of customer information,

    third row display name of 7 days, and all the following steps.

    1 sep | 2 sep | 3 sep | 4 sep | 5 sep | 6 sep | 7 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    8 sep | 9 sep | 10 sep | 11 sep | 12 sep | 13 sep | 14 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    15 sep | 16 sep | 17 sep | 18 sep | 19 sep | 20 sep | 21 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    22 sep | 23 sep | 24 sep | 25 sep | 26 sep | 27 sep | 28 sep
    Sales: sales: 10 sales: 10 sales: 10 sales: 10 sales: 10 sales 10,10
    : No.10 No.: No. 10: No. 10: No. 10: No. 10: 10 no: 10

    29 sep | 30 sep
    Sales: sales 10: 10
    No: 10 no: 10

    Thank you! waiting for your response.

    So you're a user same as below:
    How to view the report by using the style of calendar in obiee

    Follow my instructions. Also, give a look at this http://bischool.wordpress.com/2010/10/22/calendar-view-in-obiee-and-applications/

    You can have dates instead of the name of the day, but you must ensure that your definition is very clear in your time dimension i.e. each week week 7 days. You table looks like his week to jump and you have each month as 30.31 or 28 days...

    Come and play and you're done... hope its helpful

  • How to create the report in the following form?

    Hi all

    How I use studio EN to create reports.
    I want to create a report that will show me accounts and accounts of each entity, which means I want to keep the entity in the size of the page in the dimension of the line. The report should be done in such a way that if I take an entity in the dimension of the page then it will show a few accounts in the dimension line that
    are specific for this entity and in the same way, if I take another entity in the dimension of the page then it should show me another different set of accounts in
    the dimension of the row corresponding to this specific entity.
    How can I do this in my report?


    Thank you

    There are two ways that you can achieve this goal.

    You have never given in combinations of entity/account disabled? If this isn't the case, I would like to delete missing lines.

    Is there the potential for existing data in invalid combinations of entity/account, then I would create a specific account that defines the valid combinations. Think of it as a Boolean, a value of 1 for the valid combinations or 0 for invalid combinations. I would then use the 'Advanced Options' en to delete values based on this account.

    Hope this helps,
    -Jake

  • How to create the report using pass-in parameters

    Hi all

    I want to create a report using the parameters passed from the previous page. Let's take an example:

    Now in page B, he got 2 parameters P1_Table, P1_column, from Page A, I want to get the report:

    Select * from P1_Table, where P1_column like 'test % ';

    This means that I want to get the date in the P1_Table table and its P1_column begins with the character 'test'.

    I tried to use dynamic sql in the source of the region, but failed.

    Please help me

    Thanks in advance.


    PPMonkey

    Published by: PPMonkey on January 4, 2009 12:53 AM

    Hello

    Ensure that the report is a "SQL (body of function from PL/SQL returning the SQL) query. Then, use a source of something like:

    DECLARE
     vSQL VARCHAR2(4000);
    BEGIN
     vSQL := 'SELECT * FROM ' || v('P1_TABLE') || ' WHERE ' || v('P1_COLUMN') || ' LIKE '''test%''';
     RETURN vSQL;
    END;
    

    Andy

  • Help with the report

    Hi gurus,
    I'm having a problem with the report. When I add a new column to the existing report its showing no no no result except the filter. Is there a solution for this problem in the responses.

    Thank you

    Is that your new column is a table that is not already covered in the report. If this is the case then check the SQL generated by the report. Run this query on the database and see if you have found no results.

    If she came a new table which is not referred to the report already at the time of OBIEE will create a join with this table and maybe because of this join you don't get any results.

    Regards,
    Sandeep

  • Need advice on how to create the report

    I don't know how to do this, so I ask for advice from the gods apex...

    Here is the question, I have two tables I need to combine the info from. not a problem in his car. I can do it. but here's the question. in table A, I have some data such as title, theids, disc_id, etc... Table B contains fullname, theid, emplid

    now in the table A column "theids" is filled with apex as a multi select list. the values in the column is therefore something like 48; 3; 88

    He got these identification numbers of the Table B (popup lov) query that returns theid of the one of the person.

    now, I need to create a report that will be used in an excel download and what they want is a line by disc_id and they want the most useful "cost" in the field where to run the "theids." It is instead of:

    disc_id title theids
    101 the 48 test; 3; 88

    they want:

    disc_id title Theids
    101 N33456, N3457, try N43562

    so I'm a bit stuck, I can understand how to write a sql using instr to get something like this:
    101 N33456 of test
    101 N3457 of test
    etc.

    but this isn't what they want. so I think I need to create a package to do this and some sort of return values. the problem is that I can't figure out how I can replace the 48; 3; 88 to N33456, N3457, N43562

    I'm still new to this kind of things pl/sql and apex sorry if this appears to be an obvious answer.

    If you have a look at this example:

    http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:138

    You'll see there

    SELECT empno, ename, job, mgr, sal
      FROM emp
     WHERE INSTR(':'||:p138_select_empno||':', ':'||empno||':') > 0
    

    and

    p138_select_empno is a multiple selection list displaying the names of the employees and containing the string of nosm as 7888; 8900; 3499.

    This info is enough to get to a function like this:

    CREATE OR REPLACE FUNCTION get_string (p_string IN VARCHAR2)
       RETURN VARCHAR2
    IS
       v_string   VARCHAR2 (4000);
    BEGIN
       FOR c IN (SELECT ename
                   FROM emp
                  WHERE INSTR (':' || p_string || ':',
                               ':' || empno || ':'
                              ) > 0)
       LOOP
          v_string := v_string || ', ' || c.ename;
       END LOOP;
    
       v_string := LTRIM (v_string, ', ');
       RETURN v_string;
    END;
    

    and use this function in a report like this:

    SELECT get_string (:p138_select_empno)
      FROM DUAL
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • How to create the report with check box (Update, Delete) operations

    Hi all

    I want to create report with check boxes.

    I created it based on the user's manual. But do not delete records. Please help me

    Apex. Oracle.com

    workspace: APPSGURU

    RAMBEAU. [email protected]

    P.W:rag$ 123

    Application:36232

    Page: 14

    Thank you and best regards,

    Rambeau

    Raghu,

    Request for check line deleted successfully.

    made some changes in the removal process.

    Leave.

  • Help create the VM hard drive external

    Hello

    I am trying to create a virtual machine from a hard drive that was in my laptop.  It is a 80G drive and XP Media Edition installed with a recovery partition separate.  (Gateway)  I searched a few threads and continuum has a very useful post:

    Hello
    by far the simplest to do that involves a few steps

    support:
    do it on a computer that has the installed desktop - allows you to call this machine adminhost
    the portable hard drive is used inside a USB connected to this computer box

    Carefully follow them

    1. open the adminhost diskmanagement

    • find the usb drive and note that numero_disque uses it - say for example it uses disk3
    • Right-click on each partition and remove the driveletters are subsequently assigned

    2. open VMware Workstation as an administrator!

    • create a new virtual machine using option "I will install later.
    • Select Windows 7 guestOS
    • assign the same amount of RAM as the old laptop used to have
    • store the virtual machine in a path with enough free disk space - Let's E:\vms\laptop-import
    • When the virtual machine is created will NOT start
    • Remove the hard drive that has been created with the wizard
    • Add a new hard drive - select disk physical option and select the numero_disque looked you up in step 1
    • Select use "full disk" and save the vmdk as E:\vms\laptop-import\rawdisk.vmdk
    • do not start the virtual machine and close the station work

    3. open a cmd as administrator

    • CD in the WS install directory such as C:\programfiles\vmware\vmware-workstation
    • Enter vmware - vdiskmanager.exe - a help screen should be displayed
    • now type vmware - vdiskmanager.exe - r E:\vms\laptop-import\rawdisk.vmdk t 0 E:\vms\laptop-import\new.vmdk
    • a process of conversion should start now - let the finsih - this may take some time

    4. open my computer again

    • Open the virtual machine and modify virtual hardware
    • Delete rawdisk.vmdk and add new.vmdk instead
    • Start the virtual machine now

    5. look what he does at first start

    • disc read error, cursor blinking at the top left of the screen... This means that your case is trickiert what you said to us ;-)
    • BlueScreen 7B - good - all right - to setp 6.
    • the virtual machine starts completely - congratulations - you are a lucky guy and your laptop used an Intelchipset


    6 patch the drivers

    • start the converter 5 betaor a recent version of different
    • 'Configure the machine' Wizard and select the new virtual machine

  • When the wizard has completed successfully, you are finished
  • 7. If the converter does not... no problem - download or create a Windows 7 recovery CD and attach the vmx file to your next post

    However, in step 3 during the conversion process it stops at 27% and gives an error.  I've attached a screenshot of it.

    Thanks for any help!

    Wow - this XP is not really to be converted.
    It has set up a strong resistance ;-)

    Converter is a not - we tried to any version.
    Finally, I had to use a LiveCD MOA and install the vmscsi driver manually.

    So at the end of the day, the virtual machine starts and we are facing by WoodyZ

  • Help create the query

    Hi all

    I have the below requirement.
    Master table:
    Product ID      Product Name
    1               TV
    2               Cellphone
    3               Laptop
    4               DVD Player
    
    Details table:
    Product ID     Spec type     Spec Detail
    1               Color          Blue
    1               Weight          20
    2               Color          Blue
    2               Weight          20
    3               Color          Blue
    3                Weight          25
    4               Color          Blue
    4               Weight          20
    4               Height          10
    I'm looking for a way to identify products with the exact same specifications.

    That is to say, in the example TV and cell phone above has exact specifications.
    So the result of the query must be TV and phone cell phone here.

    Is it possible to do in a query, or we need a sql block to perform this action.

    Any help would be greatly appreciated.

    Thank you
    Agathya

    Hi agathya,

    We do not know how you want to handle the situation where more than two products have the same specifications, so I extended your sample data slightly to take account of this situation as well:

    SQL> create table products (id,name)
      2  as
      3  select 1, 'TV' from dual union all
      4  select 2, 'Cellphone' from dual union all
      5  select 3, 'Laptop' from dual union all
      6  select 4, 'DVD Player' from dual union all
      7  select 5, 'Radio' from dual union all
      8  select 6, 'VCR' from dual
      9  /
    
    Tabel is aangemaakt.
    
    SQL> create table product_specifications (product_id,spec_type,spec_detail)
      2  as
      3  select 1, 'Color' , 'Blue' from dual union all
      4  select 1, 'Weight', '20'   from dual union all
      5  select 2, 'Color' , 'Blue' from dual union all
      6  select 2, 'Weight', '20'   from dual union all
      7  select 3, 'Color' , 'Blue' from dual union all
      8  select 3, 'Weight', '25'   from dual union all
      9  select 4, 'Color' , 'Blue' from dual union all
     10  select 4, 'Weight', '20'   from dual union all
     11  select 4, 'Height', '10'   from dual union all
     12  select 5, 'Color' , 'Blue' from dual union all
     13  select 5, 'Weight', '20'   from dual union all
     14  select 6, 'Color' , 'Blue' from dual union all
     15  select 6, 'Weight', '20'   from dual union all
     16  select 6, 'Height', '10'   from dual
     17  /
    
    Tabel is aangemaakt.
    
    SQL> select p1.name
      2       , p2.name
      3    from products p1
      4       , products p2
      5       , product_specifications ps1
      6       , product_specifications ps2
      7   where p1.id = ps1.product_id
      8     and p2.id = ps2.product_id
      9     and p1.id < p2.id
     10   group by p1.id
     11       , p1.name
     12       , p2.id
     13       , p2.name
     14  having sqrt(count(*)) =
     15         count(case when ps1.spec_type = ps2.spec_type and ps1.spec_detail = ps2.spec_detail then 1 end)
     16  /
    
    NAME       NAME
    ---------- ----------
    TV         Cellphone
    TV         Radio
    Cellphone  Radio
    DVD Player VCR
    
    4 rijen zijn geselecteerd.
    

    But why devil you or your specifications product model predecessor like that? You are much more complicated that it should be. And the data type of size and weight should be not the same as those of color. But now they are. And how do limit you the allowed values for the colors? Color, weight and size are characteristic of your products so that they should have been modeled like this.

    See how easily your questions becomes after remodeling it:

    SQL> drop table product_specifications purge
      2  /
    
    Tabel is verwijderd.
    
    SQL> drop table products purge
      2  /
    
    Tabel is verwijderd.
    
    SQL> create table products (id,name,color,weight,height)
      2  as
      3  select 1, 'TV', 'Blue', 20, null from dual union all
      4  select 2, 'Cellphone', 'Blue', 20, null from dual union all
      5  select 3, 'Laptop', 'Blue', 25, null from dual union all
      6  select 4, 'DVD Player', 'Blue', 20, 10 from dual union all
      7  select 5, 'Radio', 'Blue', 20, null from dual union all
      8  select 6, 'VCR', 'Blue', 20, 10 from dual
      9  /
    
    Tabel is aangemaakt.
    
    SQL> select * from products
      2  /
    
            ID NAME       COLO     WEIGHT     HEIGHT
    ---------- ---------- ---- ---------- ----------
             1 TV         Blue         20
             2 Cellphone  Blue         20
             3 Laptop     Blue         25
             4 DVD Player Blue         20         10
             5 Radio      Blue         20
             6 VCR        Blue         20         10
    
    6 rijen zijn geselecteerd.
    
    SQL> select p1.name
      2       , p2.name
      3    from products p1
      4       , products p2
      5   where p1.id < p2.id
      6     and ( p1.color = p2.color or (p1.color is null and p2.color is null))
      7     and ( p1.weight = p2.weight or (p1.weight is null and p2.weight is null))
      8     and ( p1.height = p2.height or (p1.height is null and p2.height is null))
      9  /
    
    NAME       NAME
    ---------- ----------
    TV         Cellphone
    TV         Radio
    Cellphone  Radio
    DVD Player VCR
    
    4 rijen zijn geselecteerd.
    

    I hope this helps.

    Kind regards
    Rob.

  • Help create the subpartitions

    Hello

    I get the error while creating a SUBPARTITION to my table.

    CREATE TABLE Tab1
    (
    col1 NUMBER (12).
    col2 CHAR (1 BYTE),
    COL3 CHAR (1 BYTE),
    COL4 NUMBER (12)
    )
    LIST BY SCORE (col1)
    SUBPARTITION BY HASH (col4)
    SUBPARTITION TEMPLATE)
    SUBPARTITION SP_1 TABLESPACE C_D
    )
    (
    PAR_0 PARTITION VALUES (0)
    )
    C_D TABLESPACE

    Error

    SUBPARTITION BY HASH (col4)
    *
    ERROR on line 9:
    ORA-00922: missing or not valid option


    The syntax is everything is correct... I do not understand where I am going wrong. Can someone tell me my mistake.

    Thank you
    Saami

    Words Hoek is correct, at least for 10.2.

    11.2 media list/hash and your code works as expected (after changing the tablespace for users):

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP, Data Mining
    and Real Application Testing options
    
    SQL> CREATE TABLE Tab1
      2  (
      3  col1 NUMBER(12),
      4  col2 CHAR(1 BYTE),
      5  col3 CHAR(1 BYTE),
      6  col4 NUMBER(12)
      7  )
      8  PARTITION BY LIST (col1 )
      9  SUBPARTITION BY HASH (col4)
     10  SUBPARTITION TEMPLATE(
     11  SUBPARTITION SP_1 TABLESPACE users
     12  )
     13  (
     14  PARTITION PAR_0 VALUES (0)
     15  )
     16  TABLESPACE users;
    
    Table created.
    SQL>
    

    But you don't tell us your Oracle version so...

  • Need help created the state machine which is based

    I need assistance with my labview program. My goal is to write a program that allows the user to activate a switch. When they do this, it will start a loop witch goes on a digital switch for 45 minutes and then 30 seconds and so on until the user did switch the switch off. The time doesn't have to be precise. I use the NI 9476 digital output card.

    I wrote the code to activate the on/off switch. I know add fuction in loop for 45 minutes a stop 30 seconds. I guess that the most effective method would be to use a state machine, but I struggle to understand.

    The program that I wrote so far without loops is attached.

    Thank you

    Barrett

    I couldn't open your vi because I do not have some of the Subvi.

    Nothing wrong with the first example posted, but I interpreted the specification a little differently.

    Edit: There was a small bug in the first zip file.

  • How to create the report when your shared drive is full?

    I want to see the owner, size and date.for of the internal purposes.

    Hello

    • Work on the domain network?

    If the computer is not on the domain, you must use a third-party tool to use this feature.

    Note:

    Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

Maybe you are looking for