Change only one lowercase character value to next

If a variable contains only one lowercase character at the end after the "_" character, how to change it to the next lowercase character?
e.g.
If str contains "act_b", then the result should be "act_c".
If str contains "act_c", then the result should be "act_d".
If str contains "act_d", then the result should be "act_e".

You could use right() or something to get the last char; asc() to get its ASCII code, increment it, using chr() to represent it as a char again, then reReplace() to replace what's currently there with the new char.
Or some variation on that theme.
Adam

Similar Messages

  • How to change only one attribute at the host

    Hi experts,
    we use host configuration with special host types. If we want to change only one attribute of the host with the cli we must change all attributes associates with the host. If we define only one new attribute all other values are set (back) to the default of the host type..
    (in the gui all works fine...)
    Is there a chance to change a only one attribute and keep all other attribute values of the host ?
    Thanks,
    Chris

    No, it is not possible to do that.
    All attributes (passed via -attr) are treated as a single argument to the host modification (similar to a name or description). Essentially, when you provide a -attr argument to hdb.h.mod, the command will reset the existing overridden attributes and consider only the new attributes coming thorugh the -attr arg for overriding.
    You see it working from the UI properly because, the UI requests for overriding all atributes once again, even though you manually changed only one attribute.

  • How can i change only one

    hello,
    i need a technique that changes only one side of box. For example a box should only growth in height (not in depth). The thing i'm trying to realize is an animated bar chart via java3d. In this bar chart boxes should represent the bars. With scaling i always manipulate two sides (e.g. positive y AND negative y).
    Your help is greatly appreciated.
    TNX in advance
    JIVI

    you could always just do the two-sided scale and then translate it to the correct position.
    e.g. If height is 512 pix and you scale by 0.5, then it would shrink by 256 pix, or 128 on either side. Simply move it down 128 pix after scaling.

  • Declare the internal table with only one 10 character  field and use

    Hi,
    I want to declare the internal table with only one 10 character  field and use.
    Jaya

    Hi,
    Go ahead. U can declare IT with only one field
    Example:
    data: begin of zcustlist occurs 1000,
                   custmer(10)  type c,
             end of zcustlist.
    Narendra Reddy.
    Edited by: Narendra Reddy C on Aug 8, 2008 11:39 AM

  • Display only one instance if value is repeating

    hii everyone,
    i have a requirement i want to show following data
    no name
    1 a
    1 b
    1 c
    2 d
    2 e
    3 f
    3 g
    3 h
    in this form
    1 a
    b
    c
    2 d
    e
    3 f
    g
    h
    i.e if elements are reeating then show their only one instance
    i am using oracle 11g is there any way to write this on sqlplus??
    thanks

    Hi,
    810345 wrote:
    i am using oracle 11g is there any way to write this on sqlplus??The SQL*Plus command is
    BREAK   ON  noAfter you give this command, if the first column in the output is called no, then SQL*Plus will not show it if it is the same as the value on the line right above it.
    You may have noticed that this site noramlly compresses whitespace.
    Whenever you post formatted text (such as query output) on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Can I create action to Save As...  and change only one character of the original file name?

    I'm working on a group of  files(25-28) at a time. I have to save each one as a photoshop .raw file and change the first character of the file name. the rest of the file name must remain the same. I then close the original file with no changes. I tried to create an action for this. The only problem is that the next file overwrote the file I used to create the action.  Is it possible to creat an action to save as... and keep the file name of the new file but chage the first character to the same one used in the recording?

    Good day!
    I think what you are describing is not possible with Actions.
    Scripting would be an option, but more convenient might be simply saving the files with unchanged names and then edit the names of  the whole bunch in Bridge in one go (Tools > Batch Rename).
    Regards,
    Pfaffenbichler

  • How to print same layout twice changing only one field dynamically

    I have a report which prints three pages invoice in Dollar currency, I want that same report to print those three pages again but the currency will be changed dynamically based on certain criteria. It means I three pages for Dollar and next three pages for other currency.
    Or if you can help me printing the same report twice(do not want # of copies to be set to 2).
    Please it's urgent.
    Thanks
    Kailash.

    Hi
    Distribution.
    and the pass different currency in distribution.
    Regards
    chaluve

  • Multiple NSNotification, Changed only one object. In Notification getting notification of relationships.

    Hi,
    I have Entities like 'Alert' which has relationship to 'Company' and 'Company' has relationship to 'User'.
    When i am saving something in Alert. In my observer of NsNotificationCenter, i am getting notification for 'Company', 'User (multipler users)' and Alert.
    I am not able to figure out why i am getting Notifications of 'Company' and 'User'.
    For example : I have Company name - XYZ and it has 7 Users - 'A to G' and i created Alert on 'A' then after changing in Alert. i am getting notification of 7 users, 1 Company and 1 Alert.
    I dont know why i am getting Notification of Users and Company.
    My Objects Hierarchy is :
    Alert has relationship to Company.
    User has relationships to Company.
    Please help..
    Thanks,
    Amit

    Amit,
    First you should move this question to the webobjects mailing list:
    WebObjects Development <[email protected]>
    https://lists.apple.com/mailman/options/webobjects-dev/
    So each users can have many companies? Each Company has one Alert? I don't understand the relationship(s)..
    Alert => Company
    User <=>> Company
    it's not really clear what you want. (at least not to me).

  • Pass value of column when report has only one row

    Hello everyone,
    Sorry for not being very accurate with the title of the thread.Here's my situation:
    I have an item that, when modified(key pressed) refreshes an interactive report. All the report column have link to a javascript function, so when the user clicks the row it passes a value to another item on the page.
    To be more specific it goes like this: the user enters a numer in the item, and as he presses a key the report is shrinked down based on the number that it's made.(asynchronous search like google)
    Here's my problem:
    I have made all this working(using dynamic actions and a little javascript), but, for the sake of making it user-friendly i want that when the report is shrunk to only one line, the value of a column in that line to be auto-passed to a page item.(or a javascript function)
    Thanks a lot!
    Kind Regards,
    Cearnau Dan
    PS: APEX 4

    I am currently work on something similar, sort of, unless it's not.
    Anyway, the first function called by the action, onChange in my case, returns a count of items. If there is an exact match, meaning a one is returned, the function branches one way. Otherwise, it branches another way.
    In the case of an exact match, I run some other JS/AJAX to populate other details on the line. If not an exact match, in my case, I show a <div id="searchCriteria"> for the user to refine their search or accept what they typed in the first box and get a list of all possible matches. Obviously yours would behave differently.
    Hope this helps,
    Gregory

  • Time Series Line will shown Obiee server time while only one value on chart

    2012/7/3 :
    I mean if in the chart there is only one point ,then this point will be on the vertical axis and the date of this point will be the original point even the date you selected if before this date ,
    at this situation in the original point there will show current time on obiee server, does this is a bug?
    2012/6/28:
    In the time series line , if there only one point have value and no line displaying, then the chart will show the obiee server time when the query is executed like "02:10:00 AM" it will shown on the ordinate origin .
    Can this time be remove from the chart or it is a bug?
    Edited by: Yu Yang on 2012-7-2 下午7:58

    Hi Yang,
    Yes looks like a bug, I could not find any way to hide server time.
    Regards,
    Dpka

  • State machine custom task workflow how to pass one task field value to the next task field

    i am using ItemMetadata.xml to pass value from list to custom task first value its passing the but second value is showing as null
    plus how to pass one custom task value to the next custom task
    i.e one supervisor approver comments submitted field i want to see on department manager approval custom task which is the next approver from supervisor
    ows_firstfield=""
    ows_SecondField=""
    the above ows fields are from list
    in this i am unable to retrive the second value in the task form this is my first query?
    second query is that how can we pass one task field value to next approver task field value?
    any idea
    MCTS,ITIL

    What type of workflow is this?  IS this Visual Studio or SharePOint designer or third party (K2, Nintex, etc...)?  YOu should be able to get ahold of the task that was edited via the correlation token, and then grab any value you want from that
    task (wether it be a custom field or a standard worfklow task field). 
    It would help to know what you are using to build the workflow.
    Thanks!

  • CLFMAS: Change only 1 caracteristic in a non-local material class

    I try to modify a material's classification with CLFMAS.
    I would like to change only one characteristic. The others ones must keep their old values.
    CLFMAS erases everything, and I just have the new value of the caracteric I would change.
    I use a non-local class.
      Thanks in advance for your help.

    We have the same issue just come up last night.   A test on one class last week yielded the 2 record change history model (old value deleted, new value created).  Applying the same change to a different material class, we get only the single record model - no help or oss notes seem to mention that there are two different change history models in SAP.
    CHECK THIS -- check your single record change log in table CDPOS ... you may have values in both value_old and value_new fields there.  The 2 record model stores value_old on the "deleted" record and value_new field value on the "created" record.
    That still does not answer why there are two models and how one controls which model is implemented for change history on a class/characteristic ... but it sheds just a little more light on it.

  • Get only one row for each kind of a column

    hi there!
    i have a little problem.
    I have a table with 10 columns. One of them has repeated values. My goal is to get all the rows with this column only one time for each values that it has.
    Ex:
    Col1 Col2 Col3
    A A A
    B B B
    C A C
    D C D
    Column 2 has repeated values. My goal is to get:
    A A A
    B B B
    D C D
    Only one time each value of column 2.
    Thanks guys! ;)

    SQL>  CREATE TABLE Tbl (col1 VARCHAR2(1),col2 VARCHAR2(1),col3 VARCHAR2(1));
    Table created.
    SQL> INSERT INTO Tbl VALUES ('A','A','A');
    1 row created.
    SQL>              INSERT INTO Tbl VALUES ('B','B','B');
    1 row created.
    SQL>              INSERT INTO Tbl VALUES ('C','A','C');
    1 row created.
    SQL>              INSERT INTO Tbl VALUES ('D','C','D');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> SELECT * FROM tbl t1
      2  WHERE
      3  rowid=(SELECT min(rowid)
      4         FROM tbl t2
      5         WHERE t1.col2=t2.col2);
    C C C
    A A A
    B B B
    D C D
    SQL> SELECT * FROM tbl t1
      2  WHERE
      3  rowid=(SELECT max(rowid)
      4         FROM tbl t2
      5         WHERE t1.col2=t2.col2);
    C C C
    B B B
    C A C
    D C DEdited by: Saubhik on Aug 3, 2010 1:31 AM

  • Changing DB character set for only one schema

    We are interested in changing the characterset of only one user from Western European to AL32UTF8.
    Could you please verify if the following steps will be correct to do the same.
    1. Run CSScan on the one user
    2. Fix any issues
    3. Export that one user (with NLS_LANG set to <your old database character set>)
    4. Create a new database in the AL32UTF8 character set
    5. Import that one user into the new database (with NLS_LANG set to <your old database character set>)

    Actually your title is a little incorrect. You are not changing CS for only one schema in existing DB which is not possible. You are trying to migrate a schema to new CS DB. Which is totally doable and your approach is mostly correct.
    Database Character Set Scanner provide user scan mode
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/ch12scanner.htm#i1006013
    Mostly the issue could be data truncation, especially if you have column defined using char or varchar2 vs nchar and nvarchar2
    because char/varchar is defined in bytes, AL32UTF8 is multi-bytes char set, some character of your old data could saved more than 1 bytes in new DB and can't fit into the column size.

  • My ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.

    my ibook keeps shutting down completely with the date to reverting back to 1969.  i restart only after i plug in charger it lets me, then change date and save.  the next time i use same thing happens, safari, iphoto, email are the only ones i have used.
    please help!  i am at a loss here.
    thank you, movie lady
    ibook g4

    The iBook does not have a backup (PRAM) battery. It only has the main battery and a small capacitor which maintains the settings long enough to do a battery swap. If the battery is dead, what you are seeing can happen.
    If the battery is not a problem (or even if it is), you could try resetting the PMU and see if that helps.

Maybe you are looking for

  • Epson Print CD problem

    It appears at some time in the past few months a problem with directly printing to CD/DCDs on Epson printers has developed. It occurs on older 10.2, 10.4x and the new intel based software. My G5 running 10.4.8 was working fine with a R300 epson, when

  • Migrating to New server

    Hi All, Have a two node RAC say A and B. I need to move this to a new two node server retaining the same ip and hostname. Same OS is installed in the new server. Storage administrator says he can mount the same mountpoints to the new server except de

  • Relation between data blocks

    i want to join two tables with one to one relation between them using oracle form developer 10g but the problem is that using the oracle developer you can only display only one record from the second table at the same time related with current record

  • Web service runtime Config - SRT_ADMIN_CHECK not correct

    Hello to all, I have config the web service runtime as it is shown in note 1043195 or in help.sap.com: http://help.sap.com/erp2005_ehp_04/helpdata/EN/44/2bd53ecb69060be10000000a155369/frameset.htm Now I check the configuration with the Report SRT_ADM

  • NVRAM: Unable to read configuration. Try again later.

    Hi, I have built a 3750 switch stack (8 switches) and every now and then (random) when i do a "show run" or "write mem", i get the following error message NVRAM: Unable to read configuration. Try again It doesn't happen all the time, its a random thi