Last 4 digits of SSN

We are currently storing SSNs as 123456789. We need to continue to store them this way, but would like to display them in a report as only the last 4 digits of the SSN.
Any ideas how I can do this?
Thank you.

In your report, just do a substr(ssn,5,4) for your new & improved SSN field to be displayed:
SELECT First,
Last,
SUBSTR(ssn,5,4),
Phone
FROM Employees
Thank you,
Tony Miller
Webster, TX

Similar Messages

  • Extracting last digits in message mapping

    Hi
    Is there a standard function for extracting last digits of a field value?
    Thanks

    Pratichi,
    I don't believe there is any standard function. You need to write simple UDF in order to achieve it. Like below sample code...
    String ret = a.substring(a.length()-4, a.length();
    return ret;

  • Masking first 5 digits of SSN on People Screen

    Hi,
    I have a requirement.
    1) First part is to mask the first 5 digits of the SSN field on the people screen. Example : If SSN retrieved is 123-45-6789 then the SSN displayed should be ***-**-6789.
    2) Second part of the same requirement is : If a change is required to the SSN value then it should be allowed and the user should now enter the SSN twice like the way it is done on the password field on the User creation screen. Example : User enters the SSN and he sees only ***-**-1234 on entry and then on exiting from the field he is prompted to enter it again and again he sees only ***-**-1234. If the 2 entries match then the entry is considered valid and the record is saved.
    Anyone having an idea how to get this done on the People screen using Personalization or any other method ?
    -DD

    Welcome to the forums !
    Pl see if MOS Doc 756250.1 (How To Mask Social Security Number National Identifier To Show As XXX-XX-1234 In Self Service) can help
    HTH
    Srini

  • Port forwarding to ip address only allows input of last digits

    I have the Linksys BEFW11S4 router and am trying to port forward to a static ip address but the port forwarding screen is hard coded to 192.168.1.__ and only allows me to enter the last 3 digits of the quartet. Does anyone know how I can get past this? I'm trying to connect a DVR server using this static ip address.

    If your ISP assigns you a static public IP address and you are required by your ISP to configure that on your router, then you have to configure the static IP, subnet mask, gateway IP and DNS servers in the internet connection section of the main setup page in the web interface of the router.
    You then assign a static local IP address like 192.168.1.25 to your DVR, subnet mask 255.255.255.0, gateway 192.168.1.1 and DNS 192.168.1.1 or the DNS servers of your ISP.
    You don't have to disable the DHCP server function in the router.

  • Masking First 5 Digits of SSN in SSHR

    Personalization or Framework Gurus -
    I have a requirement that we mask the first 5 digits of an employee's SSN in SSHR Personal Details. Has anyone done this before and if so, how? We have made the field view only already and are looking to take 123-45-6789 and display it as ***-**-6789.
    Many thanks in advance.
    Susan

    Changing the VO sql looks like a better idea but still more analysis will be required to see the impact. In case VO sql is customized, it should not impact any other code flow where the normal ssn value is expected from the VO.
    An easier approach will be to substitute the VO with a VO which has an extra column with the required masked ssn info and show it on page through a new field added by personalization. Set rendered false for the seeded ssn field.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • To get Last digits

    Hi Group,
    I have one variable with varying length(Max20) I need to get last 4 digit of this variable,can any body suggest

    Hi,
    Please check this.
    DATA: I1 TYPE I, I2 TYPE I, I3 TYPE I,
          F1 TYPE F, F2 TYPE F,
          WORD1(10), WORD2(20),
          XSTR TYPE XSTRING,
          ITAB TYPE TABLE OF SPFLI.
    F1 = ( I1 + EXP( F2 ) ) * I2 / SIN( 3 - I3 ).
    COMPUTE F1 = SQRT( SQRT( ( I1 + I2 ) * I3 ) + F2 ).
    I1 = STRLEN( WORD1 ) + STRLEN( WORD2 ).
    I2 = STRLEN( XSTR ).
    IF LINES( ITAB ) > 0.
    ENDIF.
    CONCATENATE XSTR+0(4) INTO VARIABLE.
    WRITE:/ VARIABLE.
    REGDS,
    KALEEM.
    REWARD IF HELPFUL...

  • How to Show Partial SSN in a Text Field

    Hi,
    I have text field on an apex page which takes SSN as input.
    How to show only last four digits of SSN after it has been entered.
    For Instance when I type 111-222-3333 and hit enter or tab, it should appear as XXX-XXX-3333.
    Thanks in Advance.
    Yogi

    Hi Yogi,
    You did not mention the most important thing.. Where are going to display the SSN ..
    if it is in report then:
    select regexp_replace ('111-222-3333','[0-9]{3}-[0-9]{3}','XXX-XXX') from dualOutput:
    SSN
    XXX-XXX-3333
    If you are going to show it on an item, then you should use that REGEXP in the source of your item... The source could be SQL or PL/SQL.
    If you need to show this format XXX-XXX-3333 as the values is being entered, the this plugin could be helpful:
    http://apex-plugin.com/oracle-apex-plugins/item-plugin/text-field-with-masked-input_63.html
    Best Regards,
    Fateh
    If you believe that my answer was correct or helpful, then please mark the answer as helpful or correct

  • Ad hoc for SSN

    Hello All,
    I am trying to figure out how can i run a AD hoc query to see only last four digits of selected employee's?
    Is there any way, anybody knows how to do this?
    Thanks all
    abhijit

    You can create an additional field in the Infoset & put code in it to display the last 4 digits of SSN & create the Query using this Infoset to dispaly the SSN as reqd.
    ~Suresh

  • Jabber for Windows Call Voicemail Option Pulls Outlook Contact with Matching digits of VM Pilot

    Running J4W 9.2.2 and when we use the "Call Voicemail" option (we use a 4-digit pilot number), if the end user has an outlook contact that the last 4 of the phone number matches it pulls the outlook contacts name up and displays it in the connected call.  Anyone else seen this behaviour and f so is this a known issue and is there a workaround for this?
    Thanks,
    Ethan                  

    I Ethan,
       I have this problem too. There was a Bug (CSCud57201) identified for release 9.1 with this problem. The bug notes say it should be solved on 9.2 but I'm running the same version as you and having exactly the same last digits match problem
    Rui

  • Largest number of digits for NUMBER datatype?

    What is the largest length of a NUMBER that Oracle will "support"?
    The documentation says the following:
         Datatype Limits indicates:
             "Can be represented to full 38-digit precision"
         NUMBER Data Types indicates:
              "Oracle guarantees the portability of numbers with precision of up to 20 base-100 digits, which is equivalent to 39 or 40 decimal digits depending on the position of the decimal point."
    I realize if I define a column as simply NUMBER, I can insert numbers with a size up to 126 digits.  However, Oracle seems to only maintain the first 40 digits IN MOST cases.  The most number of digits it seems to allow is 40 before it starts to replace with 0's.
    With numbers that have more than 40 digits, Oracle will sometimes replace any numbers after the 38th digit with a 0 and other times will replace with 0 after the 39th or 40th digit.
    Therefore, what is the most number of digits we can have confidence in Oracle storing safely?
    This was the code I used for testing this process.
    create table max_num (num number);
    declare
      l_x number;
    begin
      for x in 1..200
      loop
        l_x := x;
        insert into max_num values (rpad(1, x, 1));
      end loop;
      exception
      when others then
        dbms_output.put_line('STOP: '||l_x);
        dbms_output.put_line(sqlerrm);
    end;
    select num, length(replace(num, 0)) from max_num;

    Hi,
    user109389 wrote:
    What is the largest length of a NUMBER that Oracle will "support"?
    The documentation says the following:
         Datatype Limits indicates:
             "Can be represented to full 38-digit precision"
         NUMBER Data Types indicates:
              "Oracle guarantees the portability of numbers with precision of up to 20 base-100 digits, which is equivalent to 39 or 40 decimal digits depending on the position of the decimal point."
    I realize if I define a column as simply NUMBER, I can insert numbers with a size up to 126 digits.  However, Oracle seems to only maintain the first 40 digits IN MOST cases.  The most number of digits it seems to allow is 40 before it starts to replace with 0's.
    With numbers that have more than 40 digits, Oracle will sometimes replace any numbers after the 38th digit with a 0 and other times will replace with 0 after the 39th or 40th digit.
    Therefore, what is the most number of digits we can have confidence in Oracle storing safely?...
    If the documentation says 38, then I'll say 38, too.
    If you put in a number greater than or equal to 1E39, then Oracle may round it to 38 significant digits; that is, the last digits you entered may get turned to 0's, or rounded up.

  • My SN is missing 4 digits, where can I get help to activate it?

    Please somebody help me

    It looks like you have an older Elements version where you could see the serial number minus the 4 last digits in the Help screen. The problem is that if you have not saved the full code, or if you have not registered that version on Adobe's site, nobody can help you since the code is specific to your own copy.

  • How to mask SSN number in Identification Number field in BP?

    Hello Gurus,
    We have a requirement to mask the initial 5 digits of SSN number when displayed in the Identification Number field in the Identification tab of BP transaction. What is the best way to go ahead with this enhancement?
    We do not want to encrypt the data at the database level. Just encrypt at while displaying SSN Number on BP transaction.
    If anyone has carried out such enhancement, would appreciate if you can share how you did it?
    Thanks to all in advance,
    Shyamak

    Shyamak,
    This is for CRM -
    Go the PBO of the screen that has identification details. In a suitable PBO module, you can implement and implicit enhancement point and change the data in internal table.
    In my system it is function group BUD0. It would be same in yours as well. Screen is 1520 for me, it may be something else for you. I would have done in module - 'pbo_1520'. Do it at the end of this module. Internal table name GT_BUT0ID
    You need to so something similar in ECC
    Cheers
    Niraj

  • Lost Digits of big Number - convert Double into Hex

    My Number is 24563383270390080
    if i debug the Variable it has got a value of 2.45633832703901e+016, so i lost a little bit of the value.
    if i bring ist into a sting, i can see the complete value "24563383270390080"
    i have to convert the number in to a Hex-Value, the Reuslt should be "$57444456503941" an can be written into a string.
    my problem is to bring the original value into a string of hex, because diadem round the last digits of my number
    i tryed several convertions, but the the probmel of lost digits is still there....
    maybe you´ve got an idea
    dim Number, NumberString, HexTest1, HexTest2, HexTarget
    Number = 24563383270390080  '17 Digits
    HexTarget = "$57444456503941"
    NumberString = Str(Number, "d")
    HexTest1  = Str((Data.Root.ChannelGroups("Neu").Channels("Vin_Data").Values(1)), "$")
    HexTest2  = Str(Val(Number), "$")
    '---> Result
    ''--> Number       = 2.45633832703901e+016
    '--> NumberString = "24563383270390080"
    '--> HexTarget  = "$57444456503941"  
    '--> HextTest1  =  $57444456503940  !!!!! Last Postion !!!!
    '--> HextTest2  =  $57444456503940

    You are a little bit out of luck with your example because
    dim number : Number = 24563383270390080 '17 Digits
    dim txt
    txt = txt & Str(Number, "d") & " ref: 24563383270390080" & VBCRLF
    txt = txt & Str(Number, "$") & " ref: $57444456503940" & VBCRLF
    MsgBox txt
     0 at the end is correct. (At least the MS calculator says so.) But this is by incident because of the number you picked.
    VBS only supports 64 bit double values. 64 bit doubles have a mantissa of 52 bits.
    24563383270390080
    becomes
    1010111010001000100010001010110010100000011100101000000
    which has 55 bit in use. Because your last bits aren't in use the number you picked can be represented by a double without loosing precission.
    24563383270390081
    would show the behavior you described because it is using 55bit range. The 1 is just cut when converted to double.
    But I have no solution for this because it will not work with VBS.

  • [ADF]not showing more than 15 digits

    HI all
    I have a database column with precision (20,10)
    I have exposed field as an input field to the user. The format in the VO is defined as follows #,###,###,###.##########
    I am faced with the following bug. When the total digits in the entered value exceeded 15, the last digit is automatically getting cropped.
    e.g  0123456789.1234567 is getting cropped to 0123456789.12346
    Can anyone please let me know what I need to do to overcome this issue
    JDEV Version-  11.1.2.0.0

    My findings on this using 11.1.1.7.0:
                  <af:inputText value="#{bindings.BigNum.inputValue}" label="#{bindings.BigNum.hints.label}" required="#{bindings.BigNum.hints.mandatory}"
                                columns="30" maximumLength="30" shortDesc="#{bindings.BigNum.hints.tooltip}" id="it1">
                    <af:convertNumber groupingUsed="true" pattern="#.#" type="number" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="1"
                                      maxFractionDigits="10"/>
                  </af:inputText>
                  <af:inputText label="bind to String" id="it6" value="#{bindings.myNum1.inputValue}">
                    <af:convertNumber type="number" pattern="#,###,###,###.##########" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="0"
                                      maxFractionDigits="10"/>
                  </af:inputText>
                  <af:inputText label="Bind to java.lang.Number" id="it7" value="#{bindings.myRealNum1.inputValue}">
                    <af:convertNumber id="nc2" type="number" pattern="#,###,###,###.##########" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="0"
                                      maxFractionDigits="10"/>
                  </af:inputText>
                  <af:inputText label="Bind to oracle.jbo.domain.Number" id="it8" value="#{bindings.myOracleNumber1.inputValue}">
                    <af:convertNumber id="nc3" type="number" pattern="#,###,###,###.##########" minIntegerDigits="1" maxIntegerDigits="10" minFractionDigits="0"
                                      maxFractionDigits="10"/>
                  </af:inputText>
    Of the four inputText only the it6, it7 and it8 are working. There are bind to pagedef variables. The first on (it1) is binf to a transient attribute I added to the Employees EO. This is the attribute definition
    <Attribute
        Name="BigNum"
        ColumnName="$none$"
        SQLType="NUMERIC"
        Type="oracle.jbo.domain.Number"
        ColumnType="$none$"
        IsQueriable="false"
        IsPersistent="false">
        <Properties>
          <SchemaBasedProperties>
            <FMT_FORMATTER
              ResId="de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMATTER"/>
            <FMT_FORMAT
              ResId="de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMAT"/>
            <LABEL
              ResId="de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_LABEL"/>
            <CONTROLTYPE
              Value="number_edit"/>
            <DISPLAYWIDTH
              Value="30"/>
          </SchemaBasedProperties>
        </Properties>
      </Attribute>
    Resource Bundle
    de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_LABEL=Big Num
    de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMATTER=oracle.jbo.format.DefaultNumberFormatter
    de.hahn.blog.xxyyzz.model.adfbc.entities.Employees.BigNum_FMT_FORMAT=\ \#,\#\#\#,\#\#\#,\#\#\#.\#\#\#\#\#\#\#\#\#\#
    de.hahn.blog.xxyyzz.model.adfbc.views.EmployeesView.BigNum_FMT_FORMAT=\ \#,\#\#\#,\#\#\#,\#\#\#.\#\#\#\#\#\#\#\#\#\#
    For this n EO/VO and user the same pattern I too see that the last digits of the number are cropped.
    Running this EO/VO in the tester I too seethe input "1234567890.0123456789" converted to "1,234,567,890.0123458". The difference is that in the EO I used oracle.jbo.domain.Number for the transient attribute.
    Added another inputtext which is bind to a oracle.jbo.domain.Number in the pagedef and this works too.
    Enter values
    Numberformat 2 | JDev &amp;amp; ADF Goodies
    after submit:
    Numberformat 1 | JDev &amp;amp; ADF Goodies
    Summary: if the number is bound to a EO/VO the number format doesn't work as expected,
    Timo

  • How i can unlock iphone 5 sprint without zipcode

    Hello.
    I bought the iPhone 5 in Russia.
    But it is blocked on the operator sprint.
    At connection it to the computer, he asks to enter from me billing  zipcode and the last 4 digits of ssn.
    To me the zipcode as is known, that who bought it in America sent me it in a box which received from apple store.
    The person which Nethaniel Teigman zipcode specified bought him in America upon purchase 75252 (it is specified on a box).
    But this person refuses to provide me the last 4 digits of ssn.
    Please clean check a zipcode and last 4 digits of ssn for the iPhone 5 imei  990002292452065 SERIAL: F17JJ4A0F8GJ
    For possibility of carrying out activation of my iPhone which I bought.

    Since the iPhone is locked to Sprint, only Sprint can unlock it.
    Contact the seller and get him to unlock it. It is very unlikely that
    he would provide your part of his SSN as that would open him up to
    all sorts of mischief and fraud. If he will not contact Sprint to get the
    iPhone unlocked, return the iPhone to him and get your money back.
    Only Sprint can unlock the iPhone and you do not meet the requirement
    so you will have to get the original owner to help.

Maybe you are looking for

  • Aftr updating s/w - told to reinstall itunes.  Error msg Servie Apple Mobile Device failed to starat.  Vertify that you hv suff privileges to start sys services

    Aftr updating s/w - told to reinstall itunes.  Error msg Service Apple Mobile Device failed to start.  Vertify that you have suff privileges to start system services

  • Table scrolling...

    I have a user who is using the compensation workbench and they are wanting the ability to scroll vertically through the table while the headings stay stationary as you can do in Microsoft Excel. The specific page she is using is: /oracle/apps/ben/sel

  • 0PROJECT_ATTR  datasource throws short dump in bw

    0PROJECT_ATTR datasource throws short dump in BW.  On checking the same at source system level in R3 using RSA3 transaction, the error has been cornered that "Project I0640-03/0001 does not exist". Now i would like to know the related transaction cod

  • Reinstalling OS ...locked out

    first time user....my disgruntled X has put a password on my computer which never had one before..thus i am 128 bit locked out...after spending two days looking at apples site i have come to the conclusion than all is lost and i must reformat my driv

  • Firefox Konqueror move

    (warning: long post + bad English ) I've moved from Firefox yesterday. Mainly for the following reasons: 1. got fed up with crashes (using the testing 1.5-2 thing as well as my custom-compiled cvs supposed-to-be-fixed packages) 2. Firefox's a terribl