REVERSE function

Hey There !!
Here is a query that I execute and get the following output:
select reverse('RAJU') from dual;
UJAR
I have defined no Function by this name. This means, REVERSE is an Oracle function to reverse the string. However, I guess, this is not a SQL function. Can anyone tell me what is the source for this function.
I sincerely appreciate your help.
Thanks,

Hallo,
i found following by asktom:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2424495760219
"Note REVERSE is an undocumented function and, as such, should be used
carefully. I do not recommend using REVERSE in “real” code, as its undocumented
nature implies that it is not supported."
Regards
Dmytro

Similar Messages

  • How to use reverse function in FOR loop

    Hi,
    Can we use REVERSE function in for loop.
    If so can u please give an explanation with some example.
    Thanks in advance.
    Satya.

    In SQL you could do this...
    SQL> ed
    Wrote file afiedt.buf
      1  select empno, ename, replace(sys_connect_by_path(ch,'|'),'|') as rev_ename
      2  from (
      3    select empno, ename, case when rn <= length(ename) then substr(ename, length(ename)-rn+1, 1) else null end as ch, rn
      4    from emp
      5        ,(select rownum as rn from dual connect by rownum <= (select max(length(ename)) from emp))
      6    where case when rn <= length(ename) then substr(ename, length(ename)-rn+1, 1) else null end is not null
      7    )
      8  where connect_by_isleaf = 1
      9  connect by empno = prior empno and rn = prior rn + 1
    10  start with rn = 1
    11* order by empno
    SQL> /
         EMPNO ENAME      REV_ENAME
          7369 SMITH      HTIMS
          7499 ALLEN      NELLA
          7521 WARD       DRAW
          7566 JONES      SENOJ
          7654 MARTIN     NITRAM
          7698 BLAKE      EKALB
          7782 CLARK      KRALC
          7788 SCOTT      TTOCS
          7839 KING       GNIK
          7844 TURNER     RENRUT
          7876 ADAMS      SMADA
          7900 JAMES      SEMAJ
          7902 FORD       DROF
          7934 MILLER     RELLIM
    14 rows selected.
    SQL>

  • Is it possible to switch off the auto reverse function

    Hi,
    I just bought a new iPod Shuffle. Is it possible to switch of the auto reverse function e.g. that the iPod starts to play from the beginning again after the last song of a playlist is reached?
    Thanks
    Sascha

    No...
    Look in settings...general settings....about.. Will show you the iOS version for the iPad.

  • Reverse function for Logic X

    I'm trying to use the reverse function for an audio file. when I open the audio file editor, there is no "Functions" pull down menu. how do I find it? thanks!

    Make sure you have all the necessary Advanced Tools enabled.
    If that's not it, then make sure you have actually selected some or all of the audio file in the editor.
    Nothing selected:
    Something selected:

  • Reverse function module of this FM "UNIT_OF_MEASURE_SAP_TO_ISO"

    Hi,
    I want the reverse Function module for this given function module UNIT_OF_MEASURE_SAP_TO_ISO

    Hi Josephine Clara
    check the input and the output fields, i guess you must be giving them reverse.........
    ISO_CODE you have to give the input parameters in it and the output parameters will be in SAP_CODE
    ISO_CODE = 'EA'.
    after executing (F8) the output will be
    SAP_CODE  = 'CDA'.
    rest i have to check the code

  • Reverse function in pl/sql

    Hi,
    Please help me.
    How to use reverse funtion in pl/sql block (Oracle 8).
    My Example which gives error.
    Declare
    A Varchar2(10);
    Begin
    Select Reverse('vijay') into A From Dual;
    Dbms_output.Put_line(' Reverse Value '||A);
    End;
    Thanking You,
    Regards.

    REVERSE works in PL/SQL in 9i only (works fine in SQL below 9i).
    In versions below 9i, you can use Dynamic SQL,
    or create your own function.
    I ran this in 9i:
    SQL> Declare
      2       A Varchar2(10);
      3  Begin
      4       Select Reverse('vijay') into A From Dual;
      5       Dbms_output.Put_line(' Reverse Value '||A);
      6  End;
      7  /
    Reverse Value yajiv
    PL/SQL procedure successfully completed.Here's a function you can use in 8i and below:
    CREATE OR REPLACE FUNCTION reverse_string(string_in VARCHAR2)
    RETURN VARCHAR2 AS
            v_new_string    VARCHAR2(4000);
            v_length        PLS_INTEGER := NVL(LENGTH(string_in),0);
    BEGIN
            FOR i IN REVERSE 1..v_length
            LOOP
                 v_new_string := v_new_string ||
                                SUBSTR(string_in, i, 1);
            END LOOP;
       RETURN v_new_string;
    END reverse_string;
    Function created.
    Declare
         A Varchar2(10);
    Begin
         Select reverse_string('vijay') into A From Dual;
         Dbms_output.Put_line(' Reverse Value '||A);
    End;
    Reverse Value yajiv
    PL/SQL procedure successfully completed.

  • Reverse function not active

    Hi,
    I noticed that in F8REL there's a function to do reverse... but it's not active..
    When I execute the list, I can select the document to release, but cannot reverse. How to use this function ?
    Thanks,
    Melissa

    Hi ....
    This is Release payment request not reverse
    Online generated payment requests are released for payment on being
    created, provided the user has authorization for the company code and
    the origin (authorization object  F_PAYRQ, activity '02'). If this
    authorization is lacking, the payment request is generated but it cannot
    yet be processed by the payment program for payment requests as it has
    not been released. In this case a different user who does have release
    authorization must use this program to release the payment request for
    payment.
    Rgds
    SumaMani

  • How to Reverse Functions Key setting on P55W Satellite

    I have a P55W Satellite that I would like to reverse the way the function keys work. I did it once by accident but on reboot it is back to original. How do I get the keys to operate as function not media keys permanently?

    Assuming the OS is Win 8 or 8.1, press Win key, type "System Settings", hit Enter and click on Keyboard.  Make selection, click on Apply and OK and setting should be retained.

  • Reverse Function Keys

    Hi all,
    Help!
    I recently got Apple's wireless keyboard and I was fiddling around with it and now the "F12" function key (which has the "increase volume" no longer works) on my MBP brings on dashboard and the actual dashboard function key - F4 doesn't work at all.
    I remember coming across a page on my computer that said I could set the function keys to their original function or something like that and I checked off that box, but now I don't remember where I set that.  Help.

    Found under Keyboard Preferences:
    Must deselect the Use F1, F2... option in the middle of the dialog box.

  • *caps lock* key has reversed function.....

    When the green light is ON, it signals LOWER case characters.
    When the green light is OFF, it displays UPPER case characters.
    This just happened overnight.
    I have tried to cycle the button several times, but the behavior persists.
    I have also rebooted the PB several times to no resolution.
    Any ideas?
    Thanks for your time!

    Try resetting SMC and PRAM.
    You probably meant try resetting the PMU, for the PowerPC-based system, instead of the Intel SMC reset.
    1. If the computer is on, turn it off.
    2. Disconnect the AC Adapter and remove the computer's battery.
    3. Press and hold down the power button for 5 seconds and then release the button.
    4. Reconnect the battery and AC Adapter.
    5. Press the Power button to restart the computer.

  • ECC 6.0 Questions on New Business Partner Standard Address Functionality.

    Hello.
    We are upgrading our client from 4.72 to ECC6.0 and in the UAT testing phase.
    Where before in 4.72 the Standard Mailing address was determined by a simple radio button, it appears that they have gone to a time dependent type of format which is causing issues with our client.
    I have a few questions surrounding this piece.
    1) Enabling 'Address Usage' : On the  Address Overview Tab in FPP2/FPP3, How can we enable the  'Address Usage' box that is under the 'Address Overview' Box? 
    2) Determining Standard Address on Address Overview:  For accounts brought over in the upgrade, the Valid From/Valid To Dates on the Address Overview are defaulted 01/01/0001 to 12/31/9999.  How can the user now tell which is the default address without having to go to the Address Tab?
    3)  Reversing Standard Address Change:  Our client has a business scenario that occurs often in which the a customer may call in to change their Standard mailing address.  Then the customer calls back at a later time and decides they wanted to reverse back to the original address.  We have gone through this scenario using the Move button to move in the new address, which changes the standard address, then subsequently use the Move > Reverse functionality.  It appears to change the on the Address overview tab but does not save on the Address Tab. 
    4) Effective Date Change:  In 4.72 the client had the ability to change any characteristic of the BP on a certain day.  For example wanting to change the Standard address, Name, Phone on a day in the future.  So they would pick that day in the future, and the planned change would occur on that day.  We cannot find that functionality in the current ECC 6.0. 
    Any guidance would greatly be appreciated!  Thanks in advance!
    Regards,
    Eric

    Hi Nick,
    Did you get the answer? I'm lookinf for the same information about profiles.
    Thanks!!

  • SQL (Reverse) not working in Forms 6i

    Hi:
    Env 6i c/s 8i DB.
    SELECT REVERSE ( '321' ) FROM DUAL works in SQL*Plus but does not accept the REVERSE function from within a Trigger. I could put the logic in a Package on the DB but I'd like to know why it does not work in F6i ?
    Thanks
    N.

    Forms 6i uses an older version of PL/SQL than the database, so it does not recognize the newly introduced function. You will need to create a database function to call from the form.

  • PARK & POST  Journal Entry and auto reversal

    Dear All,
    Our auditors has offered the following changes to be implemented in SAP system.
    1. JE approval: Configure the system functionality to place journal entries in a u201Choldu201D status when entered into the system, then the supervisor/manager review and approval then required to release the journal entry from the u201Choldu201D status and post the entry to the general ledger. The reviewer should not have the ability to initiate a journal entry.
    2. JE reversals:  Utilize the functionality to automatically reverse journal entries, booked in prior month as u201Creversing,u201D when new period is opened.
    3. 3-way match: Utilize the SAP functionality to perform an automated 3-way match process between invoice, purchase order, and goods receiving documentation. If invoices meet the 3-way match criteria based on established variance thresholds, invoices should automatically be approved for payment. If variances are noted, which exceed tolerance thresholds set by Management within the system, work flows should be used within the system to automatically route the invoice for the require approval.
    How this changes can incorporated in the system.
    Do suggest.
    Regards,

    For point 1, there is a functionality in SAP where all parked documents will be blocked and then released by the authorized person. There is a standard workflow for that. You may want to check Make and CHeck Settings for Document Parking. If this doesn't satisfy, then there's a need to create a customized workflow. Plus authorizations must be checked so that the users will not be able to Post but only Park. Note that, there is another functionality in Document posting called "Hold" this one, system doesn't assign any financial document. You can assign any reference/number to the document.
    For point 2, there is a Mass Reversal functionality in SAP called the F.80. For accruals, you may use FBS1 which you can input the reversal date and run F.81 to run the reversal.
    For point 3, it is a standard SAP functionality. You must set tolerance as to qty or price variance and the system automatically blocks the invoice for posting and the authorized person is required to release the approved invoices to remove the block for payment. In SAP, when you enter the PO for a particular invoice, it will give you how much or how many is actually goods received for that particular PO. in that sense you will be able to see whether the invoice is completely billed for the whole PO or not.

  • Slow/fast/reverse in video effects

    Hi I've just got the new iMac with iMovie 08. Does anyone know how I can get into the video effects and the slow/fast/reverse function?

    I've just got the new iMac with iMovie 08. Does anyone know how I can get into the video effects and the slow/fast/reverse function?
    Download and used the complementary copy of iMovie HD v6.0.4 if you want special effects/third-party plug-ins. iMovie '08 has no command structure for the threading of delayed third-party rendering modules. If you must use iMovie '08, create your special effects as either pre- or post-edits.

  • In-Pocket iPod Function Issues

    It's next to impossible to control the iPod function on the iPhone when it's in your pocket for a few reasons:
    1. It's very difficult to locate the forward/reverse function on the screen when the iPhone is in your pocket.
    2. It eventually locks, in which case you need to perform the additonal task of unlocking it without looking.
    3. The iPhone lays flat in my pocket. When it lays flat, it goes into cover flow. There aren't even forward and reverse functions in cover flow!
    This is a huge disadvantage when the iPhone is compared to the old iPods. My proposed solutions are:
    1. Create a software update which allows you to turn off cover flow (even though you'd still have a hard time finding the forward and reverse functions when the iPhone is in your pocket, and it still would lock).
    2. Put physical forward/reverse buttons on the next iPhone.
    3. I understand that Apple used to make earbud headphones with forward and reverse controls on them, but do they still make them? Even if they did, I don't like earbud headphones so that wouldn't help me.
    WDYT?
    PS - I don't like to turn locking off because if I forget to turn it off it stays on and drains the battery and heats up =(
    Message was edited by: 2xUeL

    Happy to help.
    In addition, this cable has the button built in to use the click/double click functions. You can use it to plug into any pair of headphones you like so no need to use the buds.
    http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/RSLID?mco=8C9 65391&fnode=home/shopiphone/iphoneaccessories&nplm=TN544LL/A

Maybe you are looking for