How to remove spaces present in one of the records in a table

Hi
i have a requirement where i need to delete the spaces present in one of the columns in a table.The table has a column with the data in the form of lastname,firstname.The old data present there has one space between the lastname and the firstname and the new data has no space between the last and the first names.so i need to come out with something that will remove the space between the last and firstname in the old records.
Can you give me some suggestions?

Maybe something like this?
SQL> WITH data AS
  2  (
  3  SELECT 'Oracle,Corporation' lastnamefirstname
  4  FROM dual
  5  )
  6  SELECT REPLACE(lastnamefirstname,',',NULL)
  7  FROM data ;
REPLACE(LASTNAMEF
OracleCorporation
1 row selected.

Similar Messages

  • How to remove an item from one of the tabs?

    How can one remove one of the items from a tab in SAP portal? Here, I'd like to remove the 'Change Order' under Time Administration.

    Hi Sean,
    Right click on the role, choose Open -> Role.
    Find and select "CHANGE ORDER" iview in the role content.
    You can now either delete it from the role or just prevent from being displayed
    Click Open.
    Click Properties, then click on All.
    Find property called "Invisible in Navigation Areas" and set it to Yes.
    Please be aware that clearing navigation cache might be needed for changes to become visible.

  • How to show serial umber for each of the record in a table stating with 1.

    I want to show serial number starting from 1 for each of the row in the table. Is there any why to achieve this in OBIEE answers?

    simple.. take a dummy col and put formula RCOUNT(1)

  • How to remove space after paragrph in pages on ipad

    Can't figure out how to remove space after each paragraph in Pages for Ipad

    Settings > General > International > Region Format
    Set it to your country to format numbers and dates in the way your country does.

  • How to remove space below text?

    In the screenshot below, how to remove space below text? I simply added a text box using the type tool and I get that extra space bellow the letter "B" that I don't need. I want to remove that space to center the letter within the octogon.
    Thanks!

    You might consider giving the letter a negative baseline shift and aligning it to centre.
    That way you can adjust it so that its anchor point coincides with the centre of the hexagon.
    Like this:
    Another thing: You may find it easier working with type if you hide bounding boxes.

  • How to remove space from a variable in a smartform

    Hi,
    I have a problem in displaying a variable in a smartform..The variable shows some blank space that preceeds the data.
    for eg:,
    variable =        18.000.
    How to remove space before 18.000?

    To remove the decimal places for quantity and rate/quantity , use the syntax to restrict the number of digits after decimal places. The syntax is
    &symbol(.N)&
    where N is number of decimal places.
    Since you dont want decimals use &symbol(.0)&
    For the other case it depends on how the currency is represented , any way try using the syntex &symbol(T)&
    Please give me reward point If it is useful
    Thanks
    Murali Poli

  • How to remove space below the table in smartforms

    how to remove space below the table in smartforms

    maintain a loop counter for item say count
    and in text editer write
    if count > 6
      new-page.
    endif.

  • I am getting an Narration error that I can't record because one of the record-enabled tracks is locked in the timeline. What does this mean and how do I get out of it??

    I am getting an Narration error that I can't record because one of the record-enabled tracks is locked in the timeline. What does this mean and how do I get out of it??

    JohnL23
    Thanks for the update.
    There are several Adobe Premiere Elements Forum threads about situation such as the one that you have encountered. Typically they are the results of some heavy activity in the narration track.  Some have found success in maneuvers between the Expert and Quick workspaces in versions 11 and 12 or Timeline and Sceneline workspaces in versions earlier than 11. That is why I mentioned that type of factor in a prior post in your thread.
    If that is not working, then we are forced into the new project where the problems in the current project are not presenting.
    I will do a search for the threads that I am recalling about your type of issue. But, right now all roads seem to head to the new project. But I would ask "Can you salvage this project by creating your narration clips in Audacity or a new Premiere Elements project and import them into this project, putting the clips on one of the numbered audio tracks?"
    If the problem should reappear in the new project, please let us know including the details of what was going on immediate before the problem surfaced.
    Thanks.
    ATR

  • How do I fix this error message, The address wasn't understood Firefox doesn't know how to open this address, because one of the following protocols (connectag

    We have a new computer and I cannot get my garmin running watch to sync with mozilla. The error message that I keep getting is"The address wasn't understood
    Firefox doesn't know how to open this address, because one of the following protocols (connectagent) isn't associated with any program or is not allowed in this context.
    You might need to install other software to open this address."
    Help please

    This is for a special URL that starts with
    connectagent://
    instead of with
    http://
    is that right?
    Two thoughts:
    (1) Could you try changing a setting for your Garmin plugin. Here's what I mean:
    Open the Add-ons page using either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Plugins.
    Find your Garmin plugin change "Ask to Activate" to "Always Activate".
    Your system information seems to list two different versions of a similarly named plugin. I'm not sure whether that is causing a problem.
    (2) Does Garmin's documentation specify any extra steps to set up Firefox, other than installing its add-ons?

  • In flex, How to set a value to one parameter, the parameter defined in a cffunction in a cfc file

    In flex, How to set a value to one parameter, the parameter
    defined in a cffunction in a cfc file, In the cffunction there are
    much cfargument, I want set a value to one of them, such as the
    cfc:
    <cffunction access="remote" name="myShow" output="false"
    returntype="struct">
    <cfargument name="ID" type="numeric" default=0>
    <cfargument name="GoodsID" type="string" default="">
    <cfargument name="DestTime" type="string" default="">
    <cfargument name="DestCount" type="numeric" default=1>
    How I set a value to only parameter one of them , such as set
    GoodsID when use mx:remoteObject.
    Thanks for your help

    Got maybe a solution for you, I have just tested it.
    So, the idea is to use intermediate variables. Imagine Var1 and Var2 variables that you refresh with your more or less complicated queries. Then what you can do is to refresh your final variable Var3 with a query using your intermediate variables. Here is an example for Oracle:
    select #Var1+#Var2 from dual
    This way you can make a chain of dependent variables: Var3 is using Var2 and Var2 is using Var1.
    Hope it helps.
    Shamil

  • How to provide space and new line to the text in AI Script

    how to provide space and new line to the text in AI Script

    ?? can you explain better, can you at least add another sentence?
    space
    var mySpace = " ";
    new line
    var newLine = "\n";

  • Hello .. I need to know please how do I know if some one got the access to my iCloud account and saw my phone contains ? Thanks

    Hello .. I need to know please how do I know if some one got the access to my iCloud account and saw my phone contains ? Thanks

    Ahmed8885 wrote:
    but I was shocked when I log in using my account on my friend iPhone device and I was surprised that I started to receive and see all my photo stream loading to his phone !
    Really? What did you expect was gonna happen when you logged in using YOUR APPLE ID/PASSWORD?
    That's the way things are supposed to work.

  • We have created two partitions in removable drive(USB). One of the partition is active and the other is hidden. We are trying to acess the hidden partition in Win PE 3.0 environment using WMI

    We have created two partitions in removable drive(USB). One of the partition is active and the other is hidden. We are trying to access the hidden partition in Win PE 3.0 environment using WMI. VBScript code snippet used to detect the partitions is given
    below:- 
    SetobjWMIService = GetObject("winmgmts:"_&
    "{impersonationLevel=impersonate}!\\"&
    strComputer & "\root\cimv2")
    SetcolDisks = objWMIService.ExecQuery
    Select * from Win32_LogicalDisk")
    It will return the partition which is active but fails to list the partition which is hidden. The same piece of code was supported on WinPE 2.0

    I am giving the complete code, may be you are able to understand better. We are using Win32_LogicalDisk to retrieves the complete information of all the drives (like C:, D:) including removable drives. 
    Function
    LocalDriveFound()
        strComputer =
    SetobjWMIService = GetObject("winmgmts:"_
    "{impersonationLevel=impersonate}!\\"&
    strComputer & "\root\cimv2")
    SetcolDisks = objWMIService.ExecQuery
    "Select * from Win32_LogicalDisk")
    ForEachDiskDrive
    IncolDisks
            DriveLetter = Left(DiskDrive.Name,1)
            DriveType = DiskDrive.DriveType
            VolumeName = DiskDrive.VolumeName
            WScript.echo Driveletter &
    "|"& Drivetype &
    "|"&VolumeName
    SelectCaseDriveType
    Case2 ,3  
    'Fixed or removable
    If(VolumeName=USBVolumeName)
    Then
    If(DriveLetter<>
    "Z")
    Then
                        ChangeDriveLetterWithMountvol DriveLetter,
    "Z"
    EndIf
                    bIsLocal=
    True
    EndIf 
    If(VolumeName=USBRootName)
    Then
    If(DriveLetter<>
    "Y")
    Then
                        ChangeDriveLetterWithMountvol DriveLetter,
    "Y"
    EndIf
                    bIsLocal=
    True
    EndIf 
    CaseElse
    EndSelect
    Next
    SetDrives =
    Nothing
    SetFileSystemObject =
    Nothing
    End
    Function

  • I renewed my subscription for a third party app and was charged TWICE! $38 bux a pop. How do I go about getting one of the charges refunded?

    I renewed my subscription for a third party app and was charged TWICE! $38 bux a pop. How do I go about getting one of the charges refunded?C

    You can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Why can't anyone tell me how to remove all those little "!" in the left column all at once or at least sort them so I can mark them and then delete them?

    Why can't anyone tell me how to remove all those little "!" in the left column all at once or at least sort them so I can mark them and then delete them?

    This happens if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a change of drive letter. It is also possible that iTunes has changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout,or vice-versa, and so is looking in slightly the wrong place.
    Select a track with an exclamation mark, use Ctrl-I to get info, then cancel when asked to try to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive letter has changed, it should be possible to reverse the actions.
    Alternatively, as long as you can find a location holding the missing files, then you should be able to use my FindTracks script to reconnect them to iTunes.
    If, on the otherhand, you've been cleaning up your media from Explorer rather than iTunes and just want to eliminate the now broken links, use Tunes Folder Watch with its option to check for dead tracks on startup.
    tt2

Maybe you are looking for

  • Reading Inbox - javax.mail.MessagingException: Connect failed;

    I get an error message while trying to read emails by connecting to a company mailbox. The message is as follows: javax.mail.MessagingException: Connect failed; nested exception is:      java.net.ConnectException: Connection refused: no further infor

  • JSPs packaged in a JAR

    Does anyone know how I can address from within a web application JSPs that are in a JAR library? I have a bunch of java classes and a couple of JSPs that I want to distribute as a JAR library. So, within a web application (or a WAR) this would live i

  • JasperServer Portlet on Webcenter

    Has anyone attempted embedding the JasperServer portlet into Spaces? I managed to get the portlet deployed to Weblogic and register it as a WSRP Producer but it doesn't render on Spaces. I get errors relating to Spring framework (Jasper uses the spri

  • How do I move icons between screens?

    Friends, I have an ipad2 and an iphone.  On the iphone, I can easily drag icons between screens by press and holding, then dragging the icon to the side -- the adjacent screen the appears and I can drag the icon to that screen.  When I try the same t

  • Can't turn off alerts in Viber app

    I am using Viber (v. 2.2.2.86) on iOS 6 on my iPhone 5. I am unable to turn off any of the notifications for Viber, not even sound alerts. If I disable any of the notifications for Viber (Badge App Icon, Sound Alerts or View in Lock Screen), Viber ke