very special characters in columns

I am trying to remove special characters from a db column using the below query, but I'm not getting results can someone help

Select replace (CHR. (5) |) ' ABC'. Chr (1) | ' lkaljsk', Chr (5) | » '|| Chr (1)) double

SQL > select regexp_replace (CHR. (5) |) ' ABC'. Chr (1) | ' lkaljsk ',' [' | CHR. (5) |] » ' || Chr (1) | ') of double
2.

A
----------
abclkaljsk

SQL >

SY.

Tags: Database

Similar Questions

  • How to get special characters in the oracle column only

    Hi all

    with spec_tab

    as

    (

    Select ',' col1 of double

    Union

    Select ',' col1 of double

    Union

    Select 'something' double

    )

    Select col1

    of spec_tab

    How to get special characters in the oracle column only

    You mean like this?

    -------------

    WITH spec_tab
         AS (SELECT ',,,,' col1 FROM DUAL
             UNION
             SELECT ',' col1 FROM DUAL
             UNION
             SELECT 'some thing' FROM DUAL)
    SELECT col1
      FROM spec_tab
      where translate('~'||col1,'~0123456789abcdefghijklmnopqrstuvwxyz ','~')<>'~'
    

    Output:

    -----

    COL1

    ,

    ,,,,

    See you soon,.

    Manik.

  • What is the differece between a Standard report column and that is set to display text (escape special characters)?

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    Hello friends,

    My requirement is

    I want to create a table. Presents some columns to display text.

    so my question is,

    What is the difference between a Standard report column and display text (escape special characters) in the attribute column property?

    Kind regards

    Arianne.

    Here is the difference:

    • Standard report column: this is used when your column in the SQL query returns the HTML markup. For example the query SQL with APEX_ITEM API columns or columns where you have mixed data in the column with the markup. In short, APEX rendering engine treats the column as HTML markup and analysis accordingly to display the required HTML element.
    • Display text (escape special characters): this type analysis the column data in the form of data stored in the database (no HTML). During analysis if the data contains special characters then it escapes and displays the data.

    Yes, you can mix the manual in the form of built on APEX_ITEM with normal standard report (display text) columns.

    I hope this helps!

    Kind regards

    Kiran

  • Column header in the interactive report with special characters

    Interactive column heading in the report sorting and filtering is broken when I used special characters in it.

    Column sorting options appear in the wrong place and the page becomes unresponsive.

    Cause: I use a slash "/" in my query and who broke it. I tried ampersand and the same problem exists.

    Query: Select project name, status ' Open/closed' projects;

    This problem does not exist in the classical report, but only in interactive report

    Version: Apex 4.2.4

    Here's a demo app with the problem I'm talking about. Trying to sort the column entitled ' open/closed '.

    http://Apex.Oracle.com/pls/Apex/f?p=12289

    U:testuser

    P:test

    The issue is identical to an another forumn.

    https://community.Oracle.com/message/11156426

    However, I have just created this new discussion with the hope that this minor bug might be fixed in the next version of the apex.

    During this time, no workaround or suggestions are welcome.

    I tried to make the column "Remove HTML and special characters", but that did not help. I think I have a header of column with some special characters is a pretty basic requirement apex should support.

    Hello

    I guess simple fix is that not not to use the query column aliases where is /.

    But you can use ' Open/closed' as an attribute of the column header.

    Kind regards

    Jari

  • Function to remove special characters in a column.

    Hi all

    In one of my column, we get special characters, as well as others. The data are extracted and loaded through Informatica. We are not face any problem while loading into the target, but when we try to extract these data through the report, it fails with the error:

    ORA-29275: partial multibyte character sets

    When we check this column, we find the special characters. Initially, we have implemented logic with the CHR to replace these NULL values. But every time we get different values. To make the permanent solution, we decided to remove all characters except available on Board of the key.

    Now, to this end, I need to write a function in Oracle's PL/SQL. I do not know more easy way from there to achieve. If I go with the CHR() function, I have to write for all these characters, which I think is not the right solution.

    Enjoy, if someone can help me identify the function or the way to get there.

    Thanks in advance.

    Hello

    AceNovice wrote:

    ... we have decided to remove all characters except available on key board...

    It depends on your keyboard.

    All that is on the keyboard you, something similar to this shoud work:

    REGEXP_REPLACE (string_column

    , '[^]0-9A-Za-z~!@#$%^&*()_+`={}| [\:";'' <>?,./-]'

    )

    This will return a copy of string_column, but with all the characters that are not not in the 2nd deleted argument.

    [Inside the brackets, ']' must come first (immediately after the ' ^') and '-' must come last.

  • How to limit the special characters for a specific column

    Dear gurus,

    I have a table with a field Champ_1 emp

    in this particular Champ_1 is an address column where the data can be as ' 12 st first floor"but suppose by mistake the user has entered data as 12 st first floor & ' must be restricted (not using relaxation but can this be possible using constraints) so for this we can how to restrict the special characters only not to get entered in the column.


    Kind regards
    friend

    Yes you can do it like this

    SQL> create table t (field_1 varchar2(4000));
    
    Table created.
    
    SQL> alter table t add constraint t_chk check(length(regexp_replace(field_1, '[[:alnum:]|[:space:]]'))=0);
    
    Table altered.
    
    SQL> insert into t (field_1) values ('12 st first floor');
    
    1 row created.
    
    SQL> insert into t (field_1) values ('12 st first floor & ');
    insert into t (field_1) values ('12 st first floor & ')
    *
    ERROR at line 1:
    ORA-02290: check constraint (ARBORU.T_CHK) violated
    
    SQL> 
    
  • How to query a column to see if it contains special characters?

    What is the best way to know if a column has all special characters in it?

    Is there a special feature of Oracle to detect special characters?

    Also, these are the only special characters in Oracle?
    ,
    &
    =
    ?
    { }
    \
    ( )
    [ ]
    -
    ;
    ~
    |
    $
    !
    >
    *
    %
    _

    alnum are all alphanumeric characters so if you do not use almun it would work for you?

    with t as (
    select 'fdsa%fdsa' txt from dual union all
    select 'fdsa{qzjhgf' from dual union all
    select 'frsed' from dual union all
    select '8765885)#' from dual
    )
    select t.* from t
    where regexp_like(txt,'[^[:alnum:]]')
    
  • Special characters escaped HOWTO if you use regexp_replace and regexp_substr

    Hello experts,

    following test case

    insert into querytest1 (d) values

    ("#1 (170): [{'type': 'FACEBOOK', 'count': 0, 'Larry': 1382627403299}, {'type': 'GOOGLE', 'count': 0, 'Larry': 1381825285002}, {'type': 'EMAIL', 'count': 2, 'Larry': 1381826322925}] #2(0): #3 (5):-3141 #4 (5):-3141 #5 (5): 21804 #6: (7) 3890750 #7(3): s11'");

    Select regexp_replace (d, REGEXP_SUBSTR (REGEXP_SUBSTR (d, ' [^] +', 1, 1), "[^:] +' 1, 2"), ") of querytest1;

    ERROR on line 1:

    ORA-12726: unparalleled support in regular expression

    evidence that the characters special [] {} are the problem:

    delete from querytest1;

    commit;

    -Insert data without special characters

    insert into querytest1 (d) values (' #1 (170): 'type': 'FACEBOOK', 'count': 0, 'Larry': 1382627403299, 'type': 'GOOGLE', 'count': 0, 'Larry': 1381825285002, 'type': 'EMAIL', 'count': 2, 'Larry' [: 1381826322925] #2(0): #3 (5):-3141 #4 (5):-3141 #5 (5): 21804 #6: (7) 3890750 #7(3): s11');

    Select regexp_replace (d, REGEXP_SUBSTR (REGEXP_SUBSTR (d, ' [^] +', 1, 1), "[^:] +' 1, 2"), ") of querytest1;

    REGEXP_REPLACE (D, REGEXP_SUBSTR (REGEXP_SUBSTR(D,'[^]+',1,1),'[^:] +', 1, 2), ")

    --------------------------------------------------------------------------------------------------------------------

    [#1 (170): 'FACEBOOK', 'count': 0, 'Larry': 1382627403299,: 'GOOGLE', 'count': 0, 'Larry': 1381825285002,: 'EMAIL', 'count': 2, 'Larry': 1381826322925,: 'EMAIL', 'count': 2, "Lamarre": 1381826322925] #2(0): #3 (5):-3141 #4 (5):-3141 #5 (5): 21804 #6: (7) 3890750 #7 (3): s11

    so now it works because there is no characters [special])

    is there a way to escape them?

    Thank you in advance.

    Hello

    Since you are using Oracle 11.2, you can do it with a WITH recursive clause, like this:

    MERGE INTO dst t

    WITH THE HELP OF)

    MORPHING (q, result, n_to_do, start_pos, end_pos) AS

    (

    Q SELECT

    ,       d || ' ' AS a result

    REGEXP_COUNT (q

    , '#\d+\(\d+\):'

    ) AS n_to_do

    REGEXP_INSTR (q,

    , '#\d+\(\d+\):'

    1

    REGEXP_COUNT (q

    , '#\d+\(\d+\):'

    )

    ) AS start_pos

    LENGTH (q) AS end_pos

    T

    UNION ALL

    Q SELECT

    REPLACE (result

    , ':' || n_to_do | ' '

    , NVL (RTRIM (REGEXP_SUBSTR (SUBSTR (q, 1, end_pos))))

    , '#\d+\(\d+\):(.*)'

    start_pos

    1

    NULL

    1

    )

    )

    , 'NULL '.

    )

    ) AS a result

    , n_to_do - 1 AS n_to_do

    REGEXP_INSTR (q,

    , '#\d+\(\d+\):'

    1

    BIGGER (1

    , n_to_do - 1

    )

    ) AS start_pos

    REGEXP_INSTR (q,

    , '#\d+\(\d+\):'

    1

    n_to_do

    ) - 1 AS end_pos

    MORPHING

    WHERE n_to_do > 0

    )

    Q SELECT, result

    MORPHING

    WHERE n_to_do = 0

    ) CBC

    WE (dst.q = src.q)

    WHEN MATCHED THEN UPDATE

    SET dst.result = src.result

    ;

    You can have any number of rows in table t, but they must have a unique key.  I assumed q was unique, highest, but it can be a column or combination of columns.

    It works with any number of values.

    The character "#" can occur in the values, just that it does not part of the point of shells #-figures-leftparen-figures-rightparen-colon. If "#" occurs in this model, you can't simplify regular expressions, as John.

    The above solution was written for the table that you posted in response #6, where q contained values, and d was the formula with the holders of the place for values.  You seem that overthrew in your last message, you may need to reverse I used q and d.

    Whatever your problem, it seems to be a way very uncomfortable to solve.  You need to rethink your data model.  In particular, stroring data in delimited as q lists are a bad idea.  Relational databases work best when when each column contains a single value, not a list of any number of values.  It is so basic to the design of database he called first normal form.

    This would help a lot if post you more simple examples.  Instead of having 7 values, some close to 200 characters, you could show the problem just as well (better, in fact) with 3 or 4 values, no tha 10 don't characters each.

  • Use special characters without alt or numlock.

    Accidentally, I inserted a note of music when the chat on facebook.  I liked it and want to know what I did and how I can insert more!  I tried special characters, but I do not have numlocks or a keyboard to use the Alt key pressed.  Can someone help me understand what I've done?

    Hello

    Chances are that it's pure coincidence when you hit two keys next and the signal sent to the keyboard buffer has been corrupted or misinterpreted. Normally, the musical notes are obtained through the use of the key and 13 or 14. You can watch your message to see if you can determine what letter you were trying to type when the note appeared, some experiences may be able to recreate the character.

    For example, I have a working pc with a similar response that is very reproducible on this computer only. If I hit the 'p' and '[' keys at the same time, it will create a sign of one hundred US on the screen. I can't get any other machine to recreate, it is specific to this keyboard. Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Special characters in sql

    Hello

    I had a question about the escaping special characters in Oracle. Let's say I have a table column that contains data like '% _Tester % '. I ideally if we do a select on this table, it would be something like

    Select * from table where column like '% \_TEST%' escape ' \'

    However, when I run this query on sql developer

    Select * from table where column like 'TEST %', it returns the same result. (without exhaust the character special _.)

    I was just wondering, if this is because default sqldeveloper escapes special characters? or do we still have to write the leak as a good practice?

    Thank you!

    Ryan

    Lines that are LIKE 'TEST %' will include all lines that are LIKE '\_TEST% %' ESCAPE ' \'. If all lines which that interest you conform to the mask, they will also appear when you perform the first. You can have records that correspond to the first but not the second, although:

    SQL > create table testdata until

    SELECT 'ABCTESTXYZ' val double UNION ALL

    SELECT "AB_TESTXYZ" FROM double

    Table created.

    SQL > SELECT * FROM testdata WHERE val LIKE '\_TEST% %' ESCAPE ' \'

    VAL

    ----------

    AB_TESTXYZ

    1 selected line.

    SQL > SELECT * FROM testdata WHERE val LIKE '% TEST % '.

    VAL

    ----------

    ABCTESTXYZ

    AB_TESTXYZ

    2 selected lines.

  • Problems with special characters with Apex5

    Hello together,

    I hope, I'm right on this forum with this problem, I have found no other best match.

    I have a single database called apex12D on 12.1.0.2 it's my database of the 5 Apex develompent. Apex 5.0.2 is installed, also the German language of Apex. The OS is Oracle Linux 6.

    On a second machine that I have configured the Oracle Data Service remains with tomcat (installed from the repositories) and apache (also installed deposits), running on the Oracle Linux 7 operating system. This machine is my "http server" to connect to my Apex environment. Everything is very well workung, but when I go on my Apex Admin Backend all special characters in German (A, U, O,...) are displayed incorrectly. Which looks very good.

    What makes that I made:

    To the database (apex12D), I put all the nls paramereters the installation of the database of German letters:

    SYS@apex12D> select * from nls_database_parameters;
    
    
    PARAMETER VALUE
    ---------------------------------------------------------
    NLS_RDBMS_VERSION 12.1.0.2.0
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_LENGTH_SEMANTICS BYTE
    NLS_COMP BINARY
    NLS_DUAL_CURRENCY ?
    NLS_TIMESTAMP_TZ_FORMAT DD.MM.RR HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
    NLS_TIMESTAMP_FORMAT DD.MM.RR HH24:MI:SSXFF
    NLS_TIME_FORMAT HH24:MI:SSXFF
    NLS_SORT GERMAN
    NLS_DATE_LANGUAGE GERMAN
    NLS_DATE_FORMAT DD.MM.RR
    NLS_CALENDAR GREGORIAN
    NLS_NUMERIC_CHARACTERS ,.
    NLS_NCHAR_CHARACTERSET UTF8
    NLS_CHARACTERSET AL32UTF8
    NLS_ISO_CURRENCY GERMANY
    NLS_CURRENCY ?
    NLS_TERRITORY GERMANY
    NLS_LANGUAGE GERMAN
    
    
    20 rows selected.
    

    SPFILE parameters tells a different story, I tried to put them with "change the database < parameter > = < value > scope = spfile" and if a database has restarted, nothing changes.

    SYS@apex12D> show parameter nls
    
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    nls_calendar                         string      GREGORIAN
    nls_comp                             string      BINARY
    nls_currency                         string      $
    nls_date_format                      string      DD-MON-RR
    nls_date_language                    string      AMERICAN
    nls_dual_currency                    string      $
    nls_iso_currency                     string      AMERICA
    nls_language                         string      AMERICAN
    nls_length_semantics                 string      BYTE
    nls_nchar_conv_excp                  string      FALSE
    nls_numeric_characters               string      .,
    nls_sort                             string      BINARY
    nls_territory                        string      AMERICA
    nls_time_format                      string      HH.MI.SSXFF AM
    nls_time_tz_format                   string      HH.MI.SSXFF AM TZR
    nls_timestamp_format                 string      DD-MON-RR HH.MI.SSXFF AM
    nls_timestamp_tz_format              string      DD-MON-RR HH.MI.SSXFF AM TZR
    SYS@apex12D>
    

    Interestingly, it is that when I write a pfile to the bottom of my spfile and open it with vi, everything looks great. But OK.

    apex12D.__data_transfer_cache_size=0
    apex12D.__db_cache_size=2030043136
    apex12D.__java_pool_size=50331648
    apex12D.__large_pool_size=385875968
    apex12D.__oracle_base='/usr/local/oracle'#ORACLE_BASE set from environment
    apex12D.__pga_aggregate_target=536870912
    apex12D.__sga_target=3221225472
    apex12D.__shared_io_pool_size=150994944
    apex12D.__shared_pool_size=570425344
    apex12D.__streams_pool_size=16777216
    *.audit_file_dest='/usr/local/oracle/admin/apex12D/adump'
    *.audit_trail='db'
    *.compatible='12.1.0.2.0'
    *.control_files='+DATA_QUM169/APEX12D/CONTROLFILE/current.505.898513523','+FRA_QUM169/APEX12D/CONTROLFILE/current.2094.898513525'
    *.db_block_size=8192
    *.db_create_file_dest='+DATA_QUM169'
    *.db_create_online_log_dest_1='+DATA_QUM169'
    *.db_create_online_log_dest_2='+FRA_QUM169'
    *.db_domain=''
    *.db_name='apex12D'
    *.db_recovery_file_dest='+FRA_QUM169'
    *.db_recovery_file_dest_size=10240m
    *.diagnostic_dest='/usr/local/oracle'
    *.dispatchers='(PROTOCOL=TCP) (SERVICE=apex12DXDB)'
    *.local_listener='LISTENER_APEX12D'
    *.log_archive_dest_1='LOCATION=+FRA_QUM169'
    *.log_archive_dest_2='LOCATION=+DATA_QUM169'
    *.log_archive_format='%t_%s_%r.dbf'
    *.nls_currency='$'
    *.nls_date_language='GERMAN'
    *.nls_dual_currency='$'
    *.nls_iso_currency='GERMANY'
    *.nls_language='GERMAN'
    *.nls_territory='GERMANY'
    *.open_cursors=300
    *.pga_aggregate_target=512m
    *.processes=600
    *.recyclebin='OFF'
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_target=3072m
    *.undo_tablespace='UNDOTBS1'
    

    The server' http' ADR is configured under the orards user, so I've put this in the .bash_profile:

    NLS_LANG=GERMAN_GERMANY.AL32UTF8
    
    
    export NLS_LANG
    

    The same I did for the root, just for test user, because only root can start tomcat and apache systemctl. Apache and tomcat user/bin/nologin as Bash, so I think that their bash_profile will not if I create a.

    But nothing really worked. Can anyone help please?

    Thank you and best regards,
    David

    Hello

    good German special characters are agree on the first server in ther, but not the second? I have this behavior when I set NLS_LANG = GERMAN_GERMANY. AL32UTF8 when I install the extension of the German language.

    Best regards

    Thomas

    (Grussle aus Böblingen)

  • Data type for special characters

    Hi all

    I am working in Oracle 11 g r2 EE and Linux operating system. We need to insert special characters in table as! @# $.

    What type of data we use for the column.  I used varchar2 (100). .as data type... is this good or any other data type better we have for the storage of special characters.

    create table conv_defp (conv_id varchar2 (100));

    In the conv_id column we want to insert special characters.

    ! @$# are not more special than to abcd

    VARCHAR2 is fine

  • ExtendScript handling special characters

    Hello

    I'm working on my first script for After Effects. I've never worked with JavaScript so please bare with me if the answer to my question is very simple.

    I am simply read a .txt file and parses strings in variables. I then take these variables and using the strings to populate the text layers in After Effects. Everything works perfectly and more that he will not perform "special characters" in the Spanish language. How JavaScript to allow these characters to be filled in text layers?

    Here is my code:

    MAIN FUNCTION

    var newFile = File.openDialog ("file read.");

    If (newFile! = null) {}

    var a = readDocument(newFile,_1).contentAry;

    replaceText (a);

    }

    Checks if the document exists-> If Yes, creates new table and populates file

    function readDocument (inputDoc, linesToSkip) {}

    var curDoc = new queue (inputDoc);

    {if (curDoc.Exists)}

    var contentAry = new Array();

    curDoc.open ("r");

    fills up to the end of the txt file

    {while(!curDoc.EOF)}

    contentAry [contentAry.length] = curDoc.readln ();

    }

    curDoc.close ();

    }

    Replaces the normal table space characters

    contentAry.splice (0, linesToSkip);

    var contentList = contentAry.join("_gap_").toString () replace (new RegExp ("_gap_", "g"), '\r');

    contentAry = contentAry;

    return {}

    'contentAry': contentAry,

    "contentList": contentList

    }

    }

    Function to replace text in layer

    function replaceText (content) {}

    try {}

    variables for specific layers that are targeted

    var layerOneA = app.project.item (3) .layer (1);

    var layerTwoA = app.project.item (3) .layer (2);

    var layerThreeA = app.project.item (3) .layer (3);

    var layerOneB = app.project.item (4) .layer (1);

    var layerTwoB = app.project.item (4) .layer (2);

    check that the parameter passed through to the function is an array

    If {(contents instanceof Array)

    var curLine, lineOne, lineTwo, lineThree, lineFour, pl;

    var aryLength = content.length;

    runs the table & analysis of its data to variables

    for (var i = 0; i < aryLength; i ++) {}

    curLine = happy [i];

    PL = parse (curLine);

    lineOne = pl.title;

    lineTwo = pl.msg;

    lineThree = pl.tune;

    lineFour = pl.name;

    Another used for loop so the function works on the main compositions (all nested these comps)

    for (var x = 0; x < 2; x ++) {}

    if(x == 0) {}

    layerOneA.sourceText.setValue (lineOne);

    layerTwoA.sourceText.setValue (lineTwo);

    layerThreeA.sourceText.setValue (lineThree);

    } else {}

    layerOneB.sourceText.setValue (lineOne);

    layerTwoB.sourceText.setValue (lineThree);

    }

    }

    docName.name.setValue (lineFour);

    Alert (docname. (Name)

    }

    }

    '\r',} catch (err) {alert (err.line.toString () + err.toString ())};

    }

    Split strings in the table into separate objects

    function parse (myText) {}

    {while (!) MyText.EOF)}

    var t = myText.split ("\t");

    return {}

    'title': t [0],

    'msg': t [2],

    'tune': t [3].

    'name': t [4]

    }

    }

    }

    Thank you very much for your help!

    The file object has a 'encoding' property, see the Guide to the JavaScript section on "Unicode i/o tools.
    Make sure you read the txt file in the encoding it is written. Better to use an encoding like utf8 that supports way more special than ascii symbols, for example.

  • Remove the spaces and special characters.

    Hi all

    Here is the table of phone having a column that is 'phno' and the values are the below in this format.

    I need given the output.

    My client uses oracle 8i version.

    EmplId

    PhNO

    output

    121212

    605/339-9276

    6053399276

    222222

    251/813-0663

    8132510663

    323232

    208-585-1594

    2085851594

    232323

    352.735.8285

    3527358285

    Thank you

    music

    Hello

    DEFINITION of use,

    If it is possible to enumerate all special characters, do this way:

    SELECT emplid, phno

    REPLACE (phno

    , '9 ./'

    , '9'

    ), Exit

    FROM table_x

    ;

    If it is impossible, or if it is easier to display the characters that you want to keep, then do it like this

    SELECT emplid, phno

    REPLACE (phno

    , '9  || TRANSLATE (phno

    , ' ?' 0123456789

    . '?'

    )

    , '9'

    ), Exit

    FROM table_x

    ;

    Whatever it is, the argument 3 of TRANSLATE is one of the characters that you want to keep (any), and the 2nd argument is that same character, followed by all the characters that you want to remove.

    Nevermind, you use such an old version.  Regular expressions are much easier.

    This will leave 1 "at the beginning of '13527358285'.  How to remove characters like this depends on means exactly what "characters like this.  It can probably be done in Oracle 8 without too many problems, according to your needs.

  • 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

Maybe you are looking for

  • How can I change the name of the ion HD my Time Capsule airport

    My time capsule airport has changed its name to data and now I can't use it. What can I do?

  • Old Time Capsules

    After crossing two Capsules time (first and second generation), in a period of eight years and read all kinds of discussions about planned obsolescence or simply knowing that everything has to die later, it suddenly struck me that one of the biggest

  • What type of ram is used in the retina 27 '' new?

    What type of ram is used in the retina 27 '' new?

  • Reset AO 0 off after trigger

    Hi all My request is configured to synchronously for and very process two analog inputs and generate two analog voltages output. The application works perfectly but have some problems with a small addition, I try to do. What I'm trying to implement n

  • Help! compatibility of spare parts

    Good evening. I have a HP DV5-1105EL. Today, I broke the frame of the screen. Now, my cousin has a HP 1103el broke, and he wants to give me the frame of the screen of his laptop computer. I want to know: this bezel is compatible with my 1105el? Thank