How to truncate a partition in owb

I wonder how can i achieve truncating a partition before loading into this target table. I found this pre-mapping prcess where we have this option of truncating a table, but how can i just truncate a partition within a table in a mapping? please advice.
~Prabha

As per Detlef's suggestion, here's the basics that you can embedd in a function/procedure. Accepts 3 parameters in_table_name, in_subpartition_name and in_partition_name. You can also enhance ALTER statements to REUSE/DROP STORAGE if required.
v_sql VARCHAR2(250) DEFAULT NULL;
BEGIN
IF in_subpartition_name IS NOT NULL THEN
v_sql := 'ALTER TABLE '||in_table_name||' TRUNCATE SUBPARTITION '||in_subpartition_name;
ELSIF in_partition_name IS NOT NULL THEN
v_sql := 'ALTER TABLE '||in_table_name||' TRUNCATE PARTITION '||in_partition_name;
ELSE
RAISE no_data_found;
END IF;
EXECUTE IMMEDIATE v_sql;

Similar Messages

  • How to truncate a partition of materialised view?

    Hi,
    I want to create a materialised view that has 30 days data. I want a fast refreseh to load daliy data. I also want that the view have only 30 day data.
    Will partiotioning help me to truncate 30 day old partition. (Considering materialised view has daily partition)
    How can this be done?
    This materialized will have outer joins in it.
    Thanks,
    Vishu

    One way:
    ALTER TABLE <table_name> TRUNCATE PARTITION <partition_name> DROP STORAGE;http://www.psoug.org/reference/partitions.html

  • How to truncate data in a subpartition

    Hi All,
    I am using oracle 11gr2 database.
    I have a table as given below
    CREATE TABLE SCMSA_ESP.PP_DROP
    ESP_MESSAGE_ID VARCHAR2(50 BYTE) NOT NULL ,
    CREATE_DT DATE DEFAULT SYSDATE,
    JOB_LOG_ID NUMBER NOT NULL ,
    MON NUMBER GENERATED ALWAYS AS (TO_CHAR("CREATE_DT",'MM'))
    TABLESPACE SCMSA_ESP_DATA
    PARTITION BY RANGE (JOB_LOG_ID)
    SUBPARTITION BY LIST (MON)
    PARTITION PMINVALUE VALUES LESS THAN (1)
    ( SUBPARTITION PMINVALUE_M1 VALUES ('01') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M2 VALUES ('02') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M3 VALUES ('03') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M4 VALUES ('04') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M5 VALUES ('05') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M6 VALUES ('06') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M7 VALUES ('07') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M8 VALUES ('08') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M9 VALUES ('09') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M10 VALUES ('10') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M11 VALUES ('11') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMINVALUE_M12 VALUES ('12') TABLESPACE SCMSA_ESP_DATA
    PARTITION PMAXVALUE VALUES LESS THAN (MAXVALUE)
    ( SUBPARTITION PMAXVALUE_M1 VALUES ('01') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M2 VALUES ('02') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M3 VALUES ('03') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M4 VALUES ('04') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M5 VALUES ('05') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M6 VALUES ('06') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M7 VALUES ('07') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M8 VALUES ('08') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M9 VALUES ('09') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M10 VALUES ('10') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M11 VALUES ('11') TABLESPACE SCMSA_ESP_DATA,
    SUBPARTITION PMAXVALUE_M12 VALUES ('12') TABLESPACE SCMSA_ESP_DATA
    ENABLE ROW MOVEMENT;
    I have populate two sets of data.
    One with Positive job_log_id and another with Negative job logid as given below.
    Step 1:
    Data going to PMAXVALUE Partition
    INSERT INTO PP_DROP ( ESP_MESSAGE_ID, CREATE_DT,JOB_LOG_ID)
    SELECT LEVEL, SYSDATE+TRUNC(DBMS_RANDOM.VALUE(1,300)), 1 FROM DUAL CONNECT BY LEVEL <=300;
    Step 2:
    Data going to PMINVALUE partition
    INSERT INTO PP_DROP ( ESP_MESSAGE_ID, CREATE_DT,JOB_LOG_ID)
    SELECT LEVEL, SYSDATE+TRUNC(DBMS_RANDOM.VALUE(1,300)), -1 FROM DUAL CONNECT BY LEVEL <=300;
    Now the question is how to truncate the data that is present only in the Positive partitions subpartition
    Like in the PMAXVALUE partition I have 10 subpartitions and I need to truncate the data in the JAN MONTH Partition only of the PMAXVALUE partition.
    Appreciate your valuable response.
    Thanks,
    MK.

    For future reference:
    http://www.morganslibrary.org/reference/truncate.html
    The library index is located at
    http://www.morganslibrary.org/library.html

  • Problem in truncate/drop partitions in a table having nested table columns.

    Hi,
    I have a table that has 2 columns of type nested table. Now in the purge process, when I try to truncate or drop a partition from this table, I get error that I can't do this (because table has nested tables). Can anybody help me telling how I will be able to truncate/drop partition from this table? IF I change column types from nested table to varray type, will it help?
    Also, is there any short method of moving existing data from a nested table column to a varray column (having same fields as nested table)?
    Thanks in advance.

    >
    I have a table that has 2 columns of type nested table. Now in the purge process, when I try to truncate or drop a partition from this table, I get error that I can't do this (because table has nested tables). Can anybody help me telling how I will be able to truncate/drop partition from this table?
    >
    Unfortunately you can't do those operations when a table has a nested table column. No truncate, no drop, no exchange partition at the partition level.
    A nested table column is stored as a separate table and acts like a 'child' table with foreign keys to the 'parent' table. It is these 'foreign keys' that prevent the truncation (just like normal foreign keys prevent truncating partions and must be disabled first) but there is no mechanism to 'disable' them.
    Just one excellent example (there are many others) of why you should NOT use object columns at all.
    >
    IF I change column types from nested table to varray type, will it help?
    >
    Yes but I STRONGLY suggest you take this opportunity to change your data model to a standard relational one and put the 'child' (nested table) data into its own table with a foreign key to the parent. You can create a view on the two tables that can make data appear as if you have a nested table type if you want.
    Assuming that you are going to ignore the above advice just create a new VARRAY type and a table with that type as a column. Remember VARRAYs are defined with a maximum size. So the number of nested table records needs to be within the capacity of the VARRAY type for the data to fit.
    >
    Also, is there any short method of moving existing data from a nested table column to a varray column (having same fields as nested table)?
    >
    Sure - just CAST the nested table to the VARRAY type. Here is code for a VARRAY type and a new table that shows how to do it.
    -- new array type
    CREATE OR REPLACE TYPE ARRAY_T AS VARRAY(10) OF VARCHAR2(64)
    -- new table using new array type - NOTE there is no nested table storage clause - arrays stored inline
    CREATE TABLE partitioned_table_array
         ( ID_ INT,
          arra_col  ARRAY_T )
         PARTITION BY RANGE (ID_)
         ( PARTITION p1 VALUES LESS THAN (40)
         , PARTITION p2 VALUES LESS THAN(80)
         , PARTITION p3 VALUES LESS THAN(100)
    -- insert the data from the original table converting the nested table data to the varray type
    INSERT INTO PARTITIONED_TABLE_ARRAY
    SELECT ID_, CAST(NESTED_COL AS ARRAY_T) FROM PARTITIONED_TABLENaturally since there is no more nested table storage you can truncate or drop partitions in the above table
    alter table partitioned_table_array truncate partition p1
    alter table partitioned_table_array drop partition p1

  • Truncating first partition created for table partitioned by INTERVAL

    Hi,
    I have a table created with interval partitions.
    When I truncate the partitions, I am unable to truncate the very first partition created on the table. How can I do this?
    Thanks.

    >
    When I truncate the partitions, I am unable to truncate the very first partition created on the table
    >
    I'm going to assume you mean DROP and not TRUNCATE and are getting thel following error when you try to DROP the very first partition
    >
    ORA-14758: Last partition in the range section cannot be dropped
    >
    Interval partitioned tables have one or more RANGE partitions and zero or more INTERVAL partitions. The boundary between the LAST range partition and the FIRST interval partition is known as the transition point.
    As the error message states you cannot drop the sole remaining RANGE partition that is below the transition point.
    You have to move the transition point by merging the last remaining RANGE partition and the first INTERVAL partition. Since dropping a partiton means you no longer want the data you would normally truncate the range partition prior to the merge to minimize the amount of undo and redo that will be generated by the merge.
    See this article for an example of how to 'move' the transition point to effectively drop the last remaining RANGE partition.
    http://prutser.wordpress.com/2010/01/11/dropping-interval-partitions/

  • How to use Oracle partitioning with JPA @OneToOne reference?

    Hi!
    A little bit late in the project we have realized that we need to use Oracle partitioning both for performance and admin of the data. (Partitioning by range (month) and after a year we will move the oldest month of data to an archive db)
    We have an object model with an main/root entity "Trans" with @OneToMany and @OneToOne relationships.
    How do we use Oracle partitioning on the @OneToOne relationships?
    (We'd rather not change the model as we already have millions of rows in the db.)
    On the main entity "Trans" we use: partition by range (month) on a date column.
    And on all @OneToMany we use: partition by reference (as they have a primary-foreign key relationship).
    But for the @OneToOne key for the referenced object, the key is placed in the main/source object as the example below:
    @Entity
    public class Employee {
    @Id
    @Column(name="EMP_ID")
    private long id;
    @OneToOne(fetch=FetchType.LAZY)
    @JoinColumn(name="ADDRESS_ID")
    private Address address;
    EMPLOYEE (table)
    EMP_ID FIRSTNAME LASTNAME SALARY ADDRESS_ID
    1 Bob Way 50000 6
    2 Sarah Smith 60000 7
    ADDRESS (table)
    ADDRESS_ID STREET CITY PROVINCE COUNTRY P_CODE
    6 17 Bank St Ottawa ON Canada K2H7Z5
    7 22 Main St Toronto ON Canada     L5H2D5
    From the Oracle documentation: "Reference partitioning allows the partitioning of two tables related to one another by referential constraints. The partitioning key is resolved through an existing parent-child relationship, enforced by enabled and active primary key and foreign key constraints."
    How can we use "partition by reference" on @OneToOne relationsships or are there other solutions?
    Thanks for any advice.
    /Mats

    Crospost! How to use Oracle partitioning with JPA @OneToOne reference?

  • How to accelerate by partitioning drives & how to distribute data among 'em

    Dear forum,
    I have read guide to storage acceleration and guides to phototoshop acceleration, but they always warn that the best solution depends on the work i do, the hardware i have, and the hardware i think i can afford to buy. I'm hoping that if i tell you what photoshop work i do, what hardware i have, and what hardware i'm intending to buy, you can tell me how to accelerate by partitioning my drives and how to distribute data among them. My biggest questions are about how big the volumes should be, and what should go on each volume. It sounds vague here, but I get more specific below:
    THE PHOTOSHOP WORK I DO:
    *wet-mount raw scans of 6x7 cm film using silverfast software on microtek artixscan 120tf 4000dpi scanner: resulting 16-bit TIFF file is typically 550 MB in size.
    *working in Photoshop CS2 on same file, adding multiple layers makes file 1 GB to 1.4 GB in size
    *my system's limitations show up most painfully when I OPEN a file (this can take five minutes) SAVE a file (this can take more than ten minutes!), when i FLATTEN the image's layers for printing (this can take 5 minutes), and when i CONVERT the file from 16-bit to 8-bit (this can take 5 minutes). most other operations in Ps CS2 are fast enough (not snappy, but fast enough) for me to stay with my current processor for the time being.
    THE HARDWARE I HAVE:
    *Power Mac G5 dual 1.8GHz, made in 2004, with only 4 slots for RAM (not 8 slots).
    (I'm told this has quite limited bus speed, as compared with other dual-processor G5s, and that this hardware will not benefit much at all from adding a RAID array.)
    *one internal seagate 80GB 7200rpm SATA drive. this is half-full (it has 39 GB on it): it holds my OS and my Users folder, but NOT my photoshop image files.
    *one internal Western DIgital 400 GB 7200rpm SATA drive. this holds my photoshop image files, but not my user folder.(This WD drive turns out to cause the G5 to hang up occasionally, requiring a re-boot; to avoid this, i recently learned, i can connect it with a host card adapter [see below].)
    *two 500 GB external firewire drives
    *two 300GB external USB drives
    *I have 2.25 GB of RAM, but I'm about to buy 2 more GB to max out at 4GB.
    THE HARDWARE I'M INTENDING TO BUY:
    *2GB of RAM, of course.
    *two Hitachi T7K500 500 GB SATAII HD 16MB Cache 7200rpm drives to occupy both internal drive slots in the G5
    *a 2-drive external enclosure to hold my old seagate 80GB drive and my old WD400GB drive.
    *a seritek host card adaptor for connecting the external enclosure to the G5.
    THE PLAN:
    What follows is a combination of suggestions I have received about what I could do and my speculation about how I could do it. Please see my Questions, embedded in the lines below: I'd be very grateful for any amendments or directions you can offer on this topic.
    Drive A: first newly internal Hitachi 500GB drive:
    partition into 2 volumes:
    first (faster) volume, "volume A1," of 100GB to hold OS and Users folder but NOT photoshop image files.
    (Question: how much space should I leave free on volume A1 for optimum performance? is 50% free of 100GB optimal? is 60% free of 100GB better? Is 50% free of 150GB better still? or does that cut into the other volume's space too much (indirectly cutting into the space of "volume B1" on Drive B, which is to be the WorkDisk/ScratchDisk)?
    second (slower) volume, "volume A2" of remainder GB (almost 400GB) as backup for 400GB "volume B1" of the OTHER internal Hitachi Drive, a.k.a. Drive B.
    Drive B: second newly internal Hitachi 500GB drive:
    partition into 2 volumes:
    first (faster) volume, "volume B1" of almost 400GB as designated WorkDisk/ScratchDisk for large photoshop image files;
    second (slower) partition "volume B2" (exactly 100GB) as backup for 100GB volume 1 (OS volume) of the OTHER internal Hitachi Drive, a.k.a. Drive A.
    (Question: how much space should I leave free on this WorkDisk/ScratchDisk for optimum performance? is 50% free of almost 400GB optimal? is 60% free of almost 400GB better? Is 50% free of 300GB just as good, with the additional advantage of indirectly allowing "volume A1" on Drive A to be 150+GB?
    Drive C: old Seagate 80GB drive, in external enclosure: disk designated for running the Photoshop Application? How would I set this up? any pitfalls to watch out for? should i partition this drive, or leave the whole thing for Photoshop? or is it better to run photoshop off Drive D?
    Drive D: old WD 400 GB Drive: second scratch disk? Storage disk? Both storage and scratch disk? how large should an empty volume on this disk be in order to be useful as a scratch disk? volume 1 or volume 2? if i run the Photoshop Application off of this drive, how large should the volume for that be? should it be volume 1, the faster, outside volume, leaving volume 2 for scratch disk space? or vice versa?
    External Firewire and USB drives: i guess i'll just use them for storage/archiving and extra backup? or am i much safer buying more SATAs and Enclosures? or are the external firewire and USB drives plenty safe (so long as i double-back up), since i'll only power them up for the data transfer, and then power them back down?
    Given that the large Photoshop files are not in my User folder, does it matter whether i keep the User folder (with its MS Word docs and a bunch of PDFs and so on) on my OS volume, "volume A1"? would it speed things up when I'm using photoshop if i moved the Users folder to another drive? what if i'd like to play iTunes while also working on photoshop? my iTunes music folder (with all the song data) is already on an external firewire drive. but the iTunes Library and iTunes application are, of course, in my User folder, which is on the OS drive. would moving the Users folder to another drive make much difference when i use photoshop and iTunes simultaneously?
    But I wonder whether it makes sense to be using volume A2 on Drive A as a backup drive: wouldn't it make more sense to back up my working files to two external drives that can be traded out, one on-site and one off-site, back and forth (not so convenient when one of the backup drives is internal!)? and after all, why would i devote a 400GB volume to the task of backing up another 400GB volume that will never be more than half full? I need to leave a WorkDisk/ScratchDisk half empty for efficient use, but i can back up that 200GB of working files on a 200GB volume, right? so for a backup drive, I might as well use a slow, inexpensive external USB drive that will only be tuned on for backup and will then stay powered off, a drive that's easily transportable on and off site, right? or am i misunderstanding something?
    by the way, what backup software do you recommend for backing up back and forth between Drive A and Drive B? I've been using Carbon Cpy Cloner. do you recommend that? or something that does more archiving of progressive states of data?
    Thank you for any help you can offer!
    Sincerely,
    Mark Woods
    Dual 1.8 GHz PowerPC G5 (2.2), 512 KB L2 Cache per CPU, w/ 4 RAM slots   Mac OS X (10.3.9)   2.25 GB DDR SDRAM (2x128MB plus 2x1GB)

    Crossposted: Re: How to use Oracle partitioning with JPA @OneToOne reference?

  • I need to run a map against a particular dataset  - how can i do it in OWB

    Hello again :)
    I need to run a map against table on a particular dataset (WHERE clause) - how can i do it in OWB?
    The map is loading data from table A into table B (doing all sorts of wierd and wonderful things in between). Now table A had more (a lot more) data added which i have to load into table B.
    How can i modify my map so that it only runs agains this newly added data (normally i would do a where clause).
    i cannot find how to do it in OWB :(
    The map i am runnig is fairy complex so i didn't really want have to create another table/view of the data i need then remap in all etc.
    Any ideas would be greatly appreciated.
    thank you very much
    Kind Regards
    Vix

    Hello AP
    Well that is the thing - records are constantly added to table A all the time and then undergo tramsformations and loaded into table B. What i want to do is somehow indicate in the the map to only run agains records that have beed added (colmn2 = 'value').
    At the moment i created a view for the desired dataset (colm2 = 'value') and remapped everything. But it is a bit of a pain:
    1) there are a lot of functions and each takes a number of columns (i have some functions taking up to 6 diff columns)
    2) i have data loaded to table A all the time and i need to then transform and load it to table B. so i try to aviod doing the whole re-mapping thing all the time.
    In TOAD it would be a simple statment 'where colm2 = 'value' and all my functions will be run agains those records that satisfy the condition. How can i do it in OWB?
    If i use filter - i would have to use 'mid' table where filtered records will be loaded and from that use 'mid' table as table A in the map. does this make sense?
    the main disadvantage is the performance - moving data from one table to 'mid' table etc.
    I tried using conditional load filter and it still doesn't do what i want.
    After trying diff options i decided to ask people here about it. The only thing i have left to try is to ask Oracle support. I am sure it would be a 'user knowledge' as i am sure this functionality exist i just can't find any references to it.
    Thank you very much for all your help. In fact this forum helped me a lot with a number of other issues :)
    i just feel like a lemon coz it is very simple thing and i can't find how to do it...
    Kind Regards

  • How to format boothcamp partition

    I have iMac (Snow leopard OS) and a friend set up a partition and installed Windows but after years I realized I don't need it.
    Is there anyway to format this partition so I can use it as another drive and can be browse from Mac OS?
    This is my first Mac, I don't know how to manage the partition and I don't want to format the whole computer.
    Thx

    Use Boot Camp Assistant. Select the menu option to remove Windows and return the drive to a single OSX partition. Do not use Disk Utility, it will mes up your drive and you will need to reinstall OSX. Make a backup of your data before you start.

  • How big of a partition do I need?

    How Big of a partition do I need for Windows XP? And to be able to run visual Basics program? And other applications for school purposes?

    Why not look at how much you have free first? too many people end up redoing partitions because it is never "exactly perfect."
    Also, if later you update to SP3 you need x amount of free space.

  • How big of a partition do I need for windows Xp?

    How Big of a partition do I need for Windows XP? And to be able to run visual Basics program?

    Nobody can answer that question with any certainty because we don't know your computing needs and what specific apps you're going to isntall.
    Regardless, this forum is for the troubleshooting the installation of OS X, not Boot Camp, and you'll probably want to post your question over in the Boot Camp forums:
    http://discussions.apple.com/category.jspa?categoryID=237

  • How to remove a partition of my hard drive

    I have an old 2007 HP Pavilian DV6000 series with Windows Vista. At some point, one of my husbands friends had the bright idea to partition the hard drive and put Linux (Ubuntu) operating system on my laptop. I haven't used this laptop in a few years now because once he did that the laptop has been screwy ever since. I want to remove that OS and remove that partition. I don't have a recovery disc to do a factory reset, I've tried that and I've tried restoring to early point and nothing is working. So how can I un partition that part of the hard drive and remove that horrible OS?? Vista is still on there and I can still access Windows, but I just want my computer back to how it should be. Thanks!

    Hi 
    Welcome to the Forum please try these steps given below this might help you to fix your issue.
    Disclaimer
    You are using this guide at your own risk. I don't take any responsibility for any problems.
    Important information
    Please create a set of recovery discs, Windows Vista or Linux System Repair Disc and back up all important data before you will do anything.These steps will save you a lot of troubles if something will go wrong.
    Table of Contents:
    A How to use the guide
    B Basic information which you need to know
    C Our problem
    D Possible solutions to the problem
    E Pros and cons
    F Convert the C partition
    G Remove the HP_TOOLS partition
    H Remove the RECOVERY partition
     I  Remove the SYSTEM partition
    J  FAQ
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • How to create recovery partition in new(changed) HDD.

    my new HP pavilion g4 laptop HDD have crased, then I replce it by HP care. I upload original win 7 by recovery disk(DVD) but when I open my computer it shows only one partition (C drive, there is no recovery partition and HP tool.
    So how to creates recovery partition by recovery disk(DVD)...........please help me.

    Creating the recovery partition
    Right-click the start orb, and start 'Disk Management'.
    Shrink the C: drive by let's say 20-30GB.
    Then create a new Partition and assign the R: label to it and name it RECOVERY.
    Then open command prompt as administrator and type: 'recimg /createimage <directory>',
    In this case: 'recimg /createimage R:\' to save it on the new partition.
    This step may consume a lot of time.
    Now we need to register the newly created recovery image: 'recimg /setcurrent <directory>'
    'recimg /setcurrent R:\'
    Voila you are done.
    Restoring from recovery partition
    You may want to use this restoring method by default, because it is the easiest way to do so if your recovery partition is still intact. If not, look at the other recovery methods to see which suits you best. This is usually the way you reset or refresh your Windows installation if you purchase a computer from a brand like Lenovo instead of building one yourself
    Press the Windows-key + C to open the charms bar or swipe in from the right.
    Click Settings.
    Click Change PC Settings.
    Click Update & Recovery in the menu on the left.
    Click Recovery.
    If all your documents are safe and sound in your user folder, you can use Refresh your PC without affecting files. However I still recommend taking a back-up... If you want to do a complete reinstallation of Windows and also clean your user folder in the process then choose Remove everything and reinstall Windows.

  • How to create GPT Partition for onekey recovery windows8

    Plz any one can help me.....
    i have purchased laptop last week with following configurations:
    Lenovo  G510 i5 2.5ghz with windows 8 and OneKey recovery feature.
    My laptop was with windows 8 but i upgrade my hard drive 500 GB to 1 TB.
    But now i am unable to recover my windows8 image by using OneKeyrecovery (novo).
    So plz help me how to craete GPT partition style that will support for onekey recovery and recover Windows 8 image that is in my external hard drive.
    Please send me the complete procedure to create GPT partition style supported for onekey recovery.
    Also solve the following questions plz.
    1. How to create GPT partition style supported for onekey recovery?
    2. Total Number of partitions and their actual sizes.
    3. Size of C:
    4. Size of D:
    5. Size of recovery partition
    6.Size of all partitions
    Plz reply me at: ********@yahoo.com
    Regards: Aamir
    Moderator note: email address removed to keep away from the spambots.
    Solved!
    Go to Solution.

    Dear Customer
    Welcome in lenovo community
    Please use the below link to download and install the Lenovo Recovery application so that you can do what you looking for 
    Link : http://support.lenovo.com/en_US/downloads/detail.page?DocID=DS035708
    Thanks
    Alaa
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How to truncate the Dimensions: ORA-02266

    I simply want to truncate the dimensions of star schema.
    First I truncate the fact table with Sql, that works.
    Then truncating a dimension fails with this error:
    Truncate table fcDwh.DIM_DEPS
    Error report:
    SQL Error: ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    02266. 00000 - "unique/primary keys in table referenced by enabled foreign keys"
    *Cause:    An attempt was made to truncate a table with unique or
    primary keys referenced by foreign keys enabled in another table.
    Other operations not allowed are dropping/truncating a partition of a
    partitioned table or an ALTER TABLE EXCHANGE PARTITION.
    *Action:   Before performing the above operations the table, disable the
    foreign key constraints in other tables. You can see what
    constraints are referencing a table by issuing the following
    command:
    SELECT * FROM USER_CONSTRAINTS WHERE TABLE_NAME = "tabnam";
    If the fact table is already empty, I don't violate any foreign key constraint.
    Or am I wrong with this?
    The constraints below:
    OWNER CONSTRAINT_NAME CONSTRAINT_TYPE TABLE_NAME SEARCH_CONDITION R_OWNER R_CONSTRAINT_NAME DELETE_RULE STATUS DEFERRABLE DEFERRED VALIDATED GENERATED BAD RELY LAST_CHANGE INDEX_OWNER INDEX_NAME INVALID VIEW_RELATED
    FCDWH SYS_C0019008 C DIM_DEPS "DIMENSION_KEY" IS NOT NULL ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED GENERATED NAME 07-SEP-07
    FCDWH DIM_DEPS_DIMENSION_KEY_PK P DIM_DEPS ENABLED NOT DEFERRABLE IMMEDIATE VALIDATED USER NAME 07-SEP-07 FCDWH DIM_DEPS_DIMENSION_KEY_PK

    Try using NumberFormat class:
    NumberFormat currency = NumberFormat.getNumberInstance();
    currency.setMinimumFractionDigits(2);
    currency.setMaximumFractionDigits(2);
    String s = currency.format(anyFloatValue);
    ..

Maybe you are looking for

  • How can I change the application default template

    Hi! If I go to Application Shared Components | Definition | Template Defaults I can see the default page template used by my application. One would think that this is the place to change the default template if wanted to change it, but NOOOOOOO..., l

  • Problems creating free PDF

    I uploaded 2 Word 2002 files my Acrobat.com account. I have tried several times to convert them to PDF and I keep getting this in the lower left corner: The file could not be converted to PDF.:PDF conversion failed. Please try again later. Am I doing

  • I don't understand SUP-to-client assigment

    Hi everyone, I have one SCCM Primary site - P01 - with 2 Distribution points in 2 AD sites - SITE01 and SITE02. Both distribution points have SUP role installed. The primary site server, P01, belongs to SITE01. The first DP, DP01, belongs to SITE01,

  • Why pages/keynote/number are not free for my iPad AIR?

    Hi I just bought iPad air on 1st November 2013. Why I can't download free apple app pages/keynote/numbers? Apple had announce free for new device.

  • While creating proxie asking for transport Request/task...

    Hi Experts, This is the first time i am creating proxies. When i entered Spoxy transaction  and trying to activate the proxie its asking for package name,Prefix and Transport (Request/Task) . The transport request shouild be created by network people