From iCal to table with all events

I have a iCal file imported into a table.
Now I want to normalize it to: Date from, Date Untill, Schedule ID
For example 1 record form iCal:
DTSTART:20140106T080000Z
DTEND:20140106T120000Z
RRULE:FREQ=WEEKLY;COUNT=10;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR
The end result in this case should be 3 records:
Date From Date Until
20140106 08:00 20140106 12:00
20140107 08:00 20140107 12:00
20140108 08:00 20140108 12:00
Has anyone done this before? I assume one needs to create a stored procedure to do this?
Thanks in advance,
Frans

So does the entire value gets stored in single row single column as of now or is that 3 rows value that you posted from the file?
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • Get the Common from Two Internal Tables with same structure

    Hi ,
    I need to get the Common data from Two Internal Tables with same structure with using the looping method.
    For e.g.
    I have two internal table say ITAB1 and ITAB2.
    ITAB1 has values A,B,C,D,E,F
    ITAB2 has values A,H,B,Y,O
    Output at runtime should be : A,B

    Hi mohit,
    1. If u want to compare all fields,
       for matching purpose,
       then we can do like this.
    2.
    report abc.
    data : a like t001 occurs 0 with header line.
    data : b like t001 occurs 0 with header line.
    loop at a.
      LOOP AT B.
        IF A = B.
          WRITE :/ 'SAME'.
        ENDIF.
      endloop.
    ENDLOOP.
    regards,
    amit m.

  • Hi guys n girls. How do you copy a whole table to create a new table with all cell sizes in tact? Thanks for your help. Jason.

    Hi guys n girls. How do you copy a whole table to create a new table with all cell sizes in tact? Thanks for your help. Jason.
    when you copy n paste into a new table, all the cell sizes are changed.
    is there a way to put in a new table from your templates into an existing file, different to the standard very basic ones in insert table.
    I look forward to your answers.  Your help is very much appreciated.
    Also how do you search for question answers already written in this support area please.

    Hi Jason,
    In Numbers 3, you can select a whole table by clicking once in the table to make it active, then click once on the "bull's eye" at the top left.
    Now copy and paste. All formatting (and any cell content) is pasted intact. In Numbers 2.3 (Numbers '09) it is a little different for selecting a whole table. But I won't go into that unless you are using Numbers '09. Please reply.
    I don't like the look of the tables in Insert Table. I keep custom tables in My Templates. I have set Numbers > Preferences > General > For New Documents > Use template: (name of my favourite custom template)
    That opens when I launch Numbers, or ask for a new document (command n). Note that if you follow this preference setting, then Menu > File > New From Template Chooser (for another template) requires you to hold down the option key in that menu.
    Regards,
    Ian.
    Message was edited by: Yellowbox. All formatting (and any cell content) is pasted intact.

  • How to create a table from an existing table with new column

    Hi !
    Please help me.
    I want to create a table from an existing table with data and add two new column to the new table.
    What will be the syntax?

    craete table new_table as select a.*, 'somevalue' new_col1, 'somevalue'
    new_col2 from old_table a;Also there is a pitfall - newly created table will accept column type and precision from the select statement, so further you can be needed to modify columns
    if you want to have VARCHAR2 instead of CHAR for example:
    SQL> create table new_dept as select dept.*, 'New data' new_col from dept;
    Table created.
    SQL> desc new_dept
    Name                                      Null?    Type
    DEPTNO                                             NUMBER(2)
    DNAME                                              VARCHAR2(14)
    LOC                                                VARCHAR2(13)
    NEW_COL                                            CHAR(8)
    SQL> alter table new_dept modify (new_col varchar2(8));
    Table altered.
    SQL> desc new_dept
    Name                                      Null?    Type
    DEPTNO                                             NUMBER(2)
    DNAME                                              VARCHAR2(14)
    LOC                                                VARCHAR2(13)
    NEW_COL                                            VARCHAR2(8)Rgds.
    Didn't see michael's post - it reflects the fix for this problem using CAST.
    Message was edited by:
    dnikiforov

  • Report  all  z  tables  with  all  z  program containing these z tables

    Hi  Everyone,
    I  want  to  write a report  to  extract  all   z table   with  all   z  program  contained in these z tables 
    ex: The z table zxxxx  exist in program zxx1 , zxx2 and zxx3.
    Table                                    Program
    zxxxxx                                 zxx1
                                                 zxx2
                                                 zxx2
    If  you  have  any  idea  ,  wich table we can find information
    Thanks in advance for your time
    Soufiene

    Thank you very much , but where i can find the descritption for the table .
    EX :
    TABLE                        DESCRIPTION                                                 PROGRAM
    ZCHANGEMPL           SAP  TO Kronos interface tables                   ZXXXXXXX
    Thanks a lot
    Soufiene

  • After 3 years of use, my I-photo dissappeared from my mac along with all my pictures.  Stupid me has no back up either.  any ideas how I can get my pictures back?es bautupi

    Happy Holidays.  After 3 years of use, my I-Photo disappeared from my Mac along with all my pictures.  And stupid me has no back-up.  Any ideas on how I can find my pictures?  Thanks.

    Happy Holidays to you too.
    What exactly is missing?
    The iPhoto icon in the Dock, that you used to launch iPhoto?
    The iPhoto application from the "Applications" folder?
    Your iPhoto library from your "Pictures" folder?
    To check what is still left, click on the looking glass icon in the upper right corner of your screen and type "iPhoto" into the Spotlight search field. This should find anything with iPhoto in its name. Does it show an iPhoto application? Then click it to launch it.
    But before you do anything else, I'd strongly suggest to get yourself a backup disk and make a Time Machine backup of your machine right now. You have already noticed, how risky it is, not to have a working  backup. The best computer will crash one day.
    Regards
    Léonie

  • Danke, LeonieDF, I imported a Garageband song from my iPad app with all 8 tracks full, now I want to put on vocal

    I imported a Garageband song from my iPad app with all 8 tracks full, now I want to put on vocal & guitar tracks but it won't let me. Also I have always problems when opening Garageband as I had an external hard drive connected to my Macbook Pro when I first downloaded it. It won't open without the external drive being plugged in. It says invalid instrument library and so on. I have tried trashing the program then reloading it nothing works; so I can't use Garageband unless the external is attached. I was also trying to send the song to Logic 8 but I can't find a video tutorial or relevant info in the manual; although I am thinking of updating Logic to the latest version. AAAGHH!!

    Thank you, that's very helpful.
    I was able to get this to work for deleting single song, but it simply ignored me when I tried to delete whole albums or artists. As there are many thousands of Christmas tracks, deleting one by one was not an option.
    When I first started to research this I was not able to find any posts on the subject (because I did not know about the left swipe to delete gesture and so did not search for it). Now that I know I found this post which gives a number of different ways to do this:
    http://forums.macrumors.com/archive/index.php/t-1276850.html
    At first I tried this option:
    If you are trying to batchdelete all music on an iOS device, it can be done.
    1) Settings > General > Usage
    2) Let the Storage settings load.
    3) Click on Music...on next screen, swipe anddelete.
    That does zap everything, but it suited my purposes. At first I though this was working, lots of tracks started to go back into the cloud (although this does not happen allat once, it seems to do it in the background over a period of time). The usage screen said I had free space on the iPad, but when I plugged it into iTunes the iPad showed as full and the tracks were all still listed under music.
    So I tried this:
    You can turn off iTunesmatch and then sync a very small number of tracks via iTunes, which shouldreplace the downloaded tracks with the synced tracks. Then turn Match back on.It's a pain but that is the only way I have found to mass delete.
    Which did the trick, but is something of a nuclear option.
    Looks like Apple have some work to do here. Deleting a track at a time or everything in one go is too clumsy. You need to be able to delete Albums, Artists or Genres in the sameway you can delete songs. I wish there was a way of reporting bugs like this to Apple, but short of signing up to be a developer, there does not seem to be away. If anyone reading this is a developer, perhaps you can get a paste the text into a bug report.

  • Set up mail app but it is sending ALL events from iCal to gmail with an error...

    Previously, I had set up iCal to sync with gmail so I could have my calendar on my droid phone.  Today I tried to set up the mail app to sync with my yahoo mail account.  It works, and I can see my inbox, but for some reason when I open mail it attempts to send all of the events in iCal as alarms to Gmail.  It opens hundreds of windows and slows down my computer. Each message has an error about not having an outgoing mail server selected.  I've tried to delete my gmail from iCal to un- sync everything, but everytime I open mail it starts a domino effect of iCal alarm outgoing message windows. I can individually choose Yahoo! as the outgoing server, but it is incredibly slow and there are hundreds of them to go through...what do I do?

    Have you checked the event log to see if there are any errors during the connector processing? The events will be logged in Application and Services Logs\Operations Manager. Look for any error messages during the time the connector was syncing. Most events
    dealing with the ConfigMgr connector have a source of "Data Connectors" or "Lfx Service", but I would suggest looking through all of them from that time period. Let us know if you find anything there. 
    Matthew Dowst |
    Blog | Twitter

  • ICal 3.0.6: all events gone, cannot add new events either, needs force quit

    Hello,
    I am experiencing the same behaviour seen by others on the list. It probably occured due to the OSX upgrade to 10.5.6. I hadn't used iCal much since Dec 10 or so and only noticed the anomalous behaviour yesterday.
    What I see:
    - iCal comes up but all previous events are no longer in it
    - The default Home and Work calendars are also gone
    - The left bottom section of iCal shows January 2001 and the forward/back buttons do not work in the this subwindow
    - I cannot add any new events
    - I can only close iCal by using force quit
    My events and calendars files are still available in the ~\Library\Calendars folder but I cannot import them into iCal. File->Import->Import an iCal file does not work (a finder like window does not appear to allow me to choose a file).
    I have tried the following:
    - moving com.apple.iCal.plist to the desktop and login/logout
    - moving Calendar Cache to the desktop and login/logout
    - login using another account and tried to use iCal. no go.
    I haven't tried to install an older version of iCal from the OSX DVD yet.
    Any ideas?

    I am having the same behavior. In the past with many major OSX upgrades this has happened and I had to get a previous copy from Time Machine. Right now my Time Machine copy is dead and I can't do it. I tried getting an older copy of iCal but it is exhibiting the same behavior!! I can't synch the calendar with my iPhone, either! No, I do not want to reinstall Leopard from scratch on this machine just to replace iCal - that is ABSURD!! This is the 3rd or 4th time this has happened. I don't have 4 - 6 hours of my time to fix this kind of problem every couple of months - not to mention several spare hard drives, etc.
    What is causing this problem, and how can we get iCal back??
    How about a simple iCal reinstall utility page on the Apple Web site if this is going to keep happening??

  • How to read from an internal table with multiple key fields.

    Hi All!!
    I want to read from an internal table having keys as k1,k2,k3.
    How can I use read statement to read an entry having this as the key fields.
    Thanks in adavance..
    Prabhas Jha

    hi there
    use:
    sort itab by K1 K2 K3.
    read table itab into wa with key K1 = value 1
                                                  K2 = value2
                                                  K3 = value 3
                                                   BINARY SEARCH.
    where:
    itab is ur internal table
    wa is the work area with the same line type as the itab
    cheers
    shivika

  • Grouping Checks, All element from a group present with all option available in group

    Respected Techie....May i get help on this how to design a query for below condition, if possible.declare @myTable table (PT varchar(50), MK varchar(50), MO varchar(50),
    YR varchar(50), REMARKS varchar(50), PART varchar(50))
    Table Structure:-
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Four Wheel Drive', '51C') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Rear Wheel Drive', '51X') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Rear Wheel Drive', '51C') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Battery' ,'Dodge','Ram 50', '1989', 'Four Wheel Drive', '51X') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Four Wheel Drive', '46264') -- This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Four Wheel Drive', '875') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Front Wheel Drive','46264') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Air Filter','Dodge','Colt', '1990', 'Front Wheel Drive','875') --This will be in Output, as Group of PT, MK,MO,YR have 2 remarks and part are available with both the remarks
    insert into @myTable values ('Bull Bar' ,'Ford','F-250', '1997', 'Four Wheel Drive', '1330371971') --All element from a group of PT,MK,MO,YR should be Removed from output, as Part 1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Bull Bar' ,'Ford','F-250', '1997', 'Four Wheel Drive', 'NR-301') --All element from a group of PT,MK,MO,YR should be Removed from output, as Part 1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Bull Bar' ,'Ford','F-250', '1997', 'Rear Wheel Drive', 'NR-301') --All element from a group of PT,MK,MO,YR should be Removed from output, as Part 1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Controls', 'Cadillac','Chasis','1992', 'Rear Wheel Drive', 'CK620158') --Removed from output, as group by PT,MK,MO,YR contain only 1 remarks and 1 distinct part
    insert into @myTable values ('Controls', 'Cadillac','Chassis','1992','Rear Wheel Drive', 'CK620159') --Removed from output, as group by PT,MK,MO,YR contain only 1 remarks and 1 distinct partThank You Very Much

    It would certainly help with some more details on the business rules.
    I am puzzled over these two rows:
    insert into @myTable values ('Bull Bar'   ,'Ford','F-250',   '1997',   'Four Wheel Drive',   'NR-301')  
       --All element from a group of PT,MK,MO,YR should be Removed from output, as Part  1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    insert into @myTable values ('Bull Bar'   ,'Ford','F-250',   '1997',   'Rear Wheel Drive',   'NR-301')  
       --All element from a group of PT,MK,MO,YR should be Removed from output, as Part  1330371971 is not available with all the remarks available in a group. (1330371971 is not available with Rear Wheel Drive.)
    Overlooking the fact that the part number in the comment does not match, how this is different from parts 51C and 51X which also has a Four Wheel Drive and a Rear Wheel Drive?
    I guess the real question is how do I know what "all available options" are? I would kind of expect a table which defines this.
    And please don't forget to tell us which version of SQL Server you are using!
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to read/write a binary file from/to a table with BLOB column

    I have create a table with a column of data type BLOB.
    I can read/write an IMAGE file from/to the column of the table using:
    READ_IMAGE_FILE
    WRITE_IMAGE_FILE
    How can I do the same for other binary files, e.g. aaaa.zip?

    There is a package procedure dbms_lob.readblobfromfile to read BLOB's from file.
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#sthref3583
    To write a BLOB to file you can use a Java procedure (pre Oracle 9i R2) or utl_file.put_raw (there is no dbms_lob.writelobtofile).
    http://asktom.oracle.com/pls/ask/f?p=4950:8:1559124855641433424::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:6379798216275

  • Select count from large fact tables with bitmap indexes on them

    Hi..
    I have several large fact tables with bitmap indexes on them, and when I do a select count from these tables, I get a different result than when I do a select count, column one from the table, group by column one. I don't have any null values in these columns. Is there a patch or a one-off that can rectify this.
    Thx

    You may have corruption in the index if the queries ...
    Select /*+ full(t) */ count(*) from my_table t
    ... and ...
    Select /*+ index_combine(t my_index) */ count(*) from my_table t;
    ... give different results.
    Look at metalink for patches, and in the meantime drop-and-recreate the indexes or make them unusable then rebuild them.

  • I need help making tables with all my data. What to do with all my Data?

    Hello All,
    Here is the scenario. I have about 10 columns of data. It has Name of Item. Price sold, Shipping Cost, Address and others.
    I want to group all the same items into a separate table with its own totals. There is 100 different items, So i need to split is several tables. Any idea on how to do this? Can It be done in Numbers?

    A variation to Jerry's suggestion:
    You are inquiring about creating 100 tables that produce summaries, 1 for each item. Jerry suggests a single table showing only a summary of your 100 items. This has potential. If you want to see the individual lines displayed above each summary, you may be able to use your original table. This process, however, involves a little work. But it's not unreasonable and may satisfy your needs.
    In your original table create a new line for each item. These lines are basically blank except for the item name and whatever columns you want to summarize. Enter the item names on these lines but follow them with the word " Total". When you sort on the Item column these lines will appear as the last of each item. Then place the SUMIF function in the proper column to obtain your summary.
    pw

Maybe you are looking for