How to remove special characters from the string using translate() without typing all special characters?

Hi all

I am trying to remove special characters without the help of regular expressions.

translate (the column name or string,'!@#$ & * (* () _) * "" :} {?}) >? /, «, » ')

I want to eliminate this manual process to give all special characters using a chr() or ascii() function.

Please show me the way.

Thanks in advance

Similar to the solution of Michael...

SQL > ed
A written file afiedt.buf

1 with t as (select "[it comes of the #] [more amazing!") Test @# "$* & $%) assuming chain cost $ 5 000' double Str)
2, i like (select level 1 c from dual connect by level<=>
3 less
4 Select + 32 (level-1) double connect by level<=>
5 less
6 select + 58 (level-1) double connect by level<=>
7 less
8 select + 91 (level-1) double connect by level<=>
9 less
10. Select 123 + (level-1) from dual connect by level<=>
11 less
12. Select 255 double
13            )
14, ts as (select level r, substr (str, level 1) c
15 t
16 connect by level<=>
17             )
18, tf as (select row_number() (order for r) r
19                    ,ts.c
20 TS
21 I join on (i.c = ascii (ts.c))
22             )
23 select replace (sys_connect_by_path(c,'!'),'! ') Str
24 TF
25 where connect_by_isleaf = 1
26 connect r = prior r + 1
27 * start with r = 1
SQL > /.

STR
-----------------------------------------------------------------------------------------------------------------------
Thisisthemostamazingtest¸astringcosting5000

Or something as horrible as this...

SQL > ed
A written file afiedt.buf

1 with t as (select "[it comes of the #] [more amazing!") Test @# "$* & $%) assuming chain cost $ 5 000' double Str)
2, I like (select replace (sys_connect_by_path (chr (c), 'A'), 'A') as tr)
3 of)
4 select c, rownum r
5 (select 32 + (level-1) as the double connection by level c<=>
6                         union
7 select + 58 (level-1) double connect by level<=>
8                         union
9 select + 91 (level-1) double connect by level<=>
10 the union
11. Select 123 + (level-1) from dual connect by level<=>
12 union
13. Select 255 double
14 tri 1
15                        )
16                  )
17 where connect_by_isleaf = 1
18 log r = prior r + 1
19 start with r = 1
20            )
21 select translate (str, 'A' |) TR, 'A') as str
22 * t, I
SQL > /.

STR
--------------------------------------------------------------------
Thisisthemostamazingtest¸astringcosting5000

Tags: Database

Similar Questions

  • How to remove a Word from the default dictionary of firefox?

    How to remove a Word from the default dictionary of firefox?
    If I wanted to remove the word 'dog' or 'and' for example

    There may be a range of reasons for wanting to do this, including the deletion of the words you use rarely as similar to other common spellings used words for example. "minute" and "Minuet", delete the words that you find personally offensive, or removing words that, because of linguistic or cultural background, you would not consider words at all.

    Note that I'm not asking how to remove my 'dictionary' words, words that I added myself.

    Hello

    I talked to a few people and I think I'm able to help you with this.

    There are two dictionary files, the default that comes with your version of Firefox and personal 'custom' that you create yourself with phrases and words.

    If you want to change the personal;

    1. Copy Subject: support and paste into the address bar.
    2. Next to the profile folder, click the marked File Show
    3. Find the file persdict.dat. Rename a text file, open, modify, re save it as persdict.dat and replace.

    If you want to change the default dictionary, it could be more of a problem and a lot more technique to do. I would recommend that you look at the problem differently and consider filtering of pages based on inappropriate content using Add-ons such as ProCon Latte Content Filter.

    I hope this helps, but if not, please come back here and we can look at another solution for you.

  • How to remove "Skype available" from the top of the notification page?

    How to remove "Skype available" from the top of the notification page - useless promotion!

    Hello!

    Disable the Skype status under Notification settings in Skype.

    All best
    Siim

  • How to remove a city from the weather app in IOS 9.2.1?

    I have an IPhone6S that I bought recently and am running IOS 9.2.1. I can't understand how to remove a city from the weather app. I tried to go to settings, where there is a list of all the applications on my phone except the weather app, so no help there. Any body can help me with this?

    You must tap on the small set of lines in the lower right to get list view. Then you can find the city that you want to delete, drag to the left to see the button Delete.

    See you soon,.

    GB

  • How can remove my account from the cloud to adobe

    How can remove my account from the cloud to adobe

    I would like to unsubscribe the service

    Hi mehranr34543413,

    Please contact the customer service. A customer service agent can help you with this request.

    Best,

    Sara

  • How to remove a user from the application

    How to remove a user from the EBS application?

    12.1.3 R

    Hello

    You can put an end to the user date

    Connect to Oracle Applications - select the responsibility of the system administrator - security - user - define - query with the username - and then you can give the end date in the effective Date column.

  • How to remove unused objects from the webcatalogs?

    Hi friends,

    How to remove unused objects from the webcatalogs?
    is there a utility like the removal of unused objects of the physical layer in RPD?

    Thank you

    Hello

    Click link responses to the left of the answers click on the catalog button manage manage catalog, you can delete the unused objects

    Concerning

    NGO

  • 2 How to remove an element from the tree and the database block tree?

    Hello

    2 How to remove an element from the tree and the database block tree?

    Kind regards

    Abdetu...

    The problem is caused by not sending forms is not a VALIDATION of the database because he thinks that there is no changes to save.

    Forms does know that changes to the data block, he does not know the changes made by the PLSQL INSERT, UPDATE, DELETE calls and procedure.

    Try to remove the line to block, rather than using a DELETION like that...

    go_block ('INSP_EQUIPMENT_TYPE');if form_success then   do_key ('DELETE_RECORD');end if;
    
    
    

    If you wish to continue using your original DELETE instead of my change above code, you can use different techniques to force forms to issue the COMMIT to the database, including this one...

            DELETE ...        FORMS_DDL ('COMMIT');
    

    Be careful... This will be the VALIDATION of the database, but the changes to the data block will not be sent to the database!

    I posted a few other ways to issue a VALIDATION of forms here
    www.seeristic.com/Forum_Posts/Forms_COMMIT.txt

  • If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore all changes since the first full file

    If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore the file with any changes made since the full backup first file...

    If the TM drive storage is full TM automatically deletes the version the oldest files for the new incremental backups can be made. Thus, in this case you cannot restore the versions that TM deleted because it takes more storage.

  • How to restore my Mac from Yosemite to Mountain Lion without losing all my CS5.5?

    How to restore my Mac from Yosemite to Mountain Lion without losing all my CS5.5?

    reinstall your cs5.5

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

    window using the Lightroom 3 link to see these "important Instructions".

  • How to remove individual items from the purchase history?

    Reserved for HOV can I select individual purchases from the App Store on my iPad or iPhone a remove those permanently in history and always keep those I love, or want kerp, in the list. And how can I sort the list, as you could ;-) in Windows 3.0 for MS-DOS

    You can not delete anything of our shopping list.

    You can hide:

    Hide and show purchases from the iTunes or iBooks on your...

  • How to remove a contact from the drop-down list?

    How to remove a contact when, if forwarding a message, the icon flashes in space 'To' to enter the email address, when you press the first letter of a recipient, it displays a list of previous names/addresses used. This can add to a huge list! Most of the time, it is useful, but how can I shorten the list by removing unwanted contacts in the drop-down list? I got them removed from my address book/contacts (and they are deleted) but even after re-booting the computer, their names still appear in the drop-down list as before. All solutions?

    Instead of typing the first letter of the name of the recipient

    Press on the envelope icon to next to the box where you type the name of the recipient

    Opens the selection of recipients

    Highlight the recipient of choice

    Click on the button to

    The name appears in the window of the recipient of the Message

    Windows CC and British Colombia should remain virgins

    Press Ok

    The name of recipients appears in the field to the message

  • How to remove a name from the Hotmail contact list

    I removed my Hotmail contact list name, but it is always on my list of the alphabet. How he remove it from this list?

    Original title: super break

    Hello tom denis,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • How to remove unused readers from the Explorer

    Under 'Computer' in the Solution Explorer, I have the following discs I want to remove and have no idea how to go to delete them because I don't know what some of them are: removable F: Drive; Compact Flash H:; SmartMedia I:' MS/MS Pro J:; Removable drive K:. CD player (l) Smartdrive WD and my book of K.  The only drive I want to keep is the My Book, and I would like to be known as F: drive.  Can someone provide advice?  Thank you, Terri

    Hi TerriDelaware,

    1. What are the external devices connected to the computer?

    2. on what drive you have Windows installed?

    3 is the drive for CD (L) a drive internal or external?

    Removable disks sometimes appear in computer even if they are disconnected. I suggest that you restart the computer and check if it works.

    You will first need to know what contain all readers and what they are.

    Unless you delete or change the F drive on the computer, you cannot apply the letter F for the my book drive.

    You may need to take the local computer tech shop to find out what are all the readers and to remove them from the computer.

    For more information on changing drive letters refer to the link below.

    Change, add, or remove a drive letter

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-add-or-remove-a-drive-letter

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to remove an item from the contextual menu orphan?

    I had a workflow that I added in context menu of Clusters.  I forgot to remove it from the context menu before you delete the workflow, so now it is visible as a choice, but naturally does not start.  Any suggestions on how to get off the context menu now?

    If you have a copy of the workflow on another instance of vRO, the easiest way would be to export from, import it on vRO instance that you use with the Web Client and remove the link of action in the context of the user interface.

    If you don't have a copy of the workflow, you can try the following:

    • SSH for vSphere Web Client device stop vsphere-customer service
    • Delete the /storage/vsphere-client/SerenityDB/serenity/ALL/applications/vco-plugin/context.menu.actions file (you can make a copy of it to the case where)
    • Start service vsphere client (or reboot the power of vSphere Web Client)

    After these steps, all custom context action mappings should have disappeared, including orphans.

Maybe you are looking for