Create a table with a thinner than the source table granulaty

Hello
I had a problem. I have a source table that has vacation date / period for employees inside. I want to create a table where I "split" the period of vacation days for each employee.
Example:
Holiday table:
Name - Holiday beginning - end of holiday
Mr.X - 1.1.2011 - 5.1.2011
Mr.Y - 2.5.2011 - 3.5.2011

-> new table:
Name - Day of vacation
Mr.X - 1.1.2011
Mr.X - 2.1.2011
Mr.X - 3.1.2011
Mr.X - 4.1.2011
Mr.X - 5.1. 2011

and so on
Is there an operator or something else with which I could create the new table? I use OWB 11 GR 2

THX

Hello
Join your source table to another table that contains all the dates (for example, you can use time dimension in OWB):

Select vt.name, d.date_value in the vacation_table, vt, dates_tab d vacation_day
where d.date_value between vt.vacation_start and vt.vacation_end

Kind regards
Oleg

Tags: Business Intelligence

Similar Questions

  • the new iPad pro films with more FPS than the iPad2?

    the new iPad pro films with more FPS than the iPad2?

    Even as the iPad 2, 30 frames per second - the Pro allows you to make the slow-mo video at 120 FPS

  • Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    Is iMac without retina k 4 at 2.8 GHz with more quickly than the iMac retina 4 k with 3.1 GHz?

    In most cases you won't see much difference in performance using CPUs unless you do very intensive CPU.

    Maybe you can tell what your needs are for the computer, what you intend to use applications and then we can help suggest some configurations, you might want.

    In today's computers, which makes the greatest performance increases for typical users are (in this order):

    • SSD instead of a Fusion or rotation HD.
    • RAM
    • GPU
    • CENTRAL PROCESSING UNIT
  • Hello! so I create a character with long hair, but the thing is it attached on the face and body, cannot move/dangle by itself. and the eyebrows can not move

    Hello! so I create a character with long hair, but the thing is it attached on the face and body, cannot move/dangle by itself. and the eyebrows can not move

    For groups or layers Warp independently of their parent group, add a "+" to the beginning of the name of the layer in PS / HAVE. It's the same select group in the Panel of puppets and by checking the Warp option independently in the properties panel.

    Once a group is warping independently, it will be attached to its origin at the origin of the group from its parent by default. You can join a different handful in the parent using the fix to the popup in the properties panel. In Preview 3, if you want to move the origin, you need to do in PS / HAVE. In future releases, you will be able to change the origin directly in the Panel of the puppet.

    If this doesn't solve your problem, you can post a screenshot of the hierarchy of layer here, to see if there is another structural problem.

  • ProRes renders EI have garbage Frames / longer than the Source

    I had some weird problems output prores of After Effect recently. My workflow typical offline was Prores422HQ or Prores4444 exit offline for and it is a regular method of rock for years. Recently, all Prores of After Effects renders have additional frameworks of garbage and longer than the source:

    An animation example 720 with DPX source, attended the Prores4444 image eventually 724 frameworks when read on the desk or ingested in Avid/Final Cut. When this rendering is re-imported in AE, it is considered as having only 720 images and fits perfectly into the chronology of 720 original frame, but outside the EA, it is considered as having 724 frameworks (QT7, Avid, Final Cut, etc.).

    Has anyone seen this problem before? I started using Avid rather - codecs which works very well - but this question worries since most deliverables are Prores these days... and AE was the best way to maintain the 16 bits of color in these sorties.

    * This problem started around a month ago and is on all GFX boxes in the Office *.

    Chris

    This problem is resolved by update fixes after effects CC (12.2.1), which is now available:

    http://Adobe.LY/AE_CC_1221

    Note the part at the end of this page on a crucial update for the creative cloud desktop application, which addresses serious problems with the SOUL, first Pro and After Effects.

  • More about "ERROR: failed to create a snapshot of a volume of the source.

    I saw the previous posts on this and have tried to follow all the advice, but nothing helped.  I am running XP and you have two hard drives, NTFS and both have plenty of space.  My destination is an external hard drive, FAT32, with plenty of room.  I get the ERROR message: failed to create a snapshot of a volume of the source. Ppossible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough of disk space.

    I installed the converter as an administrator, I rebooted several times, I ran / f checkdsk on both hard drives and external drives, I have disabled all the services that I am uncomfortable, turn off, but just, I get this message.  I have attached the log file.

    Thanks for any help.

    drbking wrote:

    I see that a small part of my answer was missing - the microsoft running thing, I found I was missing vssui.dll.  Downloaded, ran the microsoft thing and am now running the converter again.  Know in the morning, if it works (takes about 9 hours).

    How is the conversion?

    -Ryan

  • Form on a Table with report - change of the source table after created form

    Hi all

    I have a 'form on a Table' where the various fields have the "Source Type" = "column of the database. I have 2 Questions for this type of shape:

    1: in the field "Source value or expression", it is possible to change the name of the field in the Table. But I can't understand how view or even change the underlying Table (which had to be chosen at the beginning, when the form was created at the start).

    2: my question in section that relates to the first question would be, if it is possible to have multiple underlying tables in the same region. Or whether it would be necessary to create a second region or change the "Column of the database" type in a type of SQL query?

    Thank you and best regards,

    David

    To change the table, you need to change the process of the page. A process has been generated called:

    Extraction of line of

    Here, you can modify the table, but you also have to make in your shipment after processes. Who are probably named:

    ApplyMRD and ApplyMRU

    If you want a form to be based on more than one table, you can create a view and base your form on this point of view instead of on the table, or you need customized treatment.

  • Is there a way to create a topic with a shading behind the text and fine lines above and below?

    I work with InDesign CS6, Windows 7.

    Is it possible, using nets of paragraph, to create a heading with shading behind the text and fine lines above and below the text?

    I would like to create headers that resemble these:

    Headings.png

    Thank you!

    A way to create a style of stoke (Stripe type) with a small percentage of height up and downstairs dedicated to scratches, then apply the color out in the dialog whn would you apply the contour to your net of paragraph style. The downside to this is that the 'weight' of the two lines can vary when you change the weight of the actual race.

    To avoid this and still be able to ge the fill to expand the width of column, you can use a 1-cell table, or you could use rules above and below and underscore cutom for filling and key line with a tabulation of withdrawal right. If you need space on the left, as shown in the illustration, you would probably need a tab on the left as well, instead of a dash.

  • Increment Dt start with day greater than the Dt at the end of the year Prev in Pro * C

    Morning people and greetings from Toronto.

    I'm trying to change a Pro * C program. Since ages I touched a Pro * C program but I have made an attempt for her. I would probably need some help andhopefully is the right forum I could nto seem to find any section decicated Pro * C programs.

    Here's what its supposed to do. I'm supposed to check if a Start Date of overlap between the start dates and dates from the end of the previous year, and if so, I'm supposed to assign one day Start Date greater than the Date of the end of the previous year.

    I have a control panel that stores records for start date and end Date for each year. Here's what I have for 2010.

    Start date = 8 May 2010 '; End date = may 12, 2011 'year =' 2010 From now the previous record in the table 1 (where the new record is supposed to be inserted) has a record that looks like this:
    DOC_ID     NAME               YEAR         START_DATE     END_DATE
    ------------------------------------------------------------------------------------------------
    999999     Mary Poppins      2009         03-May-2009      08-May-2010
    Now, based on the control table, the Start Date for 2010 coincides with the Date of the end of 2009. In this case, I would need to move the start date = may 9, 2010 "(Date of end + 1)

    Here is my ProC program in hand
    /* Include Headers */
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <ctype.h>
    #include <math.h>
    ---------------------------
    /* Define constants */
    ---------------------------
    #define  nullterm(string) string.arr[string.len] = '\0';
    /* SQL Host Variables */
    exec sql begin declare section;
    exec sql include sqlca;
    
     varchar   ctrl_start_date[11];
     short     ctrl_start_date_ind;
     varchar   ctrl_end_date[11];
     short     ctrl_end_date_ind;
    
     varchar   end_date[11];
     short     end_date_ind;
    
     int       exist_end_date_flag;
     short     exist_end_date_flag_ind;
    
    exec sql end declare section;
    
    
    /* Function Prototypes */
    
    void check_date_overlap();
    
    
    void main(int argc, char *argv[])
    {
    /* Coding starts here */
    
    void get_ctrl_dates()
    {
     exec sql
      select  to_char(trunc(ctrl_start_date),'YYYY/MM/DD'),
              to_char(trunc(ctrl_end_date),'YYYY/MM/DD')
      into    :ctrl_start_date :ctrl_start_date_ind,
              :ctrl_end_date  :ctrl_end_date_ind
      from    control_tb
      where   current_yyyy = :year_number;
    }
    
       check_date_overlap();
    
       if (strcmp( (char *)run_mode.arr,"N")==0)
       {
        check_date_overlap();
        create_person_rec(); /* This will insert record into person_tb table */
       }
    }
    
    /***********************/
    /* CHECK_DATE_OVERLAP  */ 
    /***********************/
    void check_date_overlap()
    {
    
     exist_end_date_flag = 0; /* assume he does not have a record */
    
     exec sql
      select count(*), end_date + 1
      into   :exist_end_date_flag exist_end_date_flag_ind,
             :end_date :end_date_ind
      from   person_tb
      where  doc_id = :doc_id
      and (( :ctrl_start_date between start_date  and end_date ) or
           ( :ctrl_end_date   between start_date  and end_date ) or
           ( start_date between :ctrl_start_date  and :ctrl_end_date ) or
           ( end_date   between :ctrl_start_date  and :ctrl_end_date ))
      and    year_number = (:year_number - 1)
      group by end_date
      having count(*) = 1;
    
      /*** Error Check Routine goes in here ***/
    
      /* Overlapping of dates; Set the Start Date equal End Date + 1 to avoid overlap */
      if (exist_end_date_flag == 1)
      {
       print_to_err_file("The Start Date is overlapping with a previous period.",0);
      }
    
       nullterm(end_date);
    
    } /* check_date_overlap */
    Here would be my question:

    My question is, should the SQL above be written like this instead?
    /***********************/
    /* CHECK_DATE_OVERLAP  */ 
    /***********************/
    void check_date_overlap()
    {
    
     exist_end_date_flag = 0; /* assume he does not have a record */
    
     exec sql
      select count(*), end_date
      into   :exist_end_date_flag exist_end_date_flag_ind,
             :end_date :end_date_ind
      from   person_tb
      where  doc_id = :doc_id
      and (( :ctrl_start_date between start_date  and end_date ) or
           ( :ctrl_end_date   between start_date  and end_date ) or
           ( start_date between :ctrl_start_date  and :ctrl_end_date ) or
           ( end_date   between :ctrl_start_date  and :ctrl_end_date ))
      and    year_number = (:year_number - 1)
      group by end_date;
    
      /*** Error Check Routine goes in here ***/
    
      /* Overlapping of dates; Set the Start Date equal End Date + 1 to avoid overlap */
      if (exist_end_date_flag == 1)
      {
        /* Is this even correct or would I have to do a strcpy?.
            Also note that I am overwriting ctrl_start_date which
            was fetched earlier in get_ctrl_dates() */
       ctrl_start_date = end_date + 1;
       print_to_err_file("The Start Date is overlapping with a previous period.",0);
      }
    
       nullterm(end_date);
    
    } /* check_date_overlap */
    Published by: Raj404261 on June 10, 2009 11:21

    You can put your code between the {code}

    As
    {code}
    your code...
    ...
    {code}

    SS

  • Create several folders with several folders in the rapids

    How can I quickly create several folders with a specific set of folders in each of them?

    for example:
    Folder1-> test1, test2, test3...
    Folder2-> test1, test2, test3...
    Folder3-> test1, test2, test3...
    etc.
    I want to create several folders named specifically with an ID I'll specific, and in each of these cases, I would like to have a set of folders.
    Thank you for your help.

    Hello

    Check out the steps suggested by Steve Winograd and TechHead74 in http://answers.microsoft.com/en-us/windows/forum/windows_xp-files/how-or-can-i-create-numerous-new-folders-instaed/a2a67066-7e97-47b3-aba4-8e8a1a460ca3

    Hope this helps you.

  • Disco of VmWare Converter problema su spazio - ERROR: failed to create a snapshot of a volume of the source. Possible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough free space on the disk.

    Buongiorno,

    Devo connvertire con vmware converter one Nt Server con AC 450MO di spazio libero su disco C: ntfs file system e

    Ricevo this error:

    ERROR: Impossible to take snapshots of a volume of the source. Possible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough free space on the disk.

    He problema e che no ho the possibility di līberō altro spazio.

    Some suggestions?

    Grazie in pre-empted.

    Anni fa it era questa versione di VMware Converter: https://dl.dropboxusercontent.com/u/2197180/coldclone.3.03.iso che permetteva the clonazione a freddo. :-)

  • Assets of image import as a res lower than the source

    I have seen several posts similar to this discussion and have never seen a response. Whenever I attempt to ad an image, sometimes half of the original asset. I tried format PNG, JPG, Gif etc. and it's all the same. Years ago, when I used first Muse, it didn't happen. Just to put everything everybody some time, yes I'm saving the images correctly and the size/resolution 100% I'm looking. I did this for a loooong time. For example, I 1600x600px image at 72 dpi. Save the images in the same way and the same resolutions I would entrust to any developer.  My Muse file is located at standard resolution. I deselected retina, hoping that would solve the problem.

    What happens is when I drag the image a Muse W 1600px site, the image comes in about 1/2 - 1 / 3 of the original size. (Note: I also can't not proportional to scale while holding SHIFT as is the norm in Adobe products). I used really love using Muse for prototypes show customers, but for this reason probably, and my inability to get an answer, I gave up. Once and a while, like now, I'm, hoping things will work properly.

    Please let me know if you know what's the deal. kind of makes me crazy. It's used to work fine a few years back.

    If HiDPI is on images will be important to half size. That's how 2 x HiDPI works. A 1600px by 600px image will appear at 800px of 300px Dimensions in Design view and on screens in standard resolution. On a screen HiDPI image will always be physically the same size on screen, but 1600 x 600 pixels will appear.

    How did make you the image in Muse? File > Place and click on the page will bring the image in original size, unless it would be much bigger than the size of your page (in which case Muse will resize itself it down to manageable dimensions). If the image is used as a background fill Image sizing is controlled by the fill parameters (i.e. the scale to adapt, evolve to fill, etc.).

    Regarding the scaling proportional, for better or worse, the default behavior in Muse is the resizing of the images is proportional. If you want the disproportionate scale (free style), then hold down the SHIFT key. Note that this applies to the placed images and the images in the slide show. It does not apply to elements with a background image fill.

  • Why the imported videos have characteristics lower than the source of the videos?

    Hello!

    I do a video for the first time and am totally confused.

    I shot the videos with a digital SLR, videos 1280 x 720.

    I imported the video into Premiere Pro CS5, double click on a video imported so that it has been shown in a window, then I played this video, only to discover its quality was average poorer than the video source - color was inappropriate and there is more noise.

    What's wrong?

    I put the format of pixels in place, I will do 16:9?

    Any help will be rock :))

    Check the resolution of your reading. Its default value is set to 1/2.

    There is a button in the program monitor, it has three colors: red, green, and blue.

  • What is the problem with this query in the source

    A blank page is region 2. Region1: enter rec_no (-rec_no is varchar2) region2:hide and show that displays one record based on rec_ no region1 entered.
    The problem is that I get the following error

    ORA-06550: line 1, column 7: PLS-00428: an INTO clause in this SELECT statement

    Here's my simple query in a process of pl/sql
    Start
    Select rec_no, rec_name from mytable where rec_no = upper(:P16_rec_no);
    end;

    Why? The same query works under the sql command.

    what I'm trying to accompolish here, it is because he has given huge if I want to display hide also multiples, regions and allow users to update each region as a result. Help, please. It kills me that I just can't understand what is causing the problem to the query. Thank you.

    Hello

    The list is set to the field EMPLOYEE_ID itself? What is the primary key of the table? In my example, DEPTNO is the primary key and I used the element generated by the wizard page to display the list. The parameters of the Source of the item itself or the column DEPTNO and database so that the process "process line...". "to identify the updated row.

    Andy

  • Create a page with an estimate of the costs with DWCS6

    Hi all

    I need to help, once again. I create a page where the user can choose from many options and ultimately it gets the estimated costs, for example:

    Home: * drop-down list where the user can choose the kind of house they love, with different prices *-> Let's say the user chooses 'Flat', and the apartment is $ 200

    Car: * drop-down list with different kinds of car-> and here, the user chooses 'Ferrari' with a 'related' $ 2,000 value

    -----------

    Estimated total: $2200

    In a table, assuming that it is on a page, it could be:

    Category Selection $
    HouseDish200
    CarFerrari2000
    Total estimated2200

    So, what I need, it's a page where the user chooses goods or services from drop-down lists and at the end of the page you have a total estimated. In these lists, you see the name of the goods/service and next to it 'appears' value (inside a text box or something) once you make a selection.
    How does it work? I checked around but probably I used the wrong keywords... because I couldn't find anything! ;(

    Thanks in advance!

    What you understand about the JS Fiddle I gave you?

    • HTML form,
    • CSS for shape, style
    • function jQuery to calculate the values of the form input.  jQuery code goes inside

      Nancy O.

Maybe you are looking for

  • Ask about the maximum memory recognized in the Satellite Pro 4200/4300 series

    I thought that the maximum RAM that could be recognized in the series SP4200/4300 of machines was the 64 MB on board, over a maximum of 2 X 128 MB tapes in the two expansion slots for a total of 320 MB. However, I came across an ad from someone who c

  • Sound recording works successfully, but will be no recording CD or DVD - Equium A60

    On an Equium A60 wehen trying to record CD/DVDI get the following error message in the Advanced section when the Player opens to have not recorded.Direction: ASC 03: 73 ASCQ: 03 (command 2A)-------------------------------------------------------PX.dl

  • Live simulation and functions

    Regarding; The LabView I use works on a computer that has Windows Vista Ultimate (32 bit) installed. I was doing a drawing control and I noticed that some of the simulation functions do not work. This means that because of the operating system instal

  • I get 2 errors blue screen 0x00000000a and 0 x 00000101

    just a new motherboard had put a store.  Is the ASRock n68c-s ucc.  I get the bluescreens since then. can't diagnose that drivers should be replaced

  • Auto execution after SSLVPN Login URL.

    Hello Can someone answer the following? Is it possible to run a URL to an internal Web interface, just after a user in SSLVPN automatic connections? Instead of the user having to search for, then click on the bookmark, can make it auto run, somehow?