How to change the PARTITION(P#) is replace of PYYMMDD format

hi
hi everybody, i am developing the appl is used to jsp and oracle.. i need to change # is replace of YYMMDD format in oracle.. i want to display the partition wise data (like p070220) based on the query..
how can you change the query (p#, p070220)....
pls find the above code..
Table Names(1): select * from imis_p3_report
Fields: mis_rep_id, mis_rep_name, query_description
EX: LPP0159,Deativations thru 152 Short code, SELECT
TO_CHAR(CALL_DATETIME,'DD-MON-YYYY') DEACTIVE_DATE, TIME, SUBSTR(CV1,3,10) MSISDN,SUBSTR(CV2,3,10) DEALER_NUMBER,CV3 PRODUCT_CODE,CV4 SYS_STATE, TO_CHAR(TO_DATE(CV5,'YYYYMMDD'),'DD-MON-YYYY') CREATE_DT,CV6 SERVSP_ID,CV7 DEALER_CODE,CV8 ZONE_DEALER FROM DAILY_IN_DUMP PARTITION(P#) WHERE
Upper(Nodelabel)='ID_DEACTIVATION' 2) select * from imis_p3_controls Fields:mis_rep_id, condition_id, control_type, control_label, control_content, default_value
EX: LPP0159, 1, DTP, FORDATE
COntrol_types like DTP, COMBOBOX, LISTBOX, RADIO
3) select * from imis_p3_conditions
Fields: mis_rep_id, control_id, condition_id, query
ex: LLP0159, 4, 2, select
TO_CHAR(TO_DATE('#','DD/MM/YYYY'),'YYMMDD') DT from dual
Condtion_id: 0,1,2,3,4,5..
i want to change the PARTITION(P#) replace to p070220 format
please help me....
Kalyani

Hi there Luke. Thanks for the answer but it has bred a new problem as good as it was. I've shrunk the second volume (E) down to 20GB exactly, however there is now around 53gb of unallocated space. When I right click on the C partition the option for extending is greyed out and it wont let me allocate the 53gb to it.
Any ideas on why this might be?
Wish I knew more about computers! :(

Similar Messages

  • How to change the partition type on a table with data

    Hi
    I have a table, which is partitioned by list on date column. The table contains large volume of data.
    My requirement is to make the list partition into range on the same date column.
    I am working on Oracle10g
    Kindly advice

    partitioned by list on date How many distinct DATE values do you have ? Each DATE value would be a Partition in List Partitioning.
    Why do you need to convert this to RANGE Partitioning ? How many DATE values do you expect in the table in the future ?
    You can use DBMS_REDIFINITION to copy a LIST Partitioned Table to a RANGE Partitioned Table and then switch the tables at the end.
    See examples (where the source table is not partitioned)
    http://www.oracle-base.com/articles/misc/partitioning-an-existing-table.php
    http://uhesse.com/2010/02/15/partitioning-a-table-online-with-dbms_redefinition/
    But before converting I would justify why a LIST Partitioned Table be converted to RANGE Partitioned. Do you have Date-Range queries ?
    Hemant K Chitale
    Edited by: Hemant K Chitale on Mar 15, 2013 2:11 PM

  • HT1338 how to change the partition of bootcamp

    I install bootcamp for windows 7, now i find i need a biger partition

    Not at all easy. Once Windows has been installed, it will always want to take up the same amount of space when restored.
    Winclone is the only app I know of that can accomplish a resize of an installed Windows partition. I've used it to shrink my Win 7 install from 300 GB to a 50 GB partition.
    Instructions here. You will of course first need to purchase Winclone. Make sure to back up everything first, including making your initial backup of your Windows partition with Winclone.

  • I have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?

    i have recently had my hard drive replaced due to a fault whilst in Germany working. Happy with the replacement, however when i go to log on as a user that screen is in German? Any idea how to change the language?

    Greetings Lex,
    Kind of you to comment ... but you are also adding years to my signature!   I know I'm 76 but I don't want to think about it. 
    Regards  71.

  • Hi my name is Vajra from INDIA, i am using ipod shuffle 3rd generation but it is not working properly due to battery problem, i need to change the battery please guide me how to change the battery or any chance to replace the ipod shuffle 3rd generation ?

    Hi my name is Vajra from INDIA, i am using ipod shuffle 3rd generation but it is not working properly due to battery problem, i need to change the battery please guide me how to change the battery or any chance to replace the ipod shuffle 3rd generation ?

    Seems no one care about us .no one replied till no@!!!!@ strange

  • How do I change the partition scheme to use GUID partition Table.

    How do I change the partition scheme to use GUID partition Table so I can get Snow Leopard to download on my 10.5 disk.
    When I insert the disk it asks me to select  the disk where you want to install MAC OS X.It only give me one option the 10.5.
    when I click on it it says...
    "10.5" can't be used because it doesn't use the GUID Partition Table scheme.
    Use Disk Utility to change the partition scheme.  Select the disk, choose the Partition tab, select the Volume Scheme and then click Options. 
    I tried to do what it says and I can not find what it is saying.  This is the info about my MacBook.
    Model Name: MacBook
      Model Identifier: MacBook4,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.4 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 3 MB
      Memory: 4 GB
      Bus Speed: 800 MHz
      Boot ROM Version: MB41.00C1.B00
      SMC Version (system): 1.31f0
    Thank you for your help!

    The GUID partition option is one of three possible choices (click the "Options" button in the Partition") menu - be careful to have a full backup as changing the partition scheme will force an erasure on the disk. Take a look at this Apple support article for more complete information:
    Firmware updates for Intel-based Macs require a GUID partition scheme - Apple Support
    Ignore the stuff about firmware updates and just look at the changing GUID partition scheme.
    Good luck - and don't forget about the full backup BEFORE making this sort of change.

  • How to change the default element tag using dbms_xmlgen

    here is my code that generate output for purchase order data. I followed the syntax shown in xml db developer guide.
    I am getting the results but element tags are CAPS letters( As the coloumn names in the type defenitions are stored in CAPS in Oracle). but I need to show in small letters as per my requirement.
    can anyone help me how to change the default tag names for elements.
    ==================================HERE IS THE CODE==================
    DECLARE
    qryCtx DBMS_XMLGEN.ctxHandle;
    result CLOB;
    BEGIN
    qryCtx := DBMS_XMLGEN.newContext
    ('SELECT PODL_H_T
    ( CLOSEDDATETIME ,
    COMPANY ,
    CAST(MULTISET
    (SELECT LINENUMBER ,
    COMPANY ,
    PURCHASEORDERID ,
    ITEM ,
    QUANTITYUM ,
    TOTALQUANTITY
    FROM cpo_wms_podl_LINES
    WHERE PURCHASEORDERID = PH.PURCHASEORDERID) as PurchaseOrderDetailList
    FROM cpo_wms_podl_HEADERS PH ');
    -- now get the result
    DBMS_XMLGEN.setRowSetTag(qryCtx, 'Receipts' );
    DBMS_XMLGEN.setRowTag(qryCtx, 'PurchaseOrder' );
    result := DBMS_XMLGEN.getXML(qryCtx);
    INSERT INTO temp_clob_tab VALUES (result);
    DBMS_XMLGEN.closeContext(qryCtx);
    END;
    -- select * from temp_clob_tab
    ===========create type script=====================
    cpo_wms_podl_HEADERS
    CREATE or replace TYPE PurchaseOrderDetail AS OBJECT(
    LINENUMBER VARCHAR2(400 BYTE),
    COMPANY VARCHAR2(400 BYTE),
    PURCHASEORDERID VARCHAR2(400 BYTE),
    ITEM VARCHAR2(400 BYTE),
    QUANTITYUM VARCHAR2(400 BYTE),
    TOTALQUANTITY NUMBER
    create type PurchaseOrderDetailList as table of PurchaseOrderDetail
    create table temp_clob_tab(result CLOB)
    create type podl_HEADERS_list_t as table of podl_HEADERS_t
    CREATE or replace TYPE PODL_H_T AS OBJECT
    CLOSEDDATETIME DATE,
    COMPANY VARCHAR2(400 BYTE),
    CREATEDDATETIME DATE,
    PURCHASEORDERID VARCHAR2(400 BYTE),
    SHIP_TO VARCHAR2(400 BYTE),
    linelist PurchaseOrderDetailList
    )

    but I need to show in small letters as per my requirement.add alias column names in double quotes as in
    SQL> select dbms_xmlgen.getxmltype('select dname "DeptName", loc "Location" from dept') dept_xml from dual
    DEPT_XML                                                                       
    <ROWSET>                                                                       
      <ROW>                                                                        
        <DeptName>ACCOUNTING</DeptName>                                            
        <Location>NEW YORK</Location>                                              
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>RESEARCH</DeptName>                                              
        <Location>DALLAS</Location>                                                
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>SALES</DeptName>                                                 
        <Location>CHICAGO</Location>                                               
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>OPERATIONS</DeptName>                                            
        <Location>BOSTON</Location>                                                
      </ROW>                                                                       
      <ROW>                                                                        
        <DeptName>SALES</DeptName>                                                 
        <Location>MUNICH</Location>                                                
      </ROW>                                                                       
    </ROWSET>                                                                      
    1 row selected.

  • How to change the characteristics of a Batch

    Dear All,
    We have maintained a batch sort sequence based on Batch Manufacturing date.
    But now customer wants the batch to be sorted out based on Batch Number.
    How to change the Characteristics from Batch Manufacturing date and Batch Number?
    Please do suggest.
    For example, we have two characteristics assigned to the Class One is Manufacturing date and another is Batch Number.
    How system will sort out a batch based on these two logic.
    Kindly explain.
    Regards,
    Mullairaja

    Hi Mullai,
    I hope you know what do you mean by "Dependencies" in variant configuration. These are created for automatic update of characteristic values.  If you want to delete the characteristic from the class, please do teh following.
    1. Find out that there are any dependencies assigned to this characteristic. If so remove the assignment
    2. Then you have to check if this characteristic is used in any dependency in the code. If so, find the implications of the same.
    In case, you dont know what is dependency, may be they are not used in your project. In this case, you can just remove the characteristic from the class.
    It has got one effect.
    At present, a configured batch will have this characteristic. If you go to the batch master in change mode, then the old classification will be replaced by the new classification. So the deleted characteristics will not be available to you anymore. I hope that is fine with you. If this is fine, then you dont need to worry about removing the characteristic from the class.

  • How to change the year in a range of column dates to the new year?

    How to change the year in a range of column dates to the new year?

    Depends on the pattern of the dates. The last procedure will work for any pattern, or no pattern at all.
    For examples.the dates are assumed to be in column A, starting at A2
    Sequential dates?
    Enter first updated date in the first cell.
    Enter =A2+1 in cell A3. Copy the cell.
    Select A3 to the end of the list. Paste.
    With the cells still selected, Copy, then go Edit > Paste Values.
    Evenly spaced dates?
    Same procedure as above, but replace +1 in the formula with + and the number of days between dates in the list.
    Randomly spaced dates?
    Select cell B2. Press option-left arrow to insert a (temporary) column to the left of column B.
    Click on the empty cell B2 in the new column. Enter the formula below:
    =DATE(YEAR(A)+1,MONTH(A),DAY(A))
    Copy the cell, then select B2 - Bn where n is the last ow containing a date to be converted. Paste,
    With the cells still selected, Copy.
    Click on A2, then go Edit > Paste values.
    Click on the column B reference tab to select all of column B.
    Hover the mouse over the right end of the reference tab, and click the black triangle when it appears.
    Choose Delete Column from the menu that appears.
    Regards,
    Barry

  • How to change the size of control´s prompt?

    No matter the size of data to be displayed in the view suface prompt, the controls have the same size.
    Does anyone here know how to change the size of control in surface prompt?

    HI,
    In order to change the size of a radio button... one way you may consider is to Customise the Radio Button.
    Place a Radio Button (RB) on the FP of a VI, Right-Click the RB > Advanced > Customise...
    Click the Mode Button (most Left button) for Edit Mode
    Right-click the radio button (the round image) now, you will see a list of actions i.e. Copy to clipboard, import picture ...You will see Four images under the 'Picture Item', those are the images that you will need to replace.
    Prepare Four Images of the similar but larger expected size
    *** Copy the 1st new image to clipboard. Back to the Picture Item and select 1st image. Then, select Import Picture (to replace the existing image)
    Repeat *** for all four images.
    Once done, change the mode back to original. Save the *.ctl
    You are now ready to use the customised radio button!
    Quick sample attached (sorry for the poor images created )
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    IFK_RButton_Large.ctl ‏11 KB

  • How to change the Hello Portlet in Jetspeed2 Demo

    hi ppl,
    I am having a big problem..
    I can't change the portlet title, hello portlet, in the jetspeed 2 demo.
    The strange things is that i am able to change the title of the pickANumber portlet.
    @ Portlet.xml
    <portlet id="PickANumberPortlet">
    <init-param>
    <name>ViewPage</name>
    <value>/WEB-INF/demo/simple/PickANumber.jsp</value>
    </init-param>
    <init-param>
    <name>HelpPage</name>
    <value>/WEB-INF/demo/simple/PickANumberHelp.jsp</value>
    </init-param>
    <init-param>
    <name>EditPage</name>
    <value>/WEB-INF/demo/simple/PickANumberEdit.jsp</value>
    </init-param>
    <portlet-name>PickANumberPortlet</portlet-name>
    <display-name>Pick a number game</display-name>
    <portlet-class>org.apache.jetspeed.demo.simple.PickANumberPortlet</portlet-class>
    <expiration-cache>-1</expiration-cache>
    <supports>
    <mime-type>text/html</mime-type>
    <portlet-mode>VIEW</portlet-mode>
    <portlet-mode>HELP</portlet-mode>
    <portlet-mode>EDIT</portlet-mode>
    </supports>
    <supported-locale>en</supported-locale>
    <supported-locale>fr</supported-locale>
    <supported-locale>ja</supported-locale>
    <resource-bundle>org.apache.jetspeed.demo.simple.resources.PickANumberResources</resource-bundle>
    <portlet-info>
    <title>Change TITLE</title>
    </portlet-info>
    <portlet-preferences>
    <preference>
    <name>TopRange</name>
    <value>100</value>
    </preference>
    </portlet-preferences>
    </portlet>
    See.. i just replace that data in the portel-info/title.. and it changes the title in the pickANumber portlet change..
    But strange! i can't do the same way for the hello portlet
    Can someone tell me how to change the title in the hello portlet...
    Pls help.. i am running out of time!

    The hello portlet uses the title string in property file, thus you may need to modify the file "demo\WEB-INF\classes\org\apache\jetspeed\portlet\helloworld\resources\HelloWorldResources_en.properties" to change its title.

  • How to change the defaultCellEditor to a JFileChooser

    i am currently making a table that require input of a file name. for the sake of easy use, i plan to use fileChooser to replace default hardcode editor. when the user click on a cell, fileChooser (my CellEditor) will popup automatically to prompt user to choose a specific file type. As the topic, i am not quite sure how to change the defaultCellEditor to implement as a JFileChooser. So can anyone help me a bit, thx a lot!!!

    i am currently making a table that require input of a
    file name. for the sake of easy use, i plan to use
    fileChooser to replace default hardcode editor. when
    the user click on a cell, fileChooser (my CellEditor)
    will popup automatically to prompt user to choose a
    specific file type. This is covered in the Java Tutorial.
    http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#editor

  • How to change the path of sysprep files that were copied to reference computer when i capture the image from reference.

    Dears ,,
    how to change the path that sysprep were copied to reference computer when i capture the image from reference.
    Should i modify some codes in LTIAPPLY.wsf? how to modify it?
    Thanks.

    Sysprep and capture has *Three* steps.
    1. Run sysprep on the local machine (easy).
    2. Copy WinPE down to the local machine so we can reboot into winpe for capture.
    3. Capture the drive in an *offline* state from within WinPE.
    What is most likely happening is that you are having problems with step #2. 100MB is *WAY* too small to copy down WinPE. By default MDT will make this System partition much bigger, 499MB. IF you install Windows 7 from the default media. IT will only create
    a 100MB partition.
    By default MDT 2012 Update 1 and greater *should* recover to a fallback drive with the OS on it, however if you are running older versions that might not happen correctly.
    If you are still having problems, copy your BDD.log file to a public share like OneDrive and copy the link here.
    Keith Garner - keithga.wordpress.com

  • How to change the text Transport id code in sus

    Hi,
    How to change the text Transport id code in sus while creating ASN
    Please advise.
    Regards,
    manu

    SE80---> BSP APPLICATION with SRMSUS ---> views -->asn > detail_edit.inc.->
    On the right hand side in the details ---> search for
    BBP_SUS_UI/ASN_TRANSPORT_IDENTIFICATION
    replace the above with the following
    BBP_SUS_UI/INVOICE_DOCUMENT_NUMBER
    BBP_SUS_UI/INVOICE.
    there is no entry available for invoice number , only the above two are available.
    save the changes
    activate the changes
    REWARD POINTS IF USEFULL

  • How to change the page header?

    Hi,
    I just installed and started using Plumtree 6.0 a month ago, and we are still in a trial phase for our company's portal.
    I want to change the default page header to replace Plumtree logo to my company's logo. I thought I can change it in the style sheet, but I didn't find where to change in the cssmill folder. I found an artical in edocs.bea.com saying I can modify the header by using ALI Publisher, but I don't know what's the right way to do it and faster.
    Can someone guide me how to change the page header?
    Thank you. (if this is not the correct forum to post the question, please let me know which forum should I go)

    Depends on what you want to do. Personally, I'd do a header portlet and not touch the Plumtree/BEA logos. They're likely to be overwritten when the product receives updates.
    This may seem like a lot of steps, but really - it goes quickly
    ** Think through what you want to display. If all you want to do is replace the image, but you wan to keep the overall layout style then you can create a simple replacement header
    Step 1 - create a header portlet
    =======================
    If you're using Publisher...
    =====
    * Create a new portlet - choose the Header portlet template
    * Upload your image / change the header in the rich text editor
    If you're not using Publisher
    =====
    * Personally, static HTML will do just fine - create a folder and html file called something like "mybanner/mybanner.htm" on your remote portlet server
    * Plop in an image (you'll want to swipe some adaptive tags for community and page name - can always stick those in later)
    * Create a new remote portlet web service that references this HTML page
    * Create a portlet from the web service - make sure the type is "header"
    Step 2 - turn it on
    =======================
    * Create a new experience definition (or modify default - I usually create a new one so you can move it between environments)
    * In the experience definition's "header / footer" settings area, tell the header to load from the new header portlet you created
    * If you created a custom experience definition, modify your experience rules to load this experience defiintion according to whatever parameters you think make sense (just be careful you don't knock out your login page - we usually use security groups to just say "hey - the user is logged in and is, in fact, a member of this portal - that'll still let your login pages load)
    Done
    May seem like a lot of work, but really it's just a series of simple steps. Advantage here is you can vary things as you see fit and also just feel safe that the next time Plumtree/BEA updates those imageserver files you'll be good to go. From there you can get as fancy schmancy as you like using adaptive tags, etc. Heck - make it a .NET app if you want and do some crazy personalization or something. Embed stock tickers, important news alerts, whatever.
    That help at all?
    Thanks,
    Eric

Maybe you are looking for

  • Error ,message into table

    Hi all, i am trying to put a error message into a table...any idea how i can get this without doing move 'matnr & is in error' into my table? thanx

  • SRM RFx Response - How to check if a button is clicked or not

    Hi All, This is rani.  Im very new to SAP. Im into my first project, in which im having an Immediate enhacement. In SRM Portal, I need to logged in as bidder to create a bid response. "Participate" button is there, i need to clicked that button, this

  • [Solved] Questions about Arch on T420s

    Hello everybody, I'm relatively new to Arch and switched from Ubuntu last year. Since then I've learned a lot about Linux in general due to the great documentation provided by the Arch community. I've managed to install Arch on my Thinkpad T420s with

  • Calibration tool for 24" LED Display

    Greetings, I'm currently using the 24" display with my MacBook Pro and am looking for calibration tool recommendations. I went to the Apple store and they sold me the Huey Pro from Pantone. I haven't opened it yet as I saw it had mixed reviews. It al

  • VIP is not failed over to surviving nodes in oracle 11.2.0.2 grid infra

    Hi , It is a 8 node 11.2.0.2 grid infra. While pulling both cables from public nic the VIP is not failed over to surviving nodes in 2 nodes but remainng nodes VIP is failed over to surviving node in the same cluster. Please help me on this. If we wil