How to discard the special character from field-Table.

Hi
In my data i am having a lot of SPECIAL CHARACTER also involved, I want to display only the consumer name (PURELY), is there any method/function module to discard the special character and display only the A-Z character as stored in DB.
Gaurav

if itab-field CA 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
or
if itab-field CP 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
then do ur else calculation.
else.
delete itab.
Edited by: tahir naqqash on Feb 17, 2009 4:27 PM
Edited by: tahir naqqash on Feb 17, 2009 5:21 PM

Similar Messages

  • How to escape the special character ' (ascii 39) in a select query?

    Hi,
    does anybody know how to escape the special character ' (ascii 39) in a select query?
    I've tried a lot of ways but nothing seems to work, for example I try to get all
    names in table foo where coloumn name contains a '-sign (ascii 39)
    select name from foo where name like '%\'%';
    select name from foo where name like '%{'}%';
    select name from atg_horse where name like '%chr(39)%'
    ... but neither works, I end up with a ORA-01756: quoted string not properly terminated
    I would apriciate any help
    /Carl-Michael

    friends
    thanks for ur time and effort that u gave to reply to my problem.
    But my main problem is that when my application (VC++ 7) fires the following query in the oracle database , it does not return any rows.
    SELECT count(*) FROM ORGANISATION WHERE UPPER(ORGANISATION.ORGANISATIONNAME)
    LIKE N'β%' ORDER BY ORGANISATION.ORGANISATIONNAME
    the above question in the previous thread was just to check on sql plus as it's editor does not support unicode characters.

  • How to use the special character pallet in Maverics with Illustrator

    How to use the special character pallet in Mavericks with Illustrator - I follow the help instructions, but the pasted in object looks like a rectangle with an X, I have done this before, in earlier versions of AI, but cannot make it work in CS6.
    In fact, I can open an old AI file (CS4), copy the character (a graphic symbol, also taken from the special character set), paste it in, and it works, but can't do this with a new one, from the drop down, Show Character Viewer, in the Mavericks menu bar.

    The box with an X indicates the font you are using does not have the glyph you are trying to paste. Try a different font.

  • How to escape the special character ' (ascii 39) in a query

    Hi,
    does anybody know how to escape the special character ' (ascii 39) in a select query?
    I've tried a lot of ways but nothing seems to work, for example I try to get all
    names in table foo where coloumn name contains a '-sign (ascii 39)
    select name from foo where name like '%\'%';
    select name from foo where name like '%{'}%';
    select name from atg_horse where name like '%chr(39)%'
    ... but neither works, I end up with a ORA-01756: quoted string not properly terminated
    I would apriciate any help
    /Carl-Michael

    Use two single quotes inside your literals to represent one single quote.
    For example, this would find my name:
    SELECT *
      FROM emp
    WHERE name = 'Michael O''Neill';
    Michael O'Neill
    (acutely aware of the apostrophe issues in the world)

  • How to delete the duplicate data  from PSA Table

    Dear All,
    How to delete the duplicate data  from PSA Table, I have the purchase cube and I am getting the data from Item data source.
    In PSA table, I found the some cancellation records for that particular records quantity  would be negative for the same record value would be positive.
    Due to this reason the quantity is updated to target but the values would summarized and got  the summarized value  of all normal and cancellation .
    Please let me know the solution how to delete the data while updating to the target.
    Thanks
    Regards,
    Sai

    Hi,
    in deleting the records in PSA table difficult and how many you will the delete.
    you can achieve the different ways.
    1. creating the DSO maintain the some key fields it will overwrite the based on key fields.
    2. you can write the ABAP logic deleting the duplicate records at info package level check with the your ABAPer.
    3.you can restrict the cancellation records at query level.
    Thanks,
    Phani.

  • How to deselect the Radio button from htmlb.table.TableView

    Hi Experts,
    Could you please help me, how to seselect the Radio button from htmlb.table.TableView?
    <hbj:tableView
                                       id="tbvCustomer"
                                       model="mcBean.csModel"
                                       design="ALTERNATING"
                                       headerVisible="TRUE"
                                       footerVisible="TRUE"
                                       navigationMode="BYPAGE"
                                       selectionMode="SINGLESELECT"                               
                                       fillUpEmptyRows="FALSE"
                                       headerText="Searchresults"
                                       visibleRowCount="10"
                                       onNavigate="CustomerSearchNavigate"
                                       visibleFirstRow="<%=mcBean.getCsVisibleFirstRow() %>">
    Problem: After searching and selecting the Customer in the table, then again we are searching for another customer. After that the searched customer is displaying in the Table. By default the table Radio button is selected. Because for first Customer we have selected the Radio button. How we can deselect the FRadio button while searching for another Customer.
    Thanks In Advance.
    Regards,
    Vijay.

    I think it is <2095>.
    In SmartForms, go to your text window. 
    Use the icon on the top left of the text window to switch to the old editor.
    INSERT -> CHARACTERS -> SAP ICONS. 
    Do a FIND on "radio".  It's called ICON_WD_RADIO_BUTTON_EMPTY.

  • How to allow the special character in folder or filename

    when i add the special character "&" in folder or file name it gives following error
    "The file or folder name "P&A" contains invalid characters. Please use a different name. Invalid characters include the following: ~ " # % & * : < > ? / \ { | }. The name cannot begin or end with dot and cannot contains consecutive dots."
    how can i allow these character in folder or file name.
    waiting

    Hello to everybody
    It's ok for the ~ " # % & * : < > ? / \ { | } characters, they cannot be allowed,
    but in a lot of languages there are letters like  è é à ù ò that are accepted for path and/or filename;
    how to allow these characters? Moss indexes them but when doing some searches and clicking on these files, in the new internet explorer windows the file cannot be opened abd examining the url the è é à ù ò are replaced with other character.
    Thanks in advance to everybody
    Regards to all
    Roberto GerlandoGerly

  • How to get the row difference from two tables

    I am not good at SQL. Here is a problem I am having
    I have two tables say Employee_Master and Employee_Today. Employee_Today table is basically a subset of Empolyee_Master. At a given time, I want to query the database and and get all the employee names from Employee_Master table that are NOT in the Employees_Today table. How would I write that?
    Select a.name from Employee_Master a, Employee_Today b where ..........?
    Thanks for suggstions

    if i understand your requirement correctly try this:
    Select a.name from Employee_Master a
    Where  Not Exists
          (Select 'x' From Employee_Today b
           Where  b.name = a.name) ;hope this helps

  • How to save the  selected rows from Advance table into database

    Hi
    I have requirement like..
    In custom page , Manager Search the Candidates and selects the candidate ROWS from advance table.
    The reqt is how to save the selected multiple rows into the database.

    hi Reetesh,
    In Custom page
    Supoose the Recruiter Search is for Position Finance Mangager , it retrieves 100 rows , out of which Recruiter select 10 rows .
    So in Such scenario how to save this 10 rows against Recruiter
    , i mean , Is i need to create custom table, to save Recruiter , these selected 10 rows.
    I hope u understand my question

  • How to find the special character in a give string/sentance

    Hi All,
    I have one task to complete with in the give time. Since i am not very good in PL/SQL i need your your help.
    Requirement is :
    I have to come up with the SQL or PL/SQL code which should return and find the special or hidden character in the datafiles name in a database. There are nearly 400+ database are present in almost all the flavor of UNIX and i have to check the each and every database.
    As you know , Name of the data file will be like this :
    /u02/instance_name\oradata\datafile_01.dbf So it should avoid these things and find out only the special characters in the datafile name.
    a-z , A-Z , 0-9 and \ Please keep in mind that ...... I will be firing the Oracle script from Oracle 9i client which will access all the database from Oracle 9i to 11g in one short and give me the result.
    Please help me to resolve this issue and let me know if you need more information.

    Hi,
    Mukesh wrote:
    Hi Frank,
    This is excellent function. Thanks for you responce.
    I want to modify this query in such a way that .... i should get only those datafiles name which are holding special characters. I don't know how to put this in where condition. :( Here's one way:
    SELECT  file_name
    ,       ...     -- other expressions, if you want any
    FROM    dba_data_files
    WHERE   TRANSLATE ( file_name
                      , '?0123456789.ABCDEFGHIJKLMNOPQRSTUVWXYZ\_/abcdefghijklmnopqrstuvwxyz'
                      ) IS NOT NULL Among the other expressions you can put into the SELECT clause (if you want to) is a copy of the TRANSLATE function, as you had in your message. That would highlight exactly which character(s) made the file_name invalid.

  • How to know the Special character?

    I am using Release 10.2.0.1.0 version of oracle. I am getting a special character, but i suspect it as any other language caharacter.
    Its appearing in my 'TOAD editor/Sql prompt editor' as 'A?'. but when i am selecting it from the table using below query, its giving 'No rows Returned'.
    select id from tab1 where id like 'A%';
    Please let me know, how can i be able to see the exact character or which editor will enable me to see the character?
    I think sql developer GUI might be able to show the same but i dont have sql developer with me.

    930254 wrote:
    I am using Release 10.2.0.1.0 version of oracle. I am getting a special character, but i suspect it as any other language caharacter.
    Its appearing in my 'TOAD editor/Sql prompt editor' as 'A?'. but when i am selecting it from the table using below query, its giving 'No rows Returned'.
    select id from tab1 where id like 'A%';
    Please let me know, how can i be able to see the exact character or which editor will enable me to see the character?
    I think sql developer GUI might be able to show the same but i dont have sql developer with me.select ASCIISTR(id) from tab1 where id like 'A%';

  • How to return the entire row from a table

    Hi guys,
    Tabl A
    FirstName varchar2(10),
    Age Number,
    Add varchar2(100),
    Table B
    Filedname varchar2(200), -- contains all the fields of table A
    Datatype varchar2(100), -- Contains the datatypes of the filedname
    Length Number -- contains the length of the fileds
    Now how can i return the entire row from table A with the datatype and its length.
    Any help would be appreciated ?
    Here is the query I wrote but it how to take the datatype and its length..
    create or replace procedure disp_table_data
    as
    type r_cursor is REF CURSOR;
    c_A r_cursor;
    er A%rowtype;
    begin
    open c_A for select * from A;
    loop
    fetch c_A into er;
    exit when c_A%notfound;
    dbms_output.put_line(er.FirstName||'--'||er.Age);
    end loop;
    close c_A;
    END;
    /

    Guys,
    I want column value from table A and its corresponding data_type and length from table B. I think I cant do it through joins.
    Any idea would be appreciated ?.
    Example ..
    Tabl A
    FirstName varchar2(10),
    Age Number,
    Add varchar2(100)
    insert into A values('John',24,'Boston');
    Table B
    Filedname varchar2(200), -- contains all the fields of table A
    Datatype varchar2(100), -- Contains the datatypes of the filedname
    Length Number -- contains the length of the fileds
    insert into B values('FirstName','varchar2',10); -- this is coming from table A.
    Output should be like this...
    John,Varchar2,10
    Here (John is the FirstName - coming from table A, Varchar2 is a Datatype and 10 is the Length which are coming from table B ). Only column values are coming from table A , corresponding datatype and length are coming from B.
    Any idea would be appreciated ?
    Thanks.

  • How to delete the committed row from a table from its VOImpl class ??

    I am new to ADF and I have problem to solve. To perform roll back I am using fetching key before roll back and setting it after undo operation, so that I can stay back in the currently selected row. But in my case I am using application model commit for one LOV attribute selection in the row. So when ever I am performing roll back operation after inserting a row, the values other than this committed LOV attribute gets roll backed, but I need remove the entire row from table. Does there any option to remove a row based on the attribute values of a row from VO's row implementation or from bean class in a performance optimized way ?
    Thanks in advance..........

    http://java.sun.com/javase/6/docs/api/javax/swing/table/DefaultTableModel.html#removeRow(int)
    Why did you mark it answered but gave no dukes to finalight? That's not how it works.
    You should mark his answer as correct and give him at least one duke, for the effort!

  • How to get the insert scripts from a table data

    hi all,
    i want insert scripts for 100 records from a table.
    suppose i have a table xyz
    xyz:
    id name
    1 abc
    2 def
    i should get insert script for 100 rows like
    insert into xyz(id,name) values (1,'abc');
    insert into xyz(id,name) values (2,'def');
    i want 100 records data from all the tables from my database.
    thanks in advance to all.

    SQL> create table xyz (id number, name varchar2(10));
    Table created.
    SQL> insert into xyz values(1,'abc');
    1 row created.
    SQL> insert into xyz values(2,'def');
    1 row created.
    SQL> select 'insert into xyz values(id,name) values('||id||','''||name||''');' from xyz;
    'INSERTINTOXYZVALUES(ID,NAM
    insert into xyz values(id,name) values(1,'abc');
    insert into xyz values(id,name) values(2,'def');
    SQL>- - - - - - - - - - - - - - - - - - - - -
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com
    [Step by Step install Oracle on Linux and Automate the installation using Shell Script |http://kamranagayev.wordpress.com/2009/05/01/step-by-step-installing-oracle-database-10g-release-2-on-linux-centos-and-automate-the-installation-using-linux-shell-script/]

  • How to disable the special character input by Option key?

    Hi, all!
         I'm a eclipse developer and I'm get used to type (alt + /) shortcut for code tip in eclipse, but in Mac, when I type (option + /), I got ÷ symbol, how can I disable this functionality in Mac?
    Many thankS

    On the U.S., U.S. Extended, and U.S. International PC keyboards, the option key turns the / character into ÷.
    In the System Preferences > Keyboard Preferences > Keyboard Tab > Modifier Keys... you can actually set the option key modifier to No Action. It does what it says and option + / is exactly what you get.

Maybe you are looking for

  • Ipod Shuffle Problem [HELP]

    well im not sure if this is the right place, but im having trouble with itunes, when i try to copy music to my Ipod Shufle it says "The Ipod cannot be updated. The disk could not be read from or written to." but it works on my old computer =( well he

  • File Upload issue in MVC

    Hi, For my MVC application, I have created a main controller. On the DO_REQUEST of the main controller, I am setting the sub controllers, and directly calling that controller using create_controller, controller_set_active, and call_controller. I incl

  • I have an iPad 2 -- 32 GB memory... can the memory be upgraded?

    I just have lots and lots of apps and want more space without having to keep deleting apps to make room for more apps.

  • Where did my photos on my iPhone go?

    I have the iPhone 4 and I updated to ios5. Recently a good chunk of the photos I had saved on my phone disappeared. The ones that disappeared were more recently taken and my oldest ones from july are still there.  I don't know what happened bc I didn

  • Archiving - Performance

    Hi Friends,      We had Archived  FI  data for year 2005 for a table      When we run the select query for that table for year 2005 , it is taking lot of time , around 60,000 secs When we run for 2006,2007 and 2008 , select query is completed within