How to generate individual records out of a date interval in SQL?

I have the following table in my db:
group varchar(3), start date, end date, value number
Obs.: The dates are in the format DD/MM/YYYY
This table has this single record:
'group1', 01/11/2007, 15/11/2007, 3
I need to query this table (using SQL) and generate the following result:
'group1', 01/11/2007, 3
'group1', 02/11/2007, 3
'group1', 03/11/2007, 3
'group ', 15/11/2007, 3
Does anybody know how I can produce this output?
Thank you
Message was edited by:
user596855

> This table has this single record:
'group1', 01/11/2007, 15/11/2007, 3
If, at sometime in the future, this table contains more than one record, then the solutions above won't work and you might need a SQL statement like this:
SQL> create table mytable (groep,start_date,end_date,value)
  2  as
  3  select 'group1', date '2007-11-01', date '2007-11-15', 3 from dual union all
  4  select 'group2', date '2007-11-10', date '2007-11-20', 88 from dual
  5  /
Tabel is aangemaakt.
SQL> select groep
  2       , day
  3       , value
  4    from mytable
  5   model
  6         partition by (groep,value)
  7         dimension by (0 i)
  8         measures (start_date day, end_date)
  9         rules
10         ( day[for i from 1 to end_date[0] - day[0] increment 1] = day[0] + cv(i)
11         )
12   order by groep
13       , day
14  /
GROEP  DAY                                                  VALUE
group1 01-11-2007 00:00:00                                      3
group1 02-11-2007 00:00:00                                      3
group1 03-11-2007 00:00:00                                      3
group1 04-11-2007 00:00:00                                      3
group1 05-11-2007 00:00:00                                      3
group1 06-11-2007 00:00:00                                      3
group1 07-11-2007 00:00:00                                      3
group1 08-11-2007 00:00:00                                      3
group1 09-11-2007 00:00:00                                      3
group1 10-11-2007 00:00:00                                      3
group1 11-11-2007 00:00:00                                      3
group1 12-11-2007 00:00:00                                      3
group1 13-11-2007 00:00:00                                      3
group1 14-11-2007 00:00:00                                      3
group1 15-11-2007 00:00:00                                      3
group2 10-11-2007 00:00:00                                     88
group2 11-11-2007 00:00:00                                     88
group2 12-11-2007 00:00:00                                     88
group2 13-11-2007 00:00:00                                     88
group2 14-11-2007 00:00:00                                     88
group2 15-11-2007 00:00:00                                     88
group2 16-11-2007 00:00:00                                     88
group2 17-11-2007 00:00:00                                     88
group2 18-11-2007 00:00:00                                     88
group2 19-11-2007 00:00:00                                     88
group2 20-11-2007 00:00:00                                     88
26 rijen zijn geselecteerd.Regards,
Rob.

Similar Messages

  • How to generate individual HTML files from linked help?

    Hi folks,
    I'm trying to figure out how to generate individual web pages - based on heading types - from a help project this is linked to a FrameMaker book.
    I'm linking to the FM book, rather than importing, because the import process ruins my graphics. So, I know how to create individual web help pages using the import process; but that's not an option for me. (The graphics issue is a whole other discussion, which I've since given up on.)
    So, I'm using TCS 3.5 (RH9 and FM10). I've successfully linked to the FM book. Each topic represents a complete chapter and includes a single Heading 1 for the title and several Heading 2's. Again, these are all in the same help topic because I'm linked to the FM book.
    What I want to do is generate the web help so that new web pages (files) are created. In other words, I want breaks before each Heading 2. I want the resulting web pages to be named based on the Heading 2.
    Is this possible?
    Thanks for reading,
    Tom

    I’m not sure I understand the problem (I’m using FM 10, RH9, TCS3):  You can adjust .isf and all Conversion/CSS mapping, etc settings for an existing project (Linked or Imported) at:
    File > Project Settings > FrameMaker Document > Edit Conversion settings for FrameMaker documents: (click Edit button).
    Then, Go to FrameMaker Settings > Paragraph > Heading 1 etc. and click the box for Pagination.
    What I don’t know is if you have to re-do your linking process from scratch to do your pagination settings right the first time (like create a new project with your Frame docs, which shouldn’t be hard to test if you have saved your CSS, Master Pages etc), or already have an .isf file  with proper settings that you can specify at time of first import/linking. I already had these in place when I set up my linked project of a Frame book with 13 chapters – 350 pages – resulting in over 300 separate HTML files/topics (set H1, H2, and H3 levels to paginate). I don’t know if you can change these things post-linking, but it can definitely be done!
    There is definitely no reason to have to have an entire FM chapter as one topic in RH. You may have to create a new project to achieve your desired results, I am not sure.
    I hope this is helpful. Regarding RH ruining your images, I know what you mean. Through a painstaking process of research, trial, and error, I found that these Image options in the Conversion Settings produced the best results for me, though not as good as “ideal:”
    ·         Check the box for “Use Distiller to Generate Image”
    ·         Leave the “Do Not Regenerate Images” and “Preserve 3D Images” boxes unchecked
    ·         Under Preferred Dimensions: Check “Maintain Aspect Ratio” and check Width and Height – Set both to 0pt. (*This one was a key tip.) Leave “Scale” unchecked. (Scaling seems to do terrible things in RH.)
    ·         I left the Max Dimensions settings unchecked.
    ·         Set my personal preferences for margins (2pt all sides) and borders (solid, gray, 1 pt)
    ·         Under Advanced, Default format of PNG with color bit depth of 24. My graphics are all screenshots, so this is the reason for this in my instance.
    Regards,
    Virginia

  • How to load  2 records out of 4records to the  datasource....

    how to load  2 records out of 4records to the  datasource....

    Hi
    when you execute the Infopackage of the datasource, restrict the selection screen to only those 2 records
    Regards

  • My Iphone is deactivate, I have photos with out back up, How can I open with out loosing my data.

    My Iphone is deactivate, I have photos with out back up, How can I open with out loosing my data.

    Aussienana wrote:
    OK, so I went and explored  what this site said about Mackeeper. But before I delete it can you tell me:
    If we don't need anti virus program and if the one that came with the machine is supposed to do the job then what does that say about the viruses that Mackeeper says it found? Were they not there and the program made them up? Or were they there and Apple didn't deal with them?
    Thanks for all feedback.
    They were not there and MacKeeper made them up. Delete it completely. I have seen it cripple people's Macs.
    Uninstall MacKeeper
    Pete

  • SqlLoader: how to create multiple records out of one CSV input line?

    A question concerning the SQL-Loader.
    I need to load data from a CSV file where one of the CSV values determines how many records should be inserted.
    Example of the input data:
    KEYWORD;2;REC1_COL1_X,REC1_COL2_X;REC2_COL1_X;REC2_COL2_X
    KEYWORD;3;REC1_COL1_Y;REC1_COL2_Y,REC2_COL1_Y;REC2_COL2_Y;REC3_COL1_Y;REC3_COL2_Y
    KEYWORD;4;REC1_COL1_Z;REC1_COL2_Z,REC2_COL1_Z;REC2_COL2_Z;REC3_COL1_Z;REC3_COL2_Z,REC4_COL1_Z;REC4_COL2_Z
    If the KEYWORD is found, then the next value determines how many value pairs will follow, and therefore how many rows should be created in the affected DB table.
    As a result I hope to achieve this:
    SELECT Column1, Column2 FROM testTable
    REC1_COL1_X,REC1_COL2_X
    REC2_COL1_X;REC2_COL2_X
    REC1_COL1_Y;REC1_COL2_Y
    REC2_COL1_Y;REC2_COL2_Y
    REC3_COL1_Y;REC3_COL2_Y
    REC1_COL1_Z;REC1_COL2_Z
    REC2_COL1_Z;REC2_COL2_Z
    REC3_COL1_Z;REC3_COL2_Z
    REC4_COL1_Z;REC4_COL2_Z
    I learned how to import data using Oracle SQL loader for cases where one input line more or less matches a (new) row in a DB table. But how to handle this?

    Hello 784948.
    Assuming that the delimiter is a comma, and also assuming that the number of pairs is limited to four, you could use the following tested control fileLOAD DATA
    APPEND
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '1'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER
    , PairCountColumn  FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '2'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '3'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '2'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '3'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '4'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '3'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '4'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , InputColumn1
    , InputColumn2
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    INTO TABLE testTable
    WHEN (1:7) = 'KEYWORD' AND (9) = '4'
    FIELDS TERMINATED BY ","
    TRAILING NULLCOLS
    ( KeywordColumn    FILLER  POSITION(1)
    , PairCountColumn  FILLER
    , FillerColumn1    FILLER
    , FillerColumn2    FILLER
    , FillerColumn3    FILLER
    , FillerColumn4    FILLER
    , FillerColumn5    FILLER
    , FillerColumn6    FILLER
    , InputColumn1
    , InputColumn2
    )Luke
    Please mark the answer as helpful or answered if it is so. If not, provide additional details.
    Always try to provide create table and insert table statements to help the forum members help you better.
    Edited by: Luke Mackey on Aug 5, 2010 1:23 PM (always better to test before posting)

  • How can I reference records outside the two date parameters?

    Hi all,
    I have a query that fetches records based on the two date parameters defined (Startdate and Enddate).
    If the Startdate is 2014-12-01 and the Enddate is 2014-12-12, I want to pull records outside these two date parameters, that is      2014-09-01 and 2014-11-30.
    I want to add up the records from  2014-09-01 and 2014-11-30 and include them in one of the columns in my report.
    I tried using this query:
     SUM(CASE WHEN FilteredIncident.Statuscodename IN ('QUEUED', 'ASSIGNED') AND (EnteredOn >= '2014-09-01' AND EnteredOn<= @StartDate) THEN 1 ELSE 0 END) AS OpenRecords
    Please help with any ideas..thanks

    Please follow basic Netiquette and post the DDL we need to answer this. Follow industry and ANSI/ISO standards in your data. You should follow ISO-11179 rules for naming data elements. You should follow ISO-8601 rules for displaying temporal data. We need
    to know the data types, keys and constraints on the table. Avoid dialect in favor of ANSI/ISO Standard SQL. And you probably need to read and download the PDF for: 
    https://www.simple-talk.com/books/sql-books/119-sql-code-smells/
    There is no such crap as a “status_code_name” in RDBMS. It has to be a “<something in particular>_status”; think about how silly that data element name is! Want to keep going and have a “status_code_name_value_id”? LOL! 
    The name “Filtered_Incident” is also wrong. Tables are sets, so unless you have only one element in this set, the table name should be a plural or (better) collective name. But a better question is why  did you split out “Filtered_Incidents” from “Incidents”?
    Would you also split “Male_Personnel” and “Male_Personnel” from “Personnel”? 
    Get a book on data modeling and learn some basics. 
    >> I have a query that fetches records [sic: rows are nor records] based on the two date parameters defined (report_start_date and report_end_date). If the report_start_date is 2014-12-01 and the report_end_date is 2014-12-12, I want to pull records [sic]
    outside these two date parameters, that is 2014-09-01 and 2014-11-30. I want to add up the records [sic] from 2014-09-01 and 2014-11-30 and include them in one of the columns in my report. <<
    Having no DDL and no sample data makes this hard. Does your boss make you program without any documentation, DDL, etc? This spec is vague; you say to do a total, but show a count, etc. 
    One of the many nice things about DATE data types is that the BETWEEN predicate works with them, so you can quite writing 1960's BASIC predicates with primitive logic operators. 
    Here is a guess: 
    SELECT SUM(CASE WHEN incident_date BETWEEN '2014-09-01' 
               AND @report_start_date THEN 1 ELSE 0 END)
           AS open_record_cnt 
      FROM Incidents
     WHERE incident_status IN ('QUEUED', 'ASSIGNED')
        AND incident_date <= @report_end_date; 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How to make a key out of this data?

    Since no one replied to my last post, I'll give it another try. From an RTSP server I get two values, a key called rsaaeskey (342 bytes, without the line breaks):
      yxKBocBgTii20n9nbKfYGyGhPqtosXuq8M99yU5/PzTVNmIUsUGlpD27u
      cqN8eNFvmaO7cFVXeaMGaCfI5V+YNrd77xGQ+CUE0XFraXUvp4cF4aX1L
      ZOGe38nwX3Ba+4bQFfjmYgz3ObRuOWlw9KCi4CMP5574F+CIvutVAwtAC
      PiDFF7nVcoaBTr2QbSUile0Zs3Hyxjn9PWVaey9Nu2DgJZ8rtw6F2SkQ7
      NDHBjjUKXNIeCAeBFuV4XNiazvi3gWa4VbgITtD9jcm+7nPMAK0oBL1S3
      K3Z6FK7XVnfehYYJjRw7THMZzSvq7FtLB9QgulqQTJ3awJdwS0ACb1FkAand an initialization vector called aesiv (22 bytes):
      zcZmAZtqh7uGcEwPXk0QeAThe data is obviously Base64 encoded. However, after decoding I don't know how to make a key out of it. Trying KeyFactory's generatePublic and generatePrivate methods result in an InvalidKeySpecException with any algorithm I've tried (RSA, DSA, DH).
    I think this is a multi-prime RAS secret key (someone said they're 342 bytes long), but how do I generate a Java Key out of it?

    The rsaaeskey, decoded to binary, is a binary array of 256 bytes. Using the DUMPASN1 tool we see that the bytes are not in ASN.1 BER or DER encoding.
    C> openssl enc -base64 -d -in rsaaeskey.base64 -out test.bin
    C> dumpasn1 rsaaeskey.bin
       0 CB   18: [PRIVATE 11]
                :   81 A1 C0 60 4E 28 B6 D2 7F 67 6C A7 D8 1B 21 A1
                :   3E ABIf it were encoded in ASN.1 BER or DER encoding it will start as a "SEQUENCE" or a "SET", not as an unrecognized data.
    You need to check the exact specification of the protocol. (Are you using TSP - RFC 3161, or RTSP - RFC 2326?)

  • How to generate Top sales report from SAP data ?

    Hello experts,
    I am completely a newbie to SAP BO , can any one guide me how to generate TOP sales of the year report from SAP data ?

    Hi David,
    First Let me know the Source & Tools to involve.
    Let me go with the generic approach:
    If the source is BW, then you can create the logic in query designer designer and then you can incorporate the data into the dashboard or webi or crystal report whatever its.
    If the source is sql or anyother DB then it can also be achievable in crystal or webi to write the logic in top 10 values by ranking then you can incorporate the data into the dashboard, but here you can limit the top or bottom values.
    Hope this helps, please revert for more clarifications on this.
    --SumanT

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding

    Hi,
    Try
    if not s_select_option [ ] is initial.
    delete * from table
    where field in s_select_option.
    endif.
    commit work.
    Be careful though. If select option is emty, you will delete the entire table.
    Regards,
    Arek

  • How to generate synthetic rows (raw(16) guid cols) in one SQL statement?

    We're populating a table containing two GUID columns:
    create table object
    ( object_guid raw(16) primary key
    , project_guid raw(16)
    )All object GUIDs are unique (thus the PK), and each object belongs to a given project (should be a FK to some project table). We want N objects / rows, belonging to only 100 projects, i.e. 1% of the rows of the object table belong to the project #1, 1% to #2, etc...
    Right now we're using about 25 lines of C++/OCI code to do that (one query doing a "select sys_guid() from dual", and using the generated GUIDs to do inserts into object), but I suspect it's possible to do this using a single SQL statement using mysterious connect by or some other Oracle SQL magic. (our OCI code does quite a few round-trips to do the equivalent).
    Would anyone please demonstrate how to generate the rows as explained above, and possibly describe how it works for the non-initiated?
    Thanks, --DD
    PS: I'm sure it can be done in PL/SQL as well, but I'm interested in a SQL version if one's possible.

    I've found two ways, both taking a few SQL statements, but somehow I think this ought to be possible without intermediary tables... I'm sure there's a better way.
    #1drop   table project_tmp;
    create table project_tmp
    as select rownum pid, sys_guid() guid from dual
    connect by level <= 100;
    drop   table object_tmp;
    create table object_tmp
    as select mod(rownum, 100) + 1 pid, sys_guid() guid from dual
    connect by level <= 1000;
    drop   table object;
    create table object
    as select o.guid object_guid, p.guid project_guid
    from object_tmp o, project_tmp p
    where o.pid = p.pid;
    drop table project_tmp;
    drop table object_tmp;#2:drop table project;
    create table project
    as select mod(rownum, 100) + 1 prj_id, sys_guid() guid from dual
    connect by level <= 100;
    drop table object;
    create table object
    as select mod(rownum, 100) + 1 prj_id, sys_guid() object_guid from dual
    connect by level <= 1000;
    alter table object add project_guid raw(16);
    update object o set o.project_guid = (select guid from project p where p.prj_id = o.prj_id);
    drop table project;
    alter table object drop column prj_id;Verification:select count(distinct project_guid) from object;
    select project_guid, count(OBJECT_GUID) from object group by project_guid;

  • How to generate a matrix from 3 column data

    I am wanting to generate a matrix using the attached data so that x is row 1 and y is column 1. I tried splitting the array and using build array however It didn't work. I've checked the forums but no luck. any insight would be appreciated
    Solved!
    Go to Solution.
    Attachments:
    wafermap.xlsx ‏12 KB
    wafermap.zip ‏10 KB

    matthewk wrote:
    I am wanting to generate a matrix using the attached data so that x is row 1 and y is column 1. I tried splitting the array and using build array however It didn't work. I've checked the forums but no luck. any insight would be appreciated
    I assume that you probably meant: Column 1 is x, Column 2 is y, and column 3 is the value at cell x,y.
    All you need is initialize an array of the proper size, keep it in a shift register, and then replace values in order. Here's a quick draft. You can easily swap rows and columns if needed.
    Of course negative indices are not allowed, so you need to create a proper offset such that the lowest index is zero. You could display it in an intensity graph and set the axis offsets accordingly.
    I simply pasted the excel data into a text diagram constant. You can save the excel file as tab delimited text, then use "read from spreadsheet file".
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    wafermapsnippet.png ‏91 KB

  • How to auto assign a number to some data using PL/SQL

    Hi,
    Assume that i have a few lines of data...
    How do i auto assign number to the data without hardcoding it?
    In this instance, i want p_id to be auto-generate...
    create or replace procedure insert_file
    p_id number,
    p_file_type varchar2,
    p_file_name varchar2
    )as
    geor MDSYS.SDO_GEORASTER;
    begin
    insert into nyp_images values( p_id, p_file_type, sdo_geor.init('NYP_IMAGES_RDT') );
    select image into geor from nyp_images where image_id = p_id for update;
    sdo_geor.importFrom(geor, NULL, p_file_type, 'file', p_file_name);
    update nyp_images set image = geor Where image_id = p_id;
    end insert_file;
    Thanks and regards,
    Esther

    In this case you could slightly change your procedure to
    create or replace procedure insert_file (
      p_file_type     varchar2,
      p_file_name     varchar2,
      p_id        out number
      )as
      geor MDSYS.SDO_GEORASTER;
    begin
      insert into nyp_images values( your_seq.nextval, p_file_type, sdo_geor.init('NYP_IMAGES_RDT') )
         returning image_id into p_id;
      select image into geor from nyp_images where image_id = p_id for update;
      sdo_geor.importFrom(geor, NULL, p_file_type, 'file', p_file_name);
      update nyp_images set image = geor Where image_id = p_id;
    end insert_file;I highly reccommend you to take classes in this SQL and PL/SQL stuff or look for some external ressources that can guide you.

  • BCS Breakdown Check - how to adjust individual records?

    Hi all,
    I just arrived at a new client and have found several thousand inconsitent records.
    Breakdown check shows us how many there are and also allows entry of a vlue for missing subassignments.
    However, there is no option to adjust individual lines (not even to differentiate between totals records and journal entries), eg Item 800210 now requires breakdown by Partner Unit, however, there are 15 records with a blank value but only one line in breakdown check in which to enter a partner.
    Obviously the user wants to enter different partners depending on further details (eg cons unit, amount, other breakdown values etc.),
    where/how can such selections be made?

    Thanks Dan,
    Here is a response from SAP developers themselves:
    If a customer introduces a new breakdown later and adopts old data, it
    is very appropriate a fair to fill the newly introduced breakdown by one fixed value in all old data records. Otherwise, we would project a
    degree of detail into historic data records, which was not available at
    the time when these records were created.
    So, this requirement does not make really sense, and we cannot support
    it. For historic records, we only support entering one fix breakdown
    value for all affected records. From that time on, the customer can of
    course maintain a higher degree of detail on new postings.

  • How to generate bad records for varchar2 type

    Hi
    Iam using sqlldr to load records from a flat file to a table.
    Table columns contains varchar2 datatype
    Data is loaded by fixedlength position.
    There is no not null restriction on the fields.
    I want to have a bad file generated.
    Can anyone let me know how to get the bad file?
    What type of data can be modified in a file to get a bad record.
    Thanks in advance

    how to get the bad file?Make the field length longer than its corresponding DB field length?
    I.e. when your DB field length is varchar2(10) make one of the fields in the file greater than 10.

  • How to view individual records instead of aggregated view in BEx report

    hi,
    i see my key figures as an aggregated view in the report. I wish to see each record separately. How can I do this? Pls help.
    For eg:
    In Cube Content I see the records like...
    Material           Cost
    M1                  1000
    M1                  2000
    M1                  3000
    M2                  7000
    In the Report I see the following...
    Material           Cost
    M1                  6000
    M2                  7000
    Thanks,
    SD

    Hi Sebastian,
    To get the records in the query result without aggregation,
    1. give the characteristics in the rows and key figures in columns.
    (or)
    2. assign with a request number for each record, since no two records will have same request number, there is no chance of getting aggregation.
    (or) are u using any DSO in ur data flow, if so remove that and directly map to info cube and see the result.
    Thanks,
    Sai Chand
    Edited by: sai chand on Jan 15, 2009 8:38 PM

Maybe you are looking for

  • I can't import any movie files in FCPX (even files that previously imported)

    I am currently in this interesting position of not being able to import any videos into FCPX. Not just one, or a few odd ones, but none whatsoever. I have previously imported some videos into FCPX, so it seems like the software is... deteriorating. I

  • How can i run a version of Logic 7 on mac OS X 10.9.2?

    Hi. I am running Logic Pro X on a Macbook Pro 2.7 GHz Intel Core i7 running OS X 10.9.2. However, I have some very old but crucial Logic files from the Logic 4/5 days and need to convert them to my current version of Logic Pro X via Logic 7. Does any

  • Problem using JSTL tag libraries with OC4J 9.0.3

    Hi I'm using the JSTL tag libraries with OC4J 9.0.3. I'm using JDeveloper10.1.2. I put the fmt.tld and c.tld in the WEB-INF directory and I'm adding the jstl.jar and standard.jar library to the EAR file. Both tlds have: <tlib-version>1.0</tlib-versio

  • Events in ALV block list

    Hi, Im using ALV block list to display the output. In that one column is highlighted using HOT SPOT. I have to capture that event and display the information as pop-up. can anyone tell me how to do this? Thanks, Amal

  • Anaphormic 16:9 for mini DV ? please Help !!!

    Hello, I´m so confuse, I have a Panasonic mini DVPal 3CCD, I made the footage 16:9, I did the capture with FCP, settings CCIR 601/DVPal (5:4), DVPal 16:9, and plus Anaphormic 16:9, but then when I convert to QT, that come back to 4:3. I was reading t