How can I find data of various lenght in my table?

we have seen cases where the data is one character short,
such as "1513259925" vs "12223334444" which is normal lenght of expected data.
We would like to know if we can find any other data like this in the db.
ie data that is one character / number shorter than expected lenght.
How can I acomplish this?
any function I can use?
thx

select *
  from mytable
where length(the_column) = (11 - 1);where 11 is the expected length so you are searching for data that is 10 characters.

Similar Messages

  • How can i find out the height lenght width of that logo in so10 ?

    I have TextName is there in so10.
    How can i find out the height lenght width of that logo ?

    Hi Sam,
    In SE80, you should have a Repository for MIMES, including images.You should find your image here .
    you have to use the following method to get the image as a binary string and then use gui_download to download it to local system
    call method cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    exporting
    p_object = fs_stxbitmaps-tdobject
    p_name = fs_stxbitmaps-tdname
    p_id = fs_stxbitmaps-tdid
    p_btype = fs_stxbitmaps-tdbtype
    receiving
    p_bmp = loc_graphic_xstr
    exceptions
    not_found = 1
    others = 2.
    Thn you can find the size of the logo.
    Regards
    Naresh

  • How can I find the procedures where I use a table?

    How can I find the procedures where I use a table?
    I need to look for it in all the users.

    select name,owner from dba_dependencies where referenced_name='table_name'
    and referenced_owner = 'schema'
    and type = 'PROCEDURE'
    Aravind

  • How can I get data in flat file from Pool table and cluster table ?

    Hi,
    I am working in one Achiving project. My requirement is to get data into flat file from Cluster table and pool table.
    Is there any tool avilable to download data into flat file from pool table and cluster table ?
    if table name given in the selection screen then data will be downloaded into flat file.
    waiting for quick response.
    Best Regards,
    Bansidhar

    Data cannot be retrived directly form the cluster table
    as the Cluster results are stored in Cluster Key say for example PCLkey
    and form that Key we need to fetch the data
    these clustes are not the part of PNP or PNPCE tables
    for ur info kindly check

  • How can I take data from specific column in a table using VBA

    Hi
    I do not know how to take the values from the last column in a table, I know how to look over each row but I cannot take the last column values for each row I pass by.
    This is the table for example:
    | Date | Account1 | Account2 | Description | Amount |
    |12/03/2008 | 123-32 | 325-78 | None | $50 |
    |12/03/2008 | 123-32 | 325-78 | None | $20 |
    |12/03/2008 | 123-32 | 325-78 | None | $10 |
    |12/03/2008 | 123-32 | 325-78 | None | $40 |
    I am using this code as a reference that User FiveNines gave me to loop through all the rows in the table, so What I need is to take the values of the column Amount for each row I go through.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    Dim rButton As HTMLInputElement
    ' ******** This would be your global variable. I put this so that values are seperated by a semicolin you can use what ever format works for you.
    strValue = "03/22/2008;03/22/2008;*************1977;*************1977;$25.25;Jan, Jun, Jul, Dec"
    ' Strip out the ; for inner text comparison
    strValue = Replace(strValue, ";", "")
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    For Each tblRow In tbl.rows
    If tblRow.innerText = strValue Then
    RSWApp.WriteToLog "Tables", "Passed", "Row is Present", True
    End If
    Next
    End Sub

    Hi Lippix.
    This is code that will loop the rows then loop the cells and check for "$" which will return dollar values. I also attached a script.
    Private Sub RSWVBAPage_afterPlay()
    Dim tbl As HTMLTable
    Dim tblRow As HTMLTableRow
    Dim tblCell As HTMLTableCell
    Dim strValue As String
    ' This will get the table but can be modifoed to be more specific
    Set tbl = RSWApp.om.FindElement(, "TABLE")
    ' This loops through all the rows in the table until a match to the strValue is found
    For Each tblRow In tbl.rows
      For Each tblCell In tblRow.cells
      ' cycle through the cells and only report those with a dollar value by searching for $
        If InStr(1, tblCell.innerText, "$") <> 0 Then
       RSWApp.WriteToLog tblCell.innerText
       End If
      Next
    Next
    End Sub

  • How can i find the latest row inserted in a table

    i have a table with five columns and there is no primary key and everyday 100's of rows will be inserted to this table ,infact by mistake i have inserted a row and i just want to find out which is the last row i have inserted in to this particular table is there any way to find out this please......

    That's not guaranteed to give you the latest row added to the table. Oracle could place new rows anywhere depending on what happened to rows in the table previously, what space is available in the tablespace etc etc:
    SQL> create sequence dt_test_rowid_seq start with 1 increment by 1;
    Sequence created.
    SQL>--generate some test data
    SQL> CREATE TABLE dt_test_rowid as
      2  select     object_id,
      3     object_name,
      4     dt_test_rowid_seq.nextval ins_sequence
      5  from
      6     dba_objects
      7  where
      8     object_id is not null
      9  and
    10     rownum <10000;
    Table created.
    SQL>--here, the latest addition to the table....
    SQL> select max(ins_sequence) from dt_test_rowid;
    MAX(INS_SEQUENCE)
                 9999
    SQL>... reflects the highest rowid
    SQL> select ins_sequence from dt_test_rowid where rowid=(select max(rowid) from dt_test_rowid);
    INS_SEQUENCE
            9999
    SQL>--get rid of a load of rows
    SQL> delete from dt_test_rowid where mod(object_id,2)=0;
    2521 rows deleted.
    SQL>--insert a load more
    SQL> insert into dt_test_rowid
      2  select     object_id,
      3     object_name,
      4     dt_test_rowid_seq.nextval ins_sequence
      5  from
      6     dba_objects
      7  where
      8     object_id is not null
      9  and
    10     rownum <1000;
    999 rows created.
    SQL>--and here the latest addition to the table...
    SQL> select max(ins_sequence) from dt_test_rowid;
    MAX(INS_SEQUENCE)
                10998
    SQL>--...is NOT reflected by the highest rowid
    SQL> select ins_sequence from dt_test_rowid where rowid=(select max(rowid) from dt_test_rowid);
    INS_SEQUENCE
            9999

  • How can we find out data in an editable ALV grid has been changed or not?

    Hi Experts,
    How can we find out whether a data in an editable ALV grid has been changed or not.
    I am using the
    FM -> REUSE_ALV_GRID_DISPLAY_LVC
    for ALV display.
    I have to chekc whther data has been changed or not befor saving. if changed then only i want to
    SAVE
    . I cannot use the internal table comparison method for this purpose also i am not using OOP ALV.
    So kindly sugest me an alternative.
    Thanks and Regards,
    Shahana

    Hi,
    Thanks for your answer. I already saw this post.
    See this method.
    CALL METHOD reuse_alv_grid->check_changed_data
    IMPORTING
    e_valid = lv_check.
    This will update the internal table with the edited values. Then we can go for internal table comparison.
    But my scenario will not allow me for itab comparisons.I just want to know the ALV data has been changed or not.
    Regards,
    Shahana

  • How can I find out the date of a movie I am trying to pre-order if the date is not available/showing in the "manage pre-order" section?

    How can I find out the date of a movie I am trying to pre-order if the date is not available/showing in the "manage pre-order" section?

    Thanks so much for your reply King_Penguin. No, sadly there is not indication of the expected release date on the film, it's no where to be found. I have also tried to look in other places online, but no luck. I guess your latter statement jives more with my situation, that  being the studio/rights-holder hasn't feel inclined to provide the date.

  • How can I find out the semester in a date?

    Hello I have this query
    SELECT 1949+rowno_year || lpad(rowno_month, 2, '0') MONTH_ID, to_char(to_date(to_char(1949+rowno_year || lpad(rowno_month, 2, '0')),'YYYYMM' ),'MONTH','NLS_DATE_LANGUAGE = ENGLISH') MONTH_NAME,
    to_char(to_date(to_char(1949+rowno_year || lpad(rowno_month, 2, '0')),'YYYYMM' ),'Q','NLS_DATE_LANGUAGE = ENGLISH') QUARTER_ID,
    FROM dual A,
    (SELECT ROWNUM rowno_year FROM DUAL CONNECT BY LEVEL <= 100) B,
    (SELECT ROWNUM rowno_month FROM DUAL CONNECT BY LEVEL <= 12) c
    How can I find out in which semester the date is?
    And the four_month_period??
    Thanks in advance

    >
    Simply I'm building a date from 1950 until 2050 in this formast (YYYYMM) then for each row I want to find out the Name of the month, the quarter, semester and half-month-period to which it belongs.
    >
    I meant an example where you display 1 or more rows and the your expected values. How am I to know how your definition of semester works, for example?
    C.

  • I have an iPhone 4S that is a replacement of a defective 4s and it shows over 3Gb of data backed up in the cloud from my old 4s. How can I find out what is in this backup? It is preventing me from backing up my new 4s to the cloud due to the amt of data.

    I have an iPhone 4S that is a replacement of a defective 4s. When I activated the newer phone, I believe I transferred over everything except pictures (had multiple failures trying to backup and restore). Now the phone shows over 3Gb of data backed up in the cloud from my old 4s. How can I find out what is in this backup? It is preventing me from backing up my new 4s to the cloud due to the amt of data. It may be duplicated info that I don't need or I may want to archive the backup or parts of it like pictures.

    You can not access the backup directly.
    Did you restore your replacement from this backup?
    If so then you already have everything in the backup on your device.
    If not, you can wipe the device and restore from this backup:
    Settings > General > Reset > Erase All Content & Settings
    What is it you are worried about losing that isn't already on your current device?

  • I have installed the latest version of iOS in my ipad but forgot to backup the content, what should i do!!! I don't want my media and other data erased, how can i find back all the data in my ipad? I haven't restore ipad yet, so any others way can be use?

    I have installed the latest version of iOS in my ipad but forgot to backup the content, what should i do!!! I don't want my media and other data erased, how can i find back all the data in my ipad? I haven't restore ipad yet, so any others way can be use? Now my ipad is in recovery mode.

    Once you are in Recovery Mode, it's too late to do any backup. I am afraid you are going to lose your data.

  • How can i find out what app is using data at 5am

    i have used an unusual amount of data this month.  something on my phone is using data at 5am every morning.  its not me.  how can i find out what it is?

    The times reported for data usage on your bill do not necessarily reflect the time the data was actually used. The system gathers information from the cell sites and reports on a schedule.

  • How can I find out what is eating up my data?

    This is my second month with Verizon and with my old service plan we only use to use 5GB per month.  Now we are over 7GB.  How can I find out what I am using that is eating up my data?  I still do same things I did 3 months ago.

    I Assume you may have more than one, new device.  You can check in each devices settings, under cellular/mobile data to see which applications are using the most data. 
    YOu can then change many of the applications to use wifi only by turning cellular data off.
    email and social media apps have settings within the apps to restrict cellular use, like not showing video of images.
    restrict application from running in the background by closing apps before leaving home wifi or letting your phone "sleep" at home, while not connected to power.  (To save battery your phone switches off wifi, reverting to cellular, not a desirable feature, but it is supposed to save battery)
    ** to close apps, double click home button and swipe up to close app.  Leaving YouTube, Games, Maps, Social media apps open in the background can use mobile data.
    clear the "outbox" in email.  Cases of massive data use have occurred when an email continues to fail and sits in the out box of the Mail app.
    IN General, a newer phone does use more data for the same functions as older phones.
    FFor more help with your iPhone, please visit Apple support, community forums or a Genius Bar.  I find them very helpful.
    if you do go in to Genius Bar, back up your device.  In some cases, replacing or a complete restor are the only solutions.
    Official Apple Support
    GOod luck!

  • How can we find out when master data was activated

    Hello Friends,
    We are loading master data for one info object directly from R3 to Info Object without PSA.
    1) The Request Green in RSMO only tells that data is loaded successfully but it does not give any information about Activation is that right ?
    2) How can i find out histroy of when one particular Info Object( Master data ) is activated? any tables or tcodes ?
    Thanks
    Tony

    hi,
    1) The Request Green in RSMO only tells that data is loaded successfully but it does not give any information about Activation is that right ?
    Ans- yes it give loading details only.
    2) How can i find out histroy of when one particular Info Object( Master data ) is activated? any tables or tcodes ?
    ans -in SM37 chk any attribute change run is completed , else in RSA1 Tools -> apply attribute change and hierarchy -> you can see the finished and scheduled job.
    also u can chk the master data table for any M version records is available.
    Ramesh

  • How can I find a data base table containing a GUID, which is result of the macro's execution?

    Hello,
    please help me to understand how the macros work. I am facing database inconsistency. The CRM-system retrieves a GUID of an opportunity’s item and checks its existence. However, this GUID (here it is es_info-ref_object) does not exist. As result, an exception is triggered.
    I am trying to figure out which data base table is responsible for the inconsistent data. Instead of SELECT statement, I see in the debugger that a macro retrieves the “guilty” entry .
    macro_execute macro_msg_data_read_rea.
    My Question: How can I find a data base table containing a GUID, which is result of the macro’s execution?
    Thanks a lot
    Andrej

    When you save a PDF out of Distiller it doesn't just have different options, it's an entirely different program. It doesn't do things the same way, so it can't have the same options. Saving from Distiller is in many ways better, expecially in that transparency isn't flattened.
    What specific options are you looking for?

Maybe you are looking for

  • How to have different music library's on iPods using the same Apple ID

    Hello. Me and my sister both have iPod 4th generations. Because of the timing of the purchases of our devices we use the same apple account. I would like to know how to have a different iTunes music library to her and if it will still keep the librar

  • Unable to install driver for GTX 650 Ti on HP Pavilion p7-1187c

    Greetings, I have an HP Pavilion p7-1187c with integrated graphics (DX 10.1) on a IPISB-CU (Carmel 2) motherboard. I upgraded the power supply to a Corsair 550 (no problem) and then installed a Gigabyte GEFORCE GTX 650 ti graphics card. THe card is g

  • Music sound won't play but video will

    I have had my 80 GB ipid video for only a couple of weeks now and it was working perfectly fine until the other day when the sound quit on me. I could sometimes hear a scratching noise, but most of the time I don't hear anything. The sound on my vide

  • NullPointerException in BIRT web Services

    When I am trying to run my code as application, it is working fine. But When I am running it on server, it is showing following error: [ERROR] java.lang.NullPointerException at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLog

  • My top ten requested features for Flash Catalyst Next

    Here is my top ten list of requested features for Flash Catalyst: 10. Rearranging of pages / states in the pages / states panel (also resizing to smaller icons) 9. Menu bar option to Insert Custom / Generic Component. There isn't a  way to create a c