Inserting blank values and retrieving blank values

I really want to Insert blank values into Oracle database,and also want to retrieve blank values from table.
When I try to insert blank values ,Its inserting null values.
I don't want to insert null for blank.
Please provide me solution for this.
Thank you

user631179, logically if you have a descrition or other printable
character column where the value is blanks you do not have a value.
The data item is logically unknown or non-existent, hence NULL.
You can assign blanks (spaces) for NULL in the querying program
like SQLPlus does on display. The Pro*C and other language tools
provides null indicator bytes for this purpose.
UT1 > l
  1  select fld1, fld2, rpad(nvl(fld4,' '),10,' '), length( rpad(nvl(fld4,' '),10,' '))
  2* from marktest
UT1 > /
FLD1             FLD2 RPAD(NVL(F LENGTH(RPAD(NVL(FLD4,''),10,''))
one                 1                                          10
TWO                 2 USER51                                   10
                    4 USER51                                   10HTH -- Mark D Powell --
Message was edited by: Mark to try to keep the test from requiring scrolling
mpowel01

Similar Messages

  • How to retrieve the procedure value and pass the value to a form field

    How to retrieve the procedure value and pass the value to a form field?

    Set property for the field and the value is the actual procedure/function.
    Cheers

  • When I start downloading apps on creative cloud with windows 7 professional 64 bit, Creative cloud blanks out and stays blank til I re-start the program. I have tried re-installing it and deleting the OMP file. What do I have to do to be able to install a

    When I start downloading apps on creative cloud with windows 7 professional 64 bit, Creative cloud blanks out and stays blank til I re-start the program. I have tried re-installing it and deleting the OMP file. What do I have to do to be able to install apps?

    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Display Report Level Filter value and Input Controls Value

    Hi,
    Please let me know how to display Report Level Filter value and Input COntrol values in the report.
    I have 2 tabs in the WebI Report. The first tab has the summary details about the other tabs like reprot desc, prompt values, reprot filter values,etc.
    In the 2nd tab I have the actual report which has input controls defined, prompt values and global level report filters.
    Can anyone please tell me how to display the Report level filter values and the Input Control values in the first tab report.
    For ex: Tab 2 has a Report level filter: Region = NA
    I need to display in Tab 1 in as Region: NA
    I used the function ReportFilterSummary but that is giving me other details, I want only the object name and the value.
    Also how to dispaly the Input Control values in the tab 1.
    Please let me know if you have any suggestions for this issue.
    Thanks

    did you try
    =ReportFilter([Year])
    if you are making report filter over the year, it will return the value of the filter
    by the way, the filter should be applied over all the report not to a specific block to be able to get the correct value
    the Input control also considered as report filter, only if you're applying them on the level of the report, if you applying an input contron over a specific block or chart, you will not get the values for ReportFilter
    good luck

  • How to get po delivered value and po invoived value?

    HI experts,
    i need to create bex query with PO total value,  PO NET VALUE Item wise, po delivered value,
    po still remaining value and po invoiced value.
    AFter extensive search i got 0net_po_val for PO net value item wise.
    Remaining 4. Fields am unable to search in bw targets. So how to proceed?? Any inputs?
    Thanx in advance.
    br,
    Ravi kiran

    Hi Ravi,
    Please find the logic for the same:
    PO Delivered Value
    EKBE (BEWTP = E and SHKZG) SHKZG = S   is positive  and
    SHKZG = H is negative.
    PO Still Remaining Value
    PO Value- PO  Delivered Value
    PO Invoiced Value
    EKBE(BEWTP = Q and SHKZG) SHKZG = S   is positive  and
    SHKZG = H is negative.

  • Keep Filter Value and Remove Filter Value

    Hi BI/BW Experts
    Can anyone explain me the concept of Keep Filter Value and Remove Filter Value in Business Explorer Analyzer and the Web Analyzer with a real time examples?
    Thanks
    BI Curious

    Hi,
    Check this links:
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/28d5be53706021e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/45/d45cdc487f6f75e10000000a1553f6/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/0b532390e96e96e10000000a11466f/frameset.htm
    Hope this helps..........
    Rgs,
    Ravikanth.

  • Retrieve data from a text file, incrementing the last value and save new value below

    Hi
    This was working initially. It is part of my LabView Project. I was trying to create a unique number that increments every time the adds the value to the list. It works on computer perfectly. But when I put this on a PDA, it seems to create a blank space when reading the contents of the text file after the last value, which means 0 + 1, which is not what I want.
    Please run the testUniqueNoOnPDA.vi first and change the path to C:\uniqueNumber.txt and save the uniqueNumber.txt file to your C drive and see What I am trying to do. Click the Enter button to increment.
    Why does the PDA create a blank space after the last value and a computer does not?
    I was working perfectly all week and it is not working well now.
    Help please, I think I'm missing something
    Attachments:
    uniqueNumber.txt ‏1 KB
    testUniqueNoOnPDA.vi ‏33 KB
    testUniqueNoOnPDA.lvproj ‏4 KB

    It works perfectly, it was a hardware problem. It depends on what PDA I used.

  • How to Store bollean selection values and retrieve them in runtime?

    I have an array of bolleans representing a channel of a device. Now , when the user turns on the channel the selected channel array are supposed to be stored. Now when the user selects device 2 (using a ring function) the list refreshes t5he channel names and resets the bollean array to their default values and the new selection values are to be stored. Now if the user wants, he should revert back to device 1 and can review what all channels he had selected for Device 1. How can this functionality be achieved?
    Labview Learner
    Attachments:
    1.PNG ‏14 KB
    2.PNG ‏14 KB

    You need to store the boolean array somewhere.  I would likely just use a shift register
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Get Old Value and the new value based on the date

    Hi
    I have a table called roster created below with following insert statements.
    CREATE TABLE ROSTER
    ROSTER_EMPLOYEE_DEF_ID NUMBER,
    EMPLOYEE_ID NUMBER,
    DEFINITION_REGION_CODE NUMBER,
    DEFINITION_DISTRICT_CODE NUMBER,
    DEFINITION_TERRITORY_CODE NUMBER,
    START_DATE DATE,
    END_DATE DATE
    INSERT INTO ROSTER
    (ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
    VALUES
    (1,299,222,333,444,'1-JUN-2011','30-JUN-2011')
    INSERT INTO ROSTER
    (ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
    VALUES
    (2,299,223,334,445,'1-JUL-2011','20-JUL-2011')
    INSERT INTO ROSTER
    (ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
    VALUES
    (3,299,224,335,446,'1-AUG-2011','30-AUG-2011')
    INSERT INTO ROSTER
    (ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
    VALUES
    (4,300,500,400,300,'1-JUN-2011','20-JUN-2011')
    INSERT INTO ROSTER
    (ROSTER_EMPLOYEE_DEF_ID,EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE)
    VALUES
    (5,300,501,401,301,'1-JUL-2011','20-JUL-2011')
    In the above table we have columns like
    EMPLOYEE_ID,DEFINITION_REGION_CODE,DEFINITION_DISTRICT_CODE,DEFINITION_TERRITORY_CODE,START_DATE,END_DATE
    The result i am looking from the above table is based on the EMPLOYEE_ID OF START_DATE AND END_DATE
    I need to get OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_CODE
    Similarly OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_REGION_CODE
    and OLD_DEFINITION_TERRITORY_CODE and the NEW_DEFINITION_TERRITORY_CODE
    I need to get one row of data for each employee saying old value and new value
    for employee 299 there are 3 records it must give the new record which is the latest date i.e start date 1-aug-2011 and end date 30-aug-2011 old record will be
    start date 1-jul-2011 and 20-jul-2011
    For the above table data i need to get the data as below
    EMPLOYEE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_CODE OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE START_DATE END_DATE
    299 223 224 334 335 20-JUL-11 30-AUG-11
    300 500 501 400 401 20-JUN-11 20-JUL-11
    Please suggest me to get the above result based on the data. Please let me know if my posts are not clear
    Thanks
    Sudhir

    SELECT  EMPLOYEE_ID,
            OLD_DEFINITION_REGION_CODE,
            NEW_DEFINITION_REGION_CODE,
            OLD_DEFINITION_DISTRICT_CODE,
            NEW_DEFINITION_DISTRICT_CODE,
            OLD_DEFINITION_TERRITORY_CODE,
            NEW_DEFINITION_TERRITORY_CODE,
            START_DATE,
            END_DATE
      FROM  (
             SELECT  EMPLOYEE_ID,
                     ROW_NUMBER() OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE DESC) RN,
                     LAG(DEFINITION_REGION_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_REGION_CODE,
                     DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE,
                     LAG(DEFINITION_DISTRICT_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_DISTRICT_CODE,
                     DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE,
                     LAG(DEFINITION_TERRITORY_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_TERRITORY_CODE,
                     DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE,
                     LAG(END_DATE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) START_DATE,
                     END_DATE
               FROM  ROSTER
      WHERE RN = 1
    EMPLOYEE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE OLD_DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE OLD_DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE START_DAT END_DATE
            299                        223                        224                          334                          335                           445                           446 20-JUL-11 30-AUG-11
            300                        500                        501                          400                          401                           300                           301 20-JUN-11 20-JUL-11
    SQL>  SY.

  • Concatenating context value and non-context value

    Hi,
    I have a context binding to one of the input field(lets say field-X) and also I have another dropdown list UI element(lets say field-Y) which is not bound to any context.  When a user enters values in field-X and selects a item from field-Y hits the save button, I need to concat "Field-X - Field-Y" and assign this concatenated value to field-X context.  So in a road-map (next screen) when I retrieve field-X context value it should have concatenated value of dropdown UI element as well.
    Where do I do this concat (I mean which method e.g. WDModify) and how do I do it?
    Thanks
    Praveen.

    Hi Praveen,
    What do you mean by field-Y is not bound to any context?? I am sure you would have atleast bound the selectedKey property of the dropdown list with some attribute of the context.
    For concatinating the fileds you have to write the code on the onAction function of Save button which is taking you to the next screen of the road map. On the onActionSave() you have to get the values of the currently selected input field and the dropdown value. Then you have to concatenate the values and set it in some attribute from where you can pick it in the next screen.
    Please use this code in onActionSave() method:
    // Get the value of the currently entered value of the input field from the attribute which is bound to the input field. I am assuming the name of the attribute as InputFiledValue
    String inpValue = wdContext.currentContextElement().getInputFiledValue();
    // Get the value of the currently selected value of the drop down field from the attribute which is bound to the drop down field. I am assuming the name of the attribute as DropDownValue
    String dropDpwnValue = wdContext.currentContextElement().getDropDownValue();
    // Concatenate with "-" in between
    String concatenatedValue = inpValue+ " - " + dropDpwnValue;
    // Set the concatenated value to a temporary attribute. This will be accessed in next view of road map.
    wdContext.currentContextElement().setConcatenatedValue(concatenatedValue);
    // OR if you want to save in same inputfield Attribute then also you can do that.
    // use the similar code as above. see this:
    // wdContext.currentContextElement().setInputFiledValue(concatenatedValue);
    Here I am assuming that the attribute which have bound to the inputfield and dropdown field are directly under the context node. If not then you have to get the values from a specific node. Do it like this:
    // Get the value of the currently entered value of the input field from the attribute which is bound to the input field.
    String inpValue = wdContext.current<NODE_NAME>Element().getInputFiledValue();
    // Get the value of the currently selected value of the drop down field from the attribute which is bound to the drop down field.
    String dropDpwnValue = wdContext.current<NODE_NAME>Element().getDropDownValue();
    In the next view you can get this concatenated value and can use whereever you want. Use following code:
    // To get the value of the concatenated string.
    String value = wdContext.currentContextElement().getConcatenatedValue();
    I hope this solves the issue. Please revert back in case you need any furtehr help on this.
    Thanks and Regards,
    Pravesh

  • List manager displaying view value and not return value

    Hello,
    I'm using a list manager based on pop-up LOV. When I click on an item on the pop-up window, the window is closed and the return value is inserted in the page textbox. I would like to have (as expected) the view value, and have the return value used just as field value during form submit.
    I'm using Application Express 2.1.0.00.39
    Thanks.
    Eugenio

    Unfortunately, you can't. The way to do it is to return the display value into the List Manger item and then use the APEX_UTIL.STRING_TO_TABLE function to loop through the values and fetch the IDs. You will need to make sure the LOV items are unique and don't contain any colons.
    I hope that helps
    Shunt

  • How to create a display value and a return value for an item

    Hi! I have an item on a form. I want the default value for my item to be :":APP_USER", but the return value, to be the id of my user. I tried to create a PL/SQL Expression for the default item, but it doesn't work. What do I miss?
    It should be something like this, but it's not.
    begin
    select first_name || ',' ||last_name as "Employee",
    id_employee -- display value,return value
    from employees
    where id_employee = :APP_USER;
    end;
    Does anyone know?
    Thanks!
    Vitaly

    Hi VItaly,
    Display value and return value concept applies very well in case of a Combo box if i am correct, I don't know what type of item is your's.
    But any way, you can have a workaround like,
    Create a hidden item such that it's default value should be ID of the user which can be get from db by using :APP_USER.
    Use the this item for your references.
    I think this will meet your requirement.
    Thanks
    Kumaraswamy.

  • Rebate agreement-Difference coming for credit note value and drill down value .

    Hello Friends,
    In 2013 we had created one rebate for which the validity period was 1st April 2013 to 31st March 2014 . At the end of each month, rebate amount was settled by raising credit note to the customer . Now at the end of March'14 during final settlement, a credit note was raised to the customer . The issue here is there is difference of 1.13 (Pounds) between credit note value and the drill down value for March'14 . Lets say our credit note value is-100 (Pounds)and Drill down value for the month March'14 is 101.13 Pounds. We are not able to find out why this difference is coming . Please let me know your inputs on this .
    Regards,
    Sandeep G. 

    Sandeep -
    During final settlement of a rebate agreement, it calculates rebate amout for the the entire time period less payments already made to a customer and then issues a credit memo request based on that.Please check all the the invoices created during entire period and check accrual calculation.It should match.
    You can check VBOX table to get billing documents for the entire period.
    Let us know if you still have an issue.
    Thanks & Regards
    Amit Gupta

  • Report with goods receipt value and invoice posting value

    Is there any standard report with goods receipt value and invoice value (the value with which invoice is posted.

    Hi
    Please check MC$4 transaction, mey be helpful.
    regards
    Srinivas

  • Expected Value and Overall limit value usage.

    Hi Sap Gurus,
    if the frame work order we have these 2 field Expected value and overall limit field value to be filled,
    and the system allows Invoice (or GR) up to the maximum of the overall limit value. and only if the value entered crosses the overall limit value the system issues a Error Message ( which is agreeable)
    but the logical requirement is that, if the value crosses the Expected value limit the system should display a warning message, indicating that the value has crossed the expected value.
    is there any config or note to be applied to get this funtionality.
    Thanks and regards
    Priya S

    Hi,
    Please refer to the Online documentation:                                      
             Material Management                                                   
             -> External Services Management                                       
                -> Procurement of Services: Processes                              
                   -> Accelerated and Simplified Processes                         
                      -> Use of Value Limits (for Unplanned Services)                                                                               
    Inside this documentation, it is stated that there is a variety of             
    limits (combinations) to be used:-                                                                               
    - Overall limit only                                                         
      - Overall limit and limit on services covered by contract item(s)            
      - Overall limit, limit on services covered by contract item(s),              
      - and other limit                                                            
      - Overall limit and other limit                                              
      - Overall limit on services from model specifications or standard            
        service catalog                                                            
      - Expected value                                                             
    The expected value is used in the update of the               
    PO item value and this is the value used in the release strategy.                   
    Here is the f1 help:                                                                               
    Expected value - ESUH-COMMITMENT                                                    
    Value that the unplanned services (or the materials) covered by this                
    item are not expected to exceed.                                                                               
    Use                                                                               
    If you are working with the release (approval) procedure for purchasing             
    documents, this value serves as the basis for a release strategy applied            
    to this document.                                                                               
    If you tick 'No limit',you don't need to enter 'Overall limit',but must             
    enter 'Expected value'.Because 'Expected value' will affect the release             
    strategy. Please read the note 440601 connected to this.     
    Concerning the variability of actual cost of a purchase order,                   
    expected value means that the unplanned services (or materials)                  
    covered by this item are not EXPECTED to exceed.                                 
    It is not mandatory that it has the same value like total limit value.           
    Expected value can exceed, it is used for comparison with total limit            
    value in cost control.                                                           
    Expected value can also be combined with unlimited total limit in a              
    purchasing document.                                                                               
    Regards,
    Edit

Maybe you are looking for

  • Aumentar tamanho da caracteres em um campo

    Olá, Um cliente tem um plano de contas que o código de conta contábil das contas análiticas tem 18 caracteres  e o SAP só aceita 15 caracteres, posso mudar o tamanho do campo para 18? Se pode como faço isso? O cliente não pode mudar o plano de contas

  • Dunning smartform F150_DUNN_SF Error ?

    Hi All, I have assigned the standard dunning smartform "F150_DUNN_SF" for dunning letter printout, i have also configured BTE event 1720 to trigger smartforms. While triggering the dunning letter from F150 transaction, its giving a error "ULINE not f

  • APPLE CARE AGREEMENT NIGHTMARE

    I'm not sure if this is the right section but I saw no better place to list it.  When the iphone 4 released I purchased 5 for my family.  I had 5 new apple care agreements purchased separately.   I registered the agreements to the phones and they sho

  • Insert rows based on column value

    I have customer_ no., Date and no_months as columns. I need to insert in a new table the customer_no as many times as the value of no_months column. Meaning if customer_no is 001 and if months value is 3 then in the new table I want three rows having

  • Iphone frozen - need help!

    Hi, My Iphone has recently frozen was fine one minute then when i looked back a while later the screen was blank and will not turn on. Didnt think the battery was dead but nevertheless I have had it on charge all day but my pc, laptop and dock wont p