Removing commas from on address line!!

I need to remove comma's from an address field:
substr(s_claim_periods.latest_prop_addr(CLAIMS.cla_refno),1,255) AS D,
i have tried my usual method of
translate (CONTACT_ADDRESS, ',' ,' ')
but im having problems incorporating it with the substr command!!

you could also use replace
replace (adr, ',')as in
SQL> with test as
  2  (select 'address,address,address,address,address' adr from dual
  3  )
  4  -- End of Testdata; here is the actual query:
  5  select adr
  6       , replace (adr, ',')
  7    from test
  8  /
ADR                                     REPLACE(ADR,',')
address,address,address,address,address addressaddressaddressaddressaddress

Similar Messages

  • Removing commas from report result

    Hello gurus,
    Is there a way to remove commas from data values in the BEx reports?
    I used NODIM() to remove $ signs and units. We need to remove the commas as well.
    Thank you,
    Malli

    hi,
    in query properities you should have option to show unit on the top of column only and in key figure properities should be option to choose how many decimal spaces you want to be visible on report (this option you have in rsa1 -> infoobjects -> your key figure -> BEx reporting tab)
    Regards,
    Andrzej

  • Remove entries from Global Address List

    Hello,
    Does anyone know of a way to remove entries such as orcladmin, portal_admin, sysadmin and other system accounts from the Global Address List? It would be nice to remove them from the GAL, but I don't want to change the functionality of each account. Thanks for the help.
    --Bill                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Nevermind, I figured it out. If you add the line "gal_enableldapsearch = FALSE" to the "[ENG]" section of the calendar server configuration file, it will only put calendar users in the GAL and not search OID for users.
    --Bill                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to remove a from email address when composing a new email?

    when I compose a new email in the from drop down list there are three emails that are mines that i can use. there is an @icloud.com email there that i did not create. how do i remove it?

    Hi, AC360.
    First, ***** won't help you here. People here are users just like you and I, and as both of us, they like to be treated with respect. So, adding bad-word-like characters won't get you any faster or closer to your solution. And even if you don't want it, you got it. iCloud is here to stay and until Apple decides to change its cloud-based service name, we'll all have icloud.com e-mail addresses.
    But as stated before, you didn't lose your @me.com address and you're not forced to use your icloud.com one.
    Now, focusing on your problem, since you're annoyed because the @icloud.com address is listed in your "from" drop-down, you can simply remove it from there by:
    1. Access iCloud web interface at www.icloud.com
    2. Click the Mail icon (it's the blue one with an envelope in the middle. You can't miss it. )
    3. On the top right corner of the next screen, you'll see a gear-like icon. Click it.
    4. Click "Preferences"
    5. Click "Composing"
    6. In the "Send From" section, uncheck the address [email protected] (where "yourname" is your own iCloud username)
    7. Click "Done"
    8. You're done.
    See? Problem solved. Now you can sleep tight not worrying about what Bad Apple tried to force down your throat.
    Hope I have helped.
    Be good, stay calm, and respect other children here at the playground, ok?
    Cheers,
    JP

  • Batch Remove emails from Apple Address Book

    Hi everyone,
    I have a csv file contained all the email addresses that were bounced, all originating from my Address Book. This bounce file was obtained using another software (Email Bounce Handler by Maxprog).
    I was now wondering if there was any way to automatize the removal of these email addresses from my Address Book, with an Apple script or any kind of extension.
    Thanks in advance for your attention and your help.
    Cheers,
    Colin

    Oops -- I just had to turn iCloud on in the System settings on the iPhone, then the Contacts synched.

  • REPLACE statement removing commas from a money convert... I do NOT want it to do this

    I am using a case statement to remove the '-' from a negative number and place a '(' there instead. 
    The negative side of the CASE statement is as follows:
    REPLACE(CONVERT(varchar, CONVERT(money, SUM(Begin_Balance)), 1), '-', '(') + ')'
    The positive side is:
    CONVERT(varchar, CONVERT(money, SUM(Begin_Balance)), 1)
    The data output for the positive portion is 100% correct. Here is an example of the output I receive.
    (18271.15)
    (25000.00)
    82,490.00
    45,000.00
    Why is the replace statement stripping my commas?

    >> I am using a case statement to remove the '-' from a negative number and place a '(' there instead. <<
    So many horrible fundamental errors in one sentence! 
    1.  CASE is an expression, not a statement. An expression returns a scalar value of a known data type, A statement changes the schema. 
    2. In SQL, all display formatting is done in a presentation layer, never in the database.
    3. We use the ANSI/ISO Standard  CAST()  and not the old Sybase/Unix CONVERT today
    4. We use DECIMAL() and not the old Sybase/Unix MONEY. This thing does not work; it fail to do correct math; Google it! Do a data audit and see if you can go to jail for this. 
    5. SQL is not COBOL. The COBOL language treats all data as strings. STOP DOING THAT IN SQL! This language uses abstraction in the database and the presentation does the job that your old PICTURE clause used to do. 
    Can you get a 2-3 week intro course to SQL and modern programming form your company? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Removing comma (,) from string

    Hello Friends,
    I have a string something of this nature
    Sting : ',3456,45454,,45454,'
    Need to have just comma seperated value : '3456,45454,45454'
    Tried with replace but getting - '34564545445454'
    select replace ( ltrim(RTRIM(replace(',3456,45454,,45454,', ',,', ','),',')),',', '') from dual;
    Appreciate your help .
    Thanks/Kumar

    Hi, Kumar,
    kumar73 wrote:
    Hello Friends,
    I have a string something of this nature
    Sting : ',3456,45454,,45454,'
    Need to have just comma seperated value : '3456,45454,45454'
    Tried with replace but getting - '34564545445454'
    select replace ( ltrim(RTRIM(replace(',3456,45454,,45454,', ',,', ','),',')),',', '') from dual;Do you want to remove ','s at the beginning of the string, but leave them in the other places?
    If so:
    LTRIM (string, ',')LTRIM removes the given character(s) from the <b>L</b>eft side (that is, the beginning) of string. That's all you want here. (Was your string generated by SYS_CONNECT_BY_PATH? This is a very common problem.)
    RTRIM removes the given character(s) from the <b>R</b>ight side (that is, the end) of string. I don't think you want that; you certainly don;'t need it in the example you gave.
    REPLACE removes the given characters anywhere in the string. You definitely don't want that. If you did, there would be no point in also using LTRIM or RTRIM.

  • How to remove commas from xvbap-kwmeng field

    Hi All,
    Can you guys/gals help me ??
    I am having a issue with comma in xvbap-kwmeng field, I have value 1,662.000,
    How can I get rid of comma.
    and also please be aware that, I may have 1,662,123.000 situtation as well.
    How can I remove all comma's from by xvbap-kemeng field.
    Thanks
    Anitha.

    Hi,
    Check whether TRANSLATE statement works for you
    TRANSLATE xvbap-kwmeng USING ', '.
    In single quote use comma followed by a space after that use  CONDENSE  xvbap-kwmeng NO-GAPS.
    Regards,
    Selva

  • HT2486 How can i remove duplicates from my address book?

    When I synced my phone through icloud my contacts were all duplicated on my address book on my desktop.  is there an easy way to remove the dupilcates? thank you!

    Here's one such AppleScript I found on the web
    The script will Find the duplicate Entries in Your AddressBook.app and put them into a New Group Called "Duplicate Entries" Allowing you to easly compare and edit them.) ***NOTE: The script will ADD a NEW GROUP IN YOUR ADDRESS BOOK : NAMED "Duplicate Entries" if it does not exist:
    Details found at - http://www.macosxhints.com/comment.php?sid=20060322202753429
    or
    http://bbs.applescript.net/viewtopic.php?id=16646
    Written by © Mark Hunte - 2006 *)
    tell application "Address Book"
       set biglist to {}
       if not (exists (group "Duplicate Entries")) then
           make new group with properties {name:"Duplicate Entries"}
       end if
       set the_names to the name of every person as list
       repeat with i from 1 to number of items in the_names
           set this_Name to item i of the_names
           set theName to name of person this_Name as string
           if this_Name is not in biglist then
               copy this_Name to end of biglist
           else
               add (people whose name is theName) to group "Duplicate Entries"
           end if
       end repeat
       save addressbook
    end tell

  • Removing Text From Incoming Subject Line

    My ISP automatically adds "*SPAM*" to the subject line of e-mails it suspects of being spam. It's a great feature, but as can be expected, sometimes it marks a message that isn't spam. Is there a way to automatically remove the tag from e-mails that meet certain criteria, i.e.: the sender is a previous recipient?

    Mail doesn't allow any editing of received messages. Mail Tags may be able to help, but I don't think so.
    AK

  • How do i remove underlines from email addresses?

    I have a book where the text came in from a word file. Is there any way with InDesign to automatically remove all underlines from them?

    Be sure you uncheck the "preserve formatting" box if you go that route and replace it with "none." You could also just edit the style to look the same as the regular text if you think having a hyperlink style might be useful, like in find/change.
    Peter

  • Removing commas from numbers

    his has a couple of items in it....
    In Numbers, I formatted a phone number column imported from a Text file, but it put in commas, like the phone is a number: 4157933161 is 4,157,933,161. Can I get rid of those commas?
    Also, I couldn't import a .txt file (a mailing list from Experian) into Numbers. When I did open the file with Numbers, Numbers put it all in 1 cell - yikes. So I had to go back to my old pc, import the .txt file (easily...) and then take that .xls file and load it on my MAC in Numbers - good golly you have got to be kidding. What am I missing. How do I import a .txt file (it actually is comma seperated but marked as an .txt file - MS Excel had no problem)
    This has to do with printing Pages or say pages from the Web. Can you print just a selection of say a Pages doc. Say I select /highlight one paragraph of a 50 page document and want to just print that, on MS in the Print page there is a box "selection" which commands the printer to only print what you selected/highlighted. Customer Care at Apple said he did not know of anyway to do this...yikes again.

    In Numbers, I formatted a phone number column imported from a Text file, but it put in commas, like the phone is a number: 4157933161 is 4,157,933,161. Can I get rid of those commas?
    Find / Replace is your friend.
    Find "," Replace by nothing.
    Also, I couldn't import a .txt file (a mailing list from Experian) into Numbers. When I did open the file with Numbers, Numbers put it all in 1 cell - yikes. So I had to go back to my old pc, import the .txt file (easily...) and then take that .xls file and load it on my MAC in Numbers - good golly you have got to be kidding. What am I missing. How do I import a .txt file (it actually is comma seperated but marked as an .txt file - MS Excel had no problem)
    Comma Separated Values files are correctly treated if their name extension is .csv.
    This has to do with printing Pages or say pages from the Web. Can you print just a selection of say a Pages doc. Say I select /highlight one paragraph of a 50 page document and want to just print that, on MS in the Print page there is a box "selection" which commands the printer to only print what you selected/highlighted. Customer Care at Apple said he did not know of anyway to do this...yikes again.
    He is perfectly right. There is no such feature.
    As we may print a given range of pages it's not a true problem.
    We may insert temporary page breaks to do the trick.
    And of course, if you prefer MS you may stay with it !
    Yvan KOENIG (from FRANCE mercredi 22 octobre 2008 11:20:29)

  • How to remove commas from number in Bex analyzer

    Hello gurus,
    I am having a requirement where i need to show the number without separating with commas. for example 23,34,780 as 2334780 in the report for a particular column only. I know that it is possible using the macros but i am unaware of the VB code.
    I have created the same using  the BEX Analyzer of BI 7 by creating the workbook and maintaining the properties for that columns. But right now i am working in BW 3.5 when i tried the same in this i am getting the run time error and disconnecting from the SAP.
    So now i have decided to go with the Macros pls help me with the VB code.
    Regards

    Thanks for ur reponse Danny.
    I have edited the macro and paste the below code changing the column number.
    Sub Macro3()
    ' Macro3 Macro
        Application.Goto Reference:="Macro3"
        Columns("R:R").Select
    Selection.NumberFormat = "#############"
    End sub.
    But its not working, still i am getting the commas in between the key figure. kindly let me know if i need make any other change bcoz i havent work on macros VB code earlier.
    Regards
    Edited by: KK on Jun 16, 2009 2:17 AM

  • Removing Comma (,) from Year Formatting

    Hello,
    I'm attempting to generate a text string that corresponds to a given year. However, when I convert to text from the number format, the result includes a comma:
    the date's year = Text(ExtractYear(today's date)) -> "2,011"
    1. Does anyone know how to prevent the comma in the text attribute, so that I'll get "2011" rather than "2,011"?
    2. Similarly, I'd also like to know how to format the decision report so that the number variable (the output of 'ExtractYear') also does not appear with a comma.
    Thanks in advance,
    - Patrick

    This has been raised internally as OPAD-4226, so we are looking at it for a future release.
    This is a formatting issue - ie. all numbers are formatted as if they are actual numbers, but of course years have their own convention. A custom format (eg. in Web Determinations) could format without the comma but it would apply to all numeric attributes. Custom code could also be used to apply the non-comma format only to certain attributes you specify, but it's not an out-of-the-box option.

  • Removing commas from keyfigure

    Hi All,
        I got a requirement in which, i dont need commas in the amount keyfigure.
    eg.  current value:   12,20,345.00.
           Expected value:1220345.00.
       Plase send solution to this probleam,if anybody has solved the same problem.
    Thanks&Regards,
    Ramana.

    Hi tony,
         Our Requirement is that from the output of a web report we have to download the data to a excel file. From Excel,data will be loaded to SAP-R/3.
        In Web report, Amount filed value is for eg: 12,345,67.00. People who load the data to SAP-R/3 require Amount as 1234567.00.So they r asking the amount field without commas in the web report.
       this is exactly my requirement.
       If u r still unclear about requirement pls let me now.
       Thanks&Regards,
      Ramana.
         for us data is coming from third party ETL tool.

Maybe you are looking for

  • How to put new pictures in inventory file?

    I used the inventory template to create an inventory. Now, though, I want to put my own pictures in instead of the ones they have there. How can I do this? I tried Insert<Choose, but (1) I can't get photos directly from IPhoto; and (2) when I get a p

  • Adobe Download Assistant freezes

    adobe download assistant keeps freezing and I cannot log in.  When I go to log in problem the firefox says it cannot find the programme.  I have tried downloading with google chrome but that did not make any difference.

  • Netbeans - Enterprise project vs Web project

    This may seem like a kind of lame question, but having stuck with Vim for many months, Netbeans is my first venture into a proper IDE, and I want to make sure I become very familiar with it. Basically I was just wondering if someone could give me a m

  • Safari/internet is slow to load

    Safari is acting odd.  Some pages load normal, some at dial-up speed and others not at all.  This is occuring with all of my Apple products; however, all are affected in slightly different ways.  ISP advised that there is no issue with their service.

  • PHP Help with inherited database site

    Hope someone can help with this, although I might be a bit vague. (But will be happy to post any code that might help.) Basically I do a few sites for a company, and everything is coming together nicely moving everything to a new reseller hosting acc