How to see the peak values in a chart?

I have the following situation: I am applying the FFt to an acceleration signal. In the FFT-peak graph I see different peak frequencies. However I would like to know how much are those peak values and either display them in the chart on top of the peaks or extract them in numerical indicators. Is any of these solutions possible in LabView?
I guess the question stands for any kind of graph or chart where you want to extract and see only certain or peak values. Any suggestions?
Thank you.
Radu

OK. Attached is a VI which allows you to move cursors 0 and 1 to select any section of a graph, and then click a button to get the maximum of that particular section. It also places the third cursor (red) at the location of the maximum it finds. It is all done using property nodes of the graphs.
This VI is based on an exercise of the LabVIEW Basics II course, which I took a long time ago, but the manual of which is still very useful.
Hope this helps.
Alejandro
Attachments:
GetMaxiumumExample.vi ‏81 KB

Similar Messages

  • How can I get the default value of a particular preference programatically. I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.

    <blockquote>Locked by Moderator as a duplicate/re-post.
    Please continue the discussion in this thread: [tiki-view_forum_thread.php?comments_parentId=702631&forumId=1]
    Thanks - c</blockquote>
    == Issue
    ==
    I have a problem with my bookmarks, cookies, history or settings
    == Description
    ==
    How can I get the default value of a particular preference in FireFox?.
    I know I can see the default value for some of the preferences in about:config but, I need a programatic way to get the default value.
    I see some that there are values for preferences in firefox.cs but I am not certain that these are being used as the default values for preferences. prefs.js in user's profile only has the updated values and not the default values.
    Any help towards acheiving this programtically is greatly appreciated.
    If the default values are stored in a file, kindly let me know the format in which it is stored for me to parse it programatically.
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Dear Friend,
    Here when you have the callableSattement as ?=proc(?), the first ? is an output parameter. So you should register it as out parameter using registeroutparameter.
    Then you can get the value from the outparameter using callablestatement.getXXX().
    Try that way.
    For free tral versions of JDBC Drivers go to www.Atinav.com

  • How to see the values of subtotal

    Hi Gurus,
    I have a small doubt regarding pricing procedure. In pricing procedure we have a column called Condition subtotal, it stores the value in the table and we can call this value whenever we required.
    My question is here where we can see the subtotal value and how. I tried to view this value in table but it is a structure that is the reason i could not view it.
    Please respond to this thread.
    Thanks in advance.
    Venkat.

    Hi:
    What you can do is to used subtotals on to the pricing procedure. If you uses subtotals 1 to 6 this will be store on table VBAP on field KZWI1 to KZWI6. You can also used other subtotals D to M is you want to used formulas.
    Best Regards,
                         Federico

  • How to see the result

    hi every body...
    i want to get the result of any table..
    for ex: select * from dept;
    the o/p should be like(10~Accounts~new york)
    for this i wrote this code.... it run sucessfully;
    my prob is how to see the Result..
    declare
    tn varchar2(35);
    sqlstmt varchar2(2000);
    rc sys_refcursor;
    begin
    tn := '&tn';
    sqlstmt := 'select * from '||tn;
    open rc for sqlstmt;
    end;
    post u r comments,Hints and suggestion...

    post u r comments,Hints and suggestion...
    SQL> var rc refcursor
    SQL> begin
      2     open :rc for  'select * from &tn';
      3  end;
      4  /
    Enter value for tn: emp
    old   2:    open :rc for  'select * from &tn';
    new   2:    open :rc for  'select * from emp';
    PL/SQL procedure successfully completed.
    SQL> print rc
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SPENCER    CLERK           7902 17-DEC-80        800                    20
          7499 VERREYNNE  SALESMAN        7698 20-FEB-81       1600        300         30
          7521 VAN WIJK   SALESMAN        7698 22-FEB-81       1250        500         30
          7566 MAINGUY    MANAGER         7839 02-APR-81       2975                    20
          7654 KISHORE    SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BARRY      MANAGER         7839 01-MAY-81       2850                    30
          7782 BOEHMER    MANAGER         7839 09-JUN-81       2695                    10
          7788 PADFIELD   ANALYST         7566 09-DEC-82       3000                    20
          7839 SCHNEIDER  PRESIDENT            17-NOV-81       5500                    10
          7844 GASPAROTTO SALESMAN        7698 08-SEP-81       1500          0         30
          7876 CAVE       CLERK           7788 12-JAN-83       1100                    20
          7900 CLARKE     CLERK           7698 03-DEC-81        950                    30
          7902 JAFFAR     ANALYST         7566 03-DEC-81       3000                    20
          7934 ROBERTSON  CLERK           7782 23-JAN-82       1430                    10
           109 JOMAR                                                                   30
          8800 VISWARAYAR INTERN          7934 03-OCT-82          0                    10
    16 rows selected.
    SQL> Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • How to see the content of an attachment in sxmb_moni

    Hi all,
    Does someone know how to see the actual content of an attachment in sxmb_moni?
    If I look under Inbound Message (CENTRAL)/Payloads, I would see one node for MainDocument and another node with the name of the attachment.
    When I click on the attachment name, a word document shows with one line in it. That line is just the name of the attachment and nothing else.
    How can I see the actual content of that attachment?
    Thank you. Points will be awarded to helpful answers.
    Regards,
    -Michelle

    I checked my coding again in debug mode. I cannot find anything wrong.
    I duplicate here my coding again.
       DATA lo_attachment TYPE REF TO if_ai_attachment.
      lo_attachment  = lo_attachment_protocol->get_attachment_from_binary(
                          data = iv_attachment_content
                          type = iv_attachment_mime_type
                          name = iv_attachment_name
    * set the attachment
      DATA lt_attachments TYPE prx_attach.
      APPEND lo_attachment TO lt_attachments.
      lo_attachment_protocol->set_attachments( lt_attachments ).
    The local variable LT_ATTACHMENTS has field payload-resource with the following expected values --
    KIND : B
    TYPE : application/msword
    BINDATA :  00530068006F00740073005F0073007700630076002E0064006F00630020002000
    The BINDATA correctly contains the dummy data I assigned.
    I must have missed something. Can someone help?
    Best regards,
    -Michelle

  • MT940 - How to change the text value in AC doc created through EBS

    Dear All,
    I would like to know how can we manipulate the payee details sent by the Bank so that unncessary things are removed from the text of the accounting document created through EBS posting (FF_5)
    My bank statement has the below lines
    :61:1001200120CX50,00FBGCNONREF//
    :86:999/00BGCMDIR  5735826JAN185635826
    After running the program the I see the below values
    FEBRE-VWEZW :  999/00BGCMDIR  5735826JAN165635826
    FEBEP-CHECT : NONREF
    BSEG-SGTXT  : NONREF 999/00BGCMDIR 5735826JAN185635826
    I think, text value in the ac document is the concatenation of FEBEP-CHECT & FEBRE-VWEZW.
    However I dont want FEBEP-CHECT & few initial chacters of FEBRE-VWEZW in my accounting document text. I would like the text to be  MDIR 5735826JAN185635826
    Can anyone please suggest how this can be achieved?
    Thanks in advance.
    Krishna

    Hi.
    One of the solutions is (taken from another source):
    As of Release 4.70, there is a Business Add-In (BADI) with the definition name FEB_BADI that is called immediately before the standard posting in program RFEBBU00. In this case, you can change the procedure of the standard posting or make additional account assignments by changing the tables that are to be transferred to the posting interface (FTPOST, FTCLEAR). To do this, go to the SAP menu and follow the path Tools->ABAP-Workbench->Business Add-ins, create an enhancement that you assign to the FEB_BADI BAdI and then implement the CHANGE_POSTING_DATA method.
    When you activate the BAdI, you receive a message, telling you that the active implementation of this BAdI already exists. If you do not use the public sector industry solution, you can deactivate the active BAdI of the IBS_PS area and activate your own implementation.
    Best regards,
    Yuri.

  • How to see the source of the attribute in a workflow

    Here is an workflow function which is defined as follows
    Item Type :HR
    Internal Name: HR_MAINTAIN_MAIN_ADDR_JSP_FCT
    Function Name: HR_WORKFLOW_SERVICE.BLOCK
    Node Attributes :
    Name: HrActivity Type: value: JSP
    Name: HrActivityTypeVAlue Value:HR_MAIN_ADDR_TOP_SS
    I do not find that HR_MAIN_ADDR_TOP_SS is mapped to any OAF page
    What is HR_MAIN_ADDR_TOP_SS?
    How to see the source code of HR_MAIN_ADDR_TOP_SS. Is there any SQL query to get the source of this.

    http://hostname:8027/OA_HTML/OA.jsp?_rc=HR_MAIN_ADDR_ACT_TYPE_TOP_SS&_ri=800&OAFunc=XXCHR_ESS_PER_INFO&_ti=1902574799&retainAM=Y&addBreadCrumb=N&oapc=11&oas=zgiSEq6kVqEuZNnwZ5lP5g..
    what is HR_MAIN_ADDR_ACT_TYPE_TOP_SS in the above URL

  • How to see the wait events info. after excute a select query

    Hi
    How to see the wait events info. after execute a select query. Are there any parameter to set for this option?
    And also wanna see the follwing info. in trace file. For this what are the parameters I have to set right?
    SELECT * FROM emp, dept
    WHERE emp.deptno = dept.deptno;
    call   count      cpu    elapsed     disk    query current    rows
    Parse      1     0.16      0.29         3       13       0       0
    Execute    1     0.00      0.00         0        0       0       0
    Fetch      1     0.03      0.26         2        2       4      14
    Misses in library cache during parse: 1
    Parsing user id: (8) SCOTT Regards
    Arpitha

    $ sqlplus scott/tiger
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed Apr 20 15:29:33 2011
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> SHOW PARAMETER dump
    NAME                                 TYPE        VALUE
    background_core_dump                 string      partial
    background_dump_dest                 string      /user/oracle/app/oracle/admin/
                                                     orclsb/bdump
    core_dump_dest                       string      /user/oracle/app/oracle/admin/
                                                     orclsb/cdump
    max_dump_file_size                   string      UNLIMITED
    shadow_core_dump                     string      partial
    user_dump_dest                       string      /user/oracle/app/oracle/admin/
                                                     orclsb/udump
    SQL> ALTER SESSION SET EVENTS='10046 trace name context forever, level 12';
    Session altered.
    SQL> SELECT * FROM emp WHERE deptno=20;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
          7788 SCOTT      ANALYST         7566 19-APR-87       3000
            20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7876 ADAMS      CLERK           7788 23-MAY-87       1100
            20
          7902 FORD       ANALYST         7566 03-DEC-81       3000
            20Now
    $ pwd
    /user/oracle/app/oracle/admin/orclsb/udump
    $ ls -ltr|tail -5
    -rw-r-----   1 oracle   oinstall     622 Apr 20 11:35 orclsb_ora_949.trc
    -rw-r-----   1 oracle   oinstall     651 Apr 20 11:35 orclsb_ora_976.trc
    -rw-r-----   1 oracle   oinstall    1982 Apr 20 11:35 orclsb_ora_977.trc
    -rw-r-----   1 oracle   oinstall    1443 Apr 20 15:29 orclsb_ora_1251.trc
    -rw-r-----   1 oracle   oinstall  279719 Apr 20 15:30 orclsb_ora_1255.trc
    $ tkprof  orclsb_ora_1255.trc  orclsb_ora_1255.txt
    TKPROF: Release 10.2.0.2.0 - Production on Wed Apr 20 15:32:17 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    $ ls -ltr|tail -5
    -rw-r-----   1 oracle   oinstall     651 Apr 20 11:35 orclsb_ora_976.trc
    -rw-r-----   1 oracle   oinstall    1982 Apr 20 11:35 orclsb_ora_977.trc
    -rw-r-----   1 oracle   oinstall    1443 Apr 20 15:29 orclsb_ora_1251.trc
    -rw-r-----   1 oracle   oinstall  279719 Apr 20 15:30 orclsb_ora_1255.trc
    -rw-r--r--   1 oracle   oinstall   26872 Apr 20 15:32 orclsb_ora_1255.txtThis orclsb_ora_1255.txt contains the required information.

  • Reg: how to see the Assets in Tables

    HI all,
    How to see the assets in internal tables
    regards
    JK Rao

    Hi,
    ANAR     Asset Types
    ANAT     Asset type text
    ANEK     Document Header Asset Posting
    ANEP     Asset Line Items
    ANEV     Asset downpymt settlement
    ANKT     Asset classes- Description
    ANLA     Asset Master Record Segment
    ANLB     Depreciation terms
    ANLC     Asset Value Fields
    ANLH     Main asset number
    reward pts if useful
    regds

  • How to see the group membership for a user in oidadmin

    how to see the group membership for a user in oidadmin?
    I see the memberships in oiddas, but I would like to know if its possible to see them in oidadmin? Thanks.

    Hi,
    For what I understand, you know the user and want to know the groups that the user is member of (am i wrong?)...
    With this query you pass the user's DN to the ldapsearch and the search gives you back the list of groups the member is a member of, all you need to do is change the value "uniquemember=cn=orcladmin" in the query for your own user.
    For example:
    $ORACLE_HOME/bin/ldapsearch -h localhost -p 389 -D "cn=orcladmin" -w oracle10g -b "dc=acme,dc=com,dc=au" -s sub "uniquemember=cn=orcladmin" dn
    will give you the list of groups that the user "cn=orcladmin" is a member of.
    $ORACLE_HOME/bin/ldapsearch -h localhost -p 389 -D "cn=orcladmin" -w oracle10g -b "dc=acme,dc=com,dc=au" -s sub "uniquemember=cn=smithj,cn=Users,dc=acme,dc=com,dc=au" dn
    will grive you all the groups that the user smithj is a member of.
    if you don't want to get the DN of the group you can change the last parameter of the query like this
    $ORACLE_HOME/bin/ldapsearch -h localhost -p 389 -D "cn=orcladmin" -w oracle10g -b "dc=acme,dc=com,dc=au" -s sub "uniquemember=cn=smithj,cn=Users,dc=acme,dc=com,dc=au" cn
    will give you the CN of the groups the user is member of.
    let me know if this is what you need.
    Regards,
    Juan

  • How to find the FND_PROFILE.VALUE(ORG_ID) in custom apex schema

    Hi,
    How to find the FND_PROFILE.VALUE('ORG_ID') from dual in custom schema......
    Actually I have integrated Apex 4.2 version with EBS r12
    select FND_PROFILE.VALUE('ORG_ID') from dual ; in apps schema I m getting 198 value
    but the same query(select  apps.FND_PROFILE.VALUE('ORG_ID') from dual ) in custom schema (XXCVBB) returning null value..
    Is there  any pre steps I have to do...
    kindly provide the useful inputs to retrieve the profile value..........
    Regards,
    Pavan

    Hi,
    fnd_profile.value('ORG_ID'); will fetch you value only if there is a organization assigned to any application [or only if its  a single Org], being it custom application you should have used set policy context or mo_global.init to populate the global temporary table which will hold all the Org's which that specific user has access too.
    in your custom code use MO_GLOBAL.SET_POLICY_CONTEXT('S','ORG ID WHICH YOU NEED TO SET');
    after setting the policy context, you should be able to see value from fnd_profile.value('ORG_ID');
    Hope this Helps!!
    MO_GLOBAL.SET_POLICY_CONTEXT
    This procedure has two parameters
    p_access_mode
    Pass a value "S" in case you want your current session to work against Single ORG_ID
    Pass a value of "M" in case you want your current session to work against multiple ORG_ID's
    p_org_id
    Only applicable if p_access_mode is passed value of "S"
    MO_GLOBAL.INIT
    Purpose of mo_global.init :-
    It will check if new Multi Org Security Profile is set, to decide if new Security Profile method will be used.
    If the new MO security profile is set, then mo_global.init inserts one record, for each Organization in Org Hierarchy, in table mo_glob_org_access_tmp
    Regards,
    Yuvaraj

  • To measure and hold the peak value of voltage while measuriong using an accelerometer

    i would like to measure and hold the peak value of voltage while measuring using an accelerometer,when the voltage goes above certain range . also save highest 5 values.

    You could have a shift register on your acquisition loop that is initialized to hold an array of 5 values. Start with all 5 element holding something less than the expected normal input value.
    Now each time through the loop, test the new reading to see if it's greater than the minimum value in the 5-element array. If not just go on and repeat the loop.
    If the new reading is greater than the minimum value in the 5-element array, append the new reading to the array, sort it in decending order and drop the last element (the old minimum value).
    The array will hold the 5 greatest values and the max of the array will be the peak value.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How can I get peak value? Thanx

    I have a labview program which can get signals from my system and draw
    some waveform. The waveform has two peaks with some distance. Then how
    can I let labview give me the peaks' values? thanx a lot!

    Hi,
    You can use Analyze>Signal Processing>Time Domain>Peak Detector.vi or
    Threshold Peak Detector.vi
    I'm not sure if it's in the normal LabVIEW version, I'm using Full
    Development...
    For every peak detector you'll have to think very hard what you consider a
    peak. E.g. a peak caused by noise might be of interrest (or the only
    interrest) for one application, and not of any interrest for another. I've
    done several peak detection applications, on network analysers, freq.
    analysers, oscilloscoops, even vision applications... It's one of the
    hardest things to program.
    Olso, there might be several solutions, including Artificial Neural
    Networks, Genetic Algorithms, Fuzzy Logic... If possible, go the easy way
    and use the VI's mentioned above.
    Regards,
    Wiebe Walstra.
    "t
    ao" wrote in message
    news:[email protected]..
    > I have a labview program which can get signals from my system and draw
    > some waveform. The waveform has two peaks with some distance. Then how
    > can I let labview give me the peaks' values? thanx a lot!

  • How to update the table value in the valuechange event?

    I have an input field in the datatable with the valueChangeListener
    <rich:dataTable id="cart" value="#{cart.cartList}" var="item">
    <h:inputText value="#{item.cost}" id="qty" valueChangeListener="#{items.updateCost}" onchange="submit()">
    <h:outputText value="#{item.errorMsg}"> </h:outputText>
    in the backing bean
         Item item = (Item) model.getRowData();
    // do some update, if the cost too larger, change to max_cost
         item.setCost(max_cost);
         item.setErrorMsg("Error Msg");
    After calling the valuechange method, the screen output doesn't update the cost.
    How to update the table value in the valuechange event?

    As you're misusing the valueChangeListener to set another input field, you need to skip the update model values phase. Otherwise the value set in the valueChangeListener will be overridden by the submitted value. You can do this by calling the FacesContext#renderResponse() inside the valueChangeListener method. This will shift the current phase immediately to the render response phase, hereby skipping the update model values and invoke application phases.

  • How to avoid the duplicate values, I do not want the duplicate............

    i have one database table called "sms1" that table is updated every day or on daily basis it has the following fields in it:
    SQL> desc sms1;
    Name Null? Type
    MOBILE NUMBER
    RCSTCNATCNATCNATCNAWTHER VARCHAR2(39 CHAR)
    SNO NUMBER
    INDATE DATE
    From this table the is one column "RCSTCNATCNATCNATCNAWTHER VARCHAR2(39 CHAR)" . I am splitting it into different columns like :
    SQL> desc smssplit;
    Name Null? Type
    R VARCHAR2(2 CHAR)
    C VARCHAR2(2 CHAR)
    S VARCHAR2(1 CHAR)
    TC VARCHAR2(3 CHAR)
    NA VARCHAR2(3 CHAR)
    TC2 VARCHAR2(3 CHAR)
    NA2 VARCHAR2(3 CHAR)
    TC3 VARCHAR2(3 CHAR)
    NA3 VARCHAR2(3 CHAR)
    TC4 VARCHAR2(3 CHAR)
    NA4 VARCHAR2(3 CHAR)
    WTHER VARCHAR2(10 CHAR)
    SNO NUMBER
    INSERTDATA VARCHAR2(25 CHAR)
    Now I am written a procedure to insert the data from "Sms1" table to smssplit table...
    CREATE OR REPLACE PROCEDURE SPLITSMS
    AS
    BEGIN
    INSERT INTO scott.SMSSPLIT ( R,C,S,TC,NA,TC2,NA2,TC3,NA3,TC4,NA4,WTHER,SNO)
    SELECT SUBSTR(RCSTCNATCNATCNATCNAWTHER,1,2) R,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,3,2) C,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,5,1) S,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,6,3) TC,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,9,3) NA,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,12,3) TC2,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,15,3) NA2,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,18,3) TC3,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,21,3) NA3,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,24,3) TC4,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,27,3) NA4,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,30,10) WTHER, SNO
    FROM scott.SMS1 where SNO=(select MAX (sno) from SMS1);
    END;
    Now in order to update the second table with data from first table on regular basis I have written a job scheduler and I am using oracle 9.0. version...
    DECLARE
    X NUMBER;
    JobNumber NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    job => X
    ,what => 'scott.SPLITSMS;'
    ,next_date => SYSDATE+1/1440
    ,interval => 'SYSDATE+1/1440 '
    ,no_parse => FALSE
    :JobNumber := to_char(X);
    END;
    Now this job scheduler is working properly and updating the data for every one minute but it is taking or updating the duplicate values also ..like example:
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:49:16
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:49:16
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:50:17
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:50:17
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:51:19
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:51:19
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:52:20
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:52:20
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:53:22
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:53:22
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:54:45
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:54:45
    Now I do not want the duplicate values to be updated ...and want them to ignore them.....
    please I need a help on this query........How to avoid the duplicate values............

    Look at the posts closely:might not be needed if formatted ;)
    create or replace procedure splitsms as
    begin
      insert into scott.smssplit (r,c,s,tc,na,tc2,na2,tc3,na3,tc4,na4,wther,sno)
      select substr(rcstcnatcnatcnatcnawther,1,2) r,
             substr(rcstcnatcnatcnatcnawther,3,2) c,
             substr(rcstcnatcnatcnatcnawther,5,1) s,
             substr(rcstcnatcnatcnatcnawther,6,3) tc,
             substr(rcstcnatcnatcnatcnawther,9,3) na,
             substr(rcstcnatcnatcnatcnawther,12,3) tc2,
             substr(rcstcnatcnatcnatcnawther,15,3) na2,
             substr(rcstcnatcnatcnatcnawther,18,3) tc3,
             substr(rcstcnatcnatcnatcnawther,21,3) na3,
             substr(rcstcnatcnatcnatcnawther,24,3) tc4,
             substr(rcstcnatcnatcnatcnawther,27,3) na4,
             substr(rcstcnatcnatcnatcnawther,30,10) wther,
             sno
        from scott.sms1 a
       where sno = (select max(sno)
                      from sms1
                     where sno != a.sno
                   ); ---------------> added where clause with table alias.
    end;Regards
    Etbin

Maybe you are looking for

  • What are the key requirements to write a recursive cte?

    what are the key requirements to write a recursive cte? when we will go for a recursive cte.

  • Where are superscripts in Mac Mail?

    How can you EASILY use superscripts and subscripts in Mac Mail?  I know these are found in TextEdit, but there should be an easy way to incorporate them into Special Characters in the Mac Mail application.

  • Unable to set 'tap to click' by command line

    Use case: I'm trying to write a script to set up new macbooks with a set of dev tools and usability configuration options. Most configurations are simple enough to change by altering the global application setting e.g. setting the scroll direction wi

  • Samsung lenses in Camera RAW 8.7.1

    After the latest update of Camera Raw 8.7.1 I still cannot see the Samsung 1650S and 50150S lenses. Due to this I cannot open my RAW files. Do I need to select some link specifically? How could I open my RAW files with Camera RAW 8.7.1 for the Samsun

  • Upgrade to 10g

    Current Version Oracle 9i (Solaris) I want to migration to Oracle 10g(OS: Enterprise Linux) My approach is to migrate Oracle 9i to 10g in Solaris and then Rman cross platofrm conversion and then to (Enterprise Linux) Is this approach is correct ?