increment ascii 9 to 10

First off apologies for posting this again. I tried everything and can not my post with the solution and I know that I had asked before. I use this to increment a field 'version '. When it comes to 9, the next char ascii is a colon, then the value goes from 9 to:. I need it to increment 10 and on-site. TIA! Sorry again!
SELECT 
CASE WHEN REGEXP_SUBSTR(UPPER(VERNUMBER), '[0-9]$') IS NULL
THEN TO_CHAR('1')
    ELSE
 
    REGEXP_REPLACE(VERNUMBER, '[0-9]$', CHR(ASCII(REGEXP_SUBSTR(UPPER(VERNUMBER), '[0-9]$')) + 1))
 
END NEW_VERSION
FROM DOC_INFO
WHERE DOC_INFO_ID = :P3_DOC_INFO_ID

Hi userRRRYB,

This gives a test:

SELECT CASE
          WHEN REGEXP_SUBSTR(UPPER(vernumber), '[0-9]+$') IS NULL THEN '1'
          ELSE REGEXP_REPLACE(vernumber, '[0-9]+$', REGEXP_SUBSTR(UPPER(vernumber), '[0-9]+$') + 1)
       END NEW_VERSION
FROM   DOC_INFO
WHERE  DOC_INFO_ID = :P3_DOC_INFO_ID

It will be useful,
John

If you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *

Tags: Database

Similar Questions

  • Setup for WIFI calling on the iPhone 6. Cellular data off the coast. Why still increment minutes on cell when outgoing calls over wifi?   How can I prove that I actually use wifi?    I tried to turn airplane Mode to isolate the wifi connection only, howev

    When you use the wifi calling, cellular minutes incrementing always?   WiFi calls = wifi = data cell = off

    Also tried to turn the airplane = mode on. How to track where call is go wifi or cell phone?

    Thank you

  • You've blocked the sending of an email. What is the non-ASCII character?

    I am email all ready to send and you blocked it because: "there are non-ASCII characters in the local part of the address of the recipient. It is not yet supported. If please change this address and try again. "whatever that means?

    You probably use the accented characters in the e-mail address. The server you are trying to send through cannot process non-ASCII characters.

    From the Wikipedia article - "ASCII":

    The encoded characters are numbers 0 to 9, letters a to z, uppercase letters from A to Z, basic punctuation symbols, control codes that originated with the teletypes and space.

    It is a common problem with some older servers. Check the email address. You may be able to send if you change just accentuated with no accented characters. No guarantee.
    If the accents are necessary, you will need to find another server to use. (gmail?)

    TB - 38, Win10-PC 2

  • Incremental or differential time machine?

    If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore the file with any changes made since the full backup first file...

    http://pondini.org/TM/works.html

  • If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore all changes since the first full file

    If time machine is incremental how it removes previous versions when the disk is full, without breaking the chain, so do not be able to restore the file with any changes made since the full backup first file...

    If the TM drive storage is full TM automatically deletes the version the oldest files for the new incremental backups can be made. Thus, in this case you cannot restore the versions that TM deleted because it takes more storage.

  • After re - install, when I "answer" text of the sender is in plain ASCII text format, regardless of the settings.

    I had trouble with Thunderbird, I so re-installed. (Version 38.2.0) I use TB for years, usually with no problems. But this time, after re - install, when I "answer" text of the sender is in plain ASCII text format, regardless of the settings. And plain text is bright blue!

    I want to preserve the HTML format (usual) of e-mail of the sender when I answer. My settings specify the HTML format.

    I don't want to use TB with this "disability" - help! Thank you!

    I don't see where you checked the compositions and the addressing of adjustment to your account. For all accounts also.

  • When I try to send an email to multiple recipients, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. This is not

    I bought a new computer. When I try to send an e-mail to multiple recipients, now, I get this message: "there are non-ASCII characters in the local part of the address of the recipient. It is not yet supported. If please change this address and try again. "I don't know what are the non-ASCII characters, so I don't know what to do. I never had this problem on my old computer. Please explain in simple language.

    The 'local' part in the context of email addresses, the part to the left of the symbol @. The warning is a bit of a surprise, because in general the owner of a mail server is relatively free to specify the address format. There is a movement to allow the games to other characters to be used in the fields, so I'm a little disappointed to see that, apparently, e-mail does not support the latter in the local part yet or it can be your SMTP server that generates this message.

    ASCII characters ("American Standard Code for Information Interchange") are, on the whole, the English alphabet, uppercase and lowercase, as well as figures, common punctuation and case of things like the asterisks, obliques and media bars, but not of accented characters. But even apparently simple things like spaces and dashes have cousins who, at first glance, appear to be identical, but are not represented in the ASCII system. I am thinking especially nonbreaking spaces, dash and half-quadratin.

    But I don't know why your new computer must have caused these warnings.

  • My new Macbook Pro backup in a time Capsule with 2 iMacs. After the first incremental backup but backup every now and again he returned to the backup of the entire drive, why is - this

    My new Macbook Pro backup in a time capsule, as well as 2 iMacs. After the initial backup, it seemed incremental backup but from time to time, he performs a full backup why, is it?

    time to time, she performs a full backup

    What evidence are you using to decide that she performs a full backup?

  • Server gave the incremental number of volume

    After the upgrade to the latest version, the server has added a number of incremental volume name in all its parameters.

    So my Cache files are on/Volumes/1 Server / server function, even if the disk is only named "Server."

    It seems to work but I don't know why he did it, and I don't want it to happen again. It can affect things like backup locations.

    No idea how to restore it without messing up all my settings?

    This kind of problem is most typical when you have an external hard drive or a second partition or volume on your drive internal. What can happen sometimes, it's when the Mac is stopped or restarted it can miss things neatly up to: basically, it leaves an entry in /Volumes which should normally be automatically deleted.

    When the Mac then starts and goes up the different volumes, he sees the previous left on entry and rightly then adds a number to get around this, to make it unique.

    I would therefore use Terminal.app and the following command

    ls-l /Volumes

    and tell us what is indicated.

    Some server configurations may Mac came with two players initially and both can have the same original name.

    Another possibility is that if you have already used a RAID1 configuration which is mirrored in the volume of server and this RAID broke, and then risk copies of the disk server being listed.

  • Link with characters not ASCII

    I'm trying to insert a link in the Pages v 5.6.2

    The link to insert is: https://es.wikipedia.org/wiki/Generaci on_y

    That is a perfectly valid link to a Wikipedia article (in Spanish), but it's URL contains a character not ascii (o)

    When entered at the prompt of link Pages supposed is a bad URL and let the link by default (www.apple.com) or the previously entered if you change a link.

    Is this expected behavior? This will prevent from many URL of wikipedia, not only Spanish, but many languages and also all the other pages that contains characters that are not ASCII, which are much like RESILIENCY now considers perfectly valid http://www.w3.org/International/articles/idn-and-iri/.

    I don't know where to post this, so I leave it here. We hope to see this fix.

    This is solved in the editor page links using substitution of encoding for the character of o as shown below. B3 C3 is the sequence of UTF-8 for this letter, and you discover that by launching the character palette (Edit menu: emoticons and symbols) and looking for the letter o. Latin lowercase letter o acute accent will be among the related characters, and when you click on this character, it will be apparent the UTF8 designation.

  • Convert csv to us-ascii, UTF-8 file

    I'm just trying to convert a file over I run this through terminal

    StudioA:~ StudioA$ file -I /Users/StudioA/Desktop/Mikey_WK37.csv 

    There is no difference between us-ascii and UTF8.  The first is a subset of the latter.

  • I want to use ASCII text in my YAHOO Email BT (accessed with FF)

    i.e. instead of VERDANA I want to use the the police (ASCII) used in a. TXT file

    can it be done? If so, how?

    Yahoo supports a "monotype" such as Courier New font?

  • Satellite NB10-A-10V - how to enter ASCII characters

    Hello!

    How can I enter ASCII characters, using the digital codes, with this little computer keyboard, please?

    I tried several combinations, using the "FN", overlay and the keys 'ALT', without success.
    What is the solution? The user guide is no help.

    In particular, I would like to enter the character "ß" (Alt + 0223 or Alt + 225).
    I don't want to use the table of Windows 8 characters.

    Can someone please help?

    Thank you very much

    Inserting characters ACII always depends on the software you use.

    _For example_ in Microsoft Word to insert ASCII characters, you need to press on and hold the ALT key while typing the character code.

    * NOTE: * you must use the numeric keypad to type the numbers and not the keyboard.
    Make sure that the Numlock key is on if your keyboard requires to type numbers on the numeric keypad.

  • After 9.2 update I can no longer drag to make fast-forward or rewind during playback of the video. I can now only click to jump forwards or backwards in 10 second increments. However, if I stop the video I can then drag to move forward or backward.

    After 9.2 update I can no longer drag to make fast-forward or rewind during playback of the video. I could do those before the update. I can now only click to jump forwards or backwards in 10 second increments. However, if I stop the video I can then drag to move forward or backward. I tried this on Netflix and Hulu with similar results. Apple TV restarting is not to solve the problem.

    Maybe a bug in the new version?  Does anyone else know this?

    Thank you!

    Many people complain when they reach around in the dark watching a movie they press and cause the movie ff or rwd.

    I think that this version tried to improve the situation by requiring the user to press and release the button then slide as formerly.

  • backup incremental simplesave

    HP SimpleSave backup software performs automatic incremental backups?

    According to the manual page 1 ' backup automatically changes every time that the computer is idle for 5 minutes. This happens if the SS drive is attached and powered. Page 5 "If you unplug your HP SimpleSave drive, just plug it back in and run HP SimpleSave by clicking on the icon of the application HP SimpleSave.» The software automatically backs up all the changed files and new files since your last backup from your computer to your HP SimpleSave drive".  http://www.HP.com/CTG/manual/c01824301.PDF

Maybe you are looking for