Check the column data contains alphanumeric data

I want to retrieve the column data from the table if the column data contains alphanumeric data
Ex: select column1 from table1 where column1 contains alphanumeric data.column1 is declared as varchar2.
Is the any function defined to check for alphanumerics in sql query?
Thanks!!

Like this ?
SQL>
SQL>  WITH Sample_Data AS (SELECT '3874' col FROM DUAL UNION ALL
  2                        SELECT '74' col FROM DUAL UNION ALL
  3                        SELECT '123' col FROM DUAL UNION ALL
  4                        SELECT '22FRE' col FROM DUAL UNION ALL
  5                        SELECT 'ABCD' col FROM DUAL UNION ALL
  6                        SELECT 'AB33FRE' col FROM DUAL
  7                         )
  8   SELECT col from Sample_data
  9    WHERE REGEXP_LIKE(col,'[[:alpha:]]')
10    AND REGEXP_INSTR(col,'[0-9]')>0;
COL
22FRE
AB33FRE
SQL>

Similar Messages

  • How to find the Column data type changes in table

    Hi All,
    I need to find out the column data type changes where made recently in table .
    How do i check past changes in column data type. Any data dictionary are there to find out the data type changes in the column .
    Thanks in advance..

    <FONT FACE="Arial" size=2 color="2D0000">
    You have the answer on hand (user_arguments / all_arguments)!
    SQL> desc user_arguments
    Name                                      Null?    Typ
    OBJECT_NAME      VARCHAR2(30)
    PACKAGE_NAME     VARCHAR2(30)
    OBJECT_ID     NOT NULL NUMBER
    OVERLOAD       VARCHAR2(40)
    ARGUMENT_NAME  VARCHAR2(30)
    POSITION       NOT NULL NUMBER
    SEQUENCE       NOT NULL NUMBER
    DATA_LEVEL     NOT NULL NUMBER
    DATA_TYPE      VARCHAR2(30) --> Data Type
    DEFAULT_VALUE  LONG
    DEFAULT_LENGTH NUMBER
    IN_OUT         VARCHAR2(9) -->Argument direction (IN,OUT,or IN/OUT)
    DATA_LENGTH    NUMBER
    DATA_PRECISION NUMBER
    DATA_SCALE     NUMBER
    RADIX          NUMBER
    CHARACTER_SET_NAME VARCHAR2(44)
    TYPE_OWNER         VARCHAR2(30)
    TYPE_NAME          VARCHAR2(30)
    TYPE_SUBNAME       VARCHAR2(30)
    TYPE_LINK          VARCHAR2(128)
    PLS_TYPE           VARCHAR2(30)
    CHAR_LENGTH        NUMBER
    CHAR_USED          VARCHAR2(1)
    Look for Data_Type where IN_OUT say OUT. That will be the data type retruned by that function.
    Edited :
    or POSITION in argument list,or null for function return value
    -SK
    </FONT>

  • Can i see the column DATA(BLOB type) in PM_OBJECTS of DCM schema

    we installed DCM managed clustering .it is Database repository type.
    i am trying to see the column DATA(BLOB type) in PM_OBJECTS of DCM schema .
    I wrote a program in java to read blob data type and write it into a temporary file.
    when i open temporary files all the data in junk format.
    can i see the real data of thatcolumn.Is it possible?
    first of all for what purpose DCM shema will be used?

    Hi,
    There is no option to show the comments on the diagram.
    We plan to add such feature in the next version.
    Ivan

  • Error while checking the rate data through installation

    Hi everyone,
    I am facing an error message while checking the rate data for an installation:
    "Internal error: Error when reading internal table IEGER in ISU_O_DEVICERATE_OPEN".
    Please guide.
    Thanks and Regards

    Hi,
    The error comes from FM  ISU_O_DEVICERATE_OPEN include LEG70F40 line number 2555.
    It is giving error on following code of line in FM.
          find the serialno.
            loop at ieger into eger_wa
              where equnr = reg_wa-equnr
              and   ab   <= reg_wa-ab
              and   bis  >= reg_wa-ab.
              exit.
            endloop.
            if sy-subrc <> 0.
              perform close_object changing obj.
              mac_msg_put 'E890(E9)' 'IEGER' 'ISU_O_DEVICERATE_OPEN'
                                     space space input_error.
              if 1 = 2.  message e890(e9) with ' ' ' ' ' '. endif.
            endif.
    I think that you are not checking the active installation. Check whether that installation has proper ebtry in table EASTS.
    Try changing
    BIS     BISZEITSCH     DATS     8     0     Date at Which a Time Slice Expires
    AB     ABZEITSCH     DATS     8     0     Date from which time slice is valid
    data for the installation.
    If this dosent work then debug the program by putting break point on the mentioned line and check.
    Regards,
    Pranaya

  • How can I check the expiration date of a Certificate Keychain from terminal?

    Hello, I am writing a bash script to alert me when my corporate certificates are about to expire. How can I check the expiration date of a certificate in keychain? I'm running Mac OS 10.6.8 on a newer MacBook pro with full admin rights.
    Specifically I will be checking three certs: a Root Authority, Issuing Authority, and a user cert (Identity).
    I was exploring the Security and Openssl command line tools. But I can't seem to get the info I need.
    Any recommendations would be appreciated.
    Thank you!

    Anyone?

  • How to check the master data records in using SE16 transaction?

    Hi,
    Can you please help me to check the master data records using SE16 transaction?
    Loaded master data for Characteristic and want to check the records in the master data tables.
    Thank you for your help!
    Lakshmi

    Hi!
    Welcome to SDN.
    you have to check the master data tables.
    soo in Se16 you have to select the appropriate master data table and view the data.
    following thread explains about masterdata tables
    MasterData table?
    regards
    mohan
    Message was edited by:
            Mohan Krishna

  • Can you please check the purchase date of my macbook pro by serial number c02m3av4fd56? thx!!

    can anyone check the purchase date of my macbook pro by serial number c02m3av4fd56? thx!!

    Use this link.  https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • How to check the expired date of a public key stored in my keyStore

    Hello,
    I would like to know if there is any possibility to check the expiration date of a public key which is present in my keystore.
    I did read the help of keytool but did not found any explanation about that.
    Thanks in advance for your answers.
    Alain.
    Message was edited by:
    Philipina

    Public key doesn't have an expiration date. Certificate has. Run keytool -list -v and you can read something looks like:
    Valid from: ... until: ...

  • How to Hide/show the columns data while doing Drill down or drill up

    Hi ,
    How to Hide/show the columns data while doing Drill down or drill up in webi report .
    Does it possible BO 3.1 version ?
    Please suggest me on this.
    Thanks & Regards
    Venkat

    While that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
    So I have an alerter applied to every cell of the table.
    When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
    because its now empty and doesn't need to show, it wont.
    For the detail table I use the opposite, so when you drilled down it becomes visible...
    Hope this helps all that do not have 40 yet
    Good luck,
    Marianne

  • Checks the complete date (mm/dd/yyyy) against another compelete date (mm/dd/yyyy)

    Hi,
    Is there a cold fusion function that checks the complete date (mm/dd/yyyy) against another compelete date (mm/dd/yyyy)?
    I have used the DateCompare but it only checks the month, day or year depending on the precision being used.
    Thanks,
    Mike

    I think you might need to read the docs a bit more closely.  From the docs for dateCompare():
    datePart
    Optional. String. Precision of the comparison.
    s Precise to the second (default)
    n Precise to the minute
    h Precise to the hour
    d Precise to the day
    m Precise to the month
    yyyy Precise to the year
    Indeed, even by default its behaviour is not what you suggest it is.
    Adam

  • How do I know the column data type

    Hello,
    For example I have created table Test:
    SQL> create table Test(
      2  rollNo number(3),
      3  Name varchar2(80));
    Table created.Now I desc Test but its not showing the column data type
    SQL> desc test
    Name                                  
    ROLLNO                                
    NAME                                   Can I know that?
    Best regards

    What happens when you issue,
    set linesize 2000
    SQL>desc testAre you sure that you are not missing scrolling the bar in the bottom of the window?
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Nov 20 19:23:01 2010
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> create table testr(test number(3), rollno varchar2(10));
    Table created.
    SQL> desc testr
    Name                                      Null?    Type
    TEST                                               NUMBER(3)
    ROLLNO                                             VARCHAR2(10)Aman....
    Edited by: Aman.... on Nov 20, 2010 7:24 PM

  • How can i check the planned data vs actual data

    How can i check the planned data vs actual data with the infocubes?

    Hi Srinivas,
    You create one cube for plan data and create another cube for actual data.
    Create a multiprovider and give comparision report. this is betterway.
    Or you can also load actual and plan data in one cube but you need to maintain one character like version to seperate atual and plan data.This is not a good work.
    Regards,
    Vijay.

  • After completing MSS PCR, how to check the updated data in R3

    Hi,
    After completing and submitting the MSS PCR, How do I check the updated data in R3?
    Thanks
    Reva

    I got the answer.

  • Checking the Master Data Load

    Hi,
    If my report doesn't work and I have to check the Master data is uploaded properly or no, How do I check that?
    Can you help with the steps?
    Thank you.

    Hi Radha,
    The shortest way to check the Master data of any info object is:
    Goto SE16 or SE11:
    In the table text box give: /BI0 or C/MXXXXXXXXX
    '0' for SAP generated infoobject
    'C' for Customer generated infoobject
    View of MstrDtaTbls: 'M'
    Master data tab: 'P'
    SID table attr.: 'X'
    Text Table: 'T'
    XXXXXXX - infoobject.
    Hopes this helps.
    Regards,
    Ravi Kanth

  • Checking the master data automatically before the payroll run...

    Hi Friends,
    Can anyone tell me that, is it possible to check the master data automatically before the payroll run.
    If any user forget to maintain any important info-type ( like Cost Distribution ) in time of master data maintenance, SAP allow the Payroll system to run the payroll for that employee. Only in time of account posting the user is able to know the problem and due to rectify the problem they have to delete the payroll.
    So, I therefore wants to know that is there any check point or can customized any such things, which will check the necessary info-types before running payroll and generate an error massage about the missing info-type and also skip the processing for that person.
    With regards,
    Diptendu

    have
    a look at this report
    but before that make sure wht are the mandatory infotypes that are maintained to the employee so that u can come to an idea what are infotypes that are maintained for the memployee
    se 38   HTWLINFO  read the documentation of the is report mmight be useful

Maybe you are looking for

  • (BUG??) Team Foundation Server 2013 Update 4 Support for SQL 2014

    Scenario: On Windows 2012 R2 x64 I have installed SQL, Reporting Services & AS 2014 (applied all updates through Windows Update), SharePoint 2013 Foundation, and installed Team Foundation Server 2013 RTM (did not configure). Before configuring TFS, I

  • Cant use my Ipad with my Mac Mini after updating Ipad OS

    So after upgrading my ipad2 to the latest OS, it now will no longer communicate with my older mac mini. I open itunes on the mac with the ipad attached and it says I have to update to the 11.1 version of itunes to access the ipad. But my Mini Mac onl

  • Setting Adapter Timeout

    Hello I am having a File/FTP Adapter at my receiving end.I have noted that if a async msg is sent with Exactly Once option and if FTP server is down the message does not gets delivered but as soon as its up it gets delivered. I just wanted to know ho

  • How to use bulk insert in utl_file

    i am creating text file of employee list i go huge data i want to use bulk insert with utl_file is it possible if so, how pls help me.

  • Can't configure Airport Express after firmware upgrade 6.2.

    I have an Airport Extreme (V5.6) and I recently upgraded my Aiport Express to firmware 6.2. I was using the Express to extend my range and attach to my stereo for iTunes. I went out of town and took the Airport Express with me to use in my hotel room