September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -5,13 +5,13 @@
|
|||
* Please see also the SQL solution for the same task.
|
||||
*/
|
||||
|
||||
DECLARE
|
||||
FUNCTION rencode(an IN NUMBER) RETURN VARCHAR2 IS
|
||||
rs VARCHAR2(20);
|
||||
CREATE OR REPLACE
|
||||
FUNCTION rencode(an IN NUMBER)
|
||||
RETURN VARCHAR2
|
||||
IS
|
||||
BEGIN
|
||||
SELECT to_char(to_char(to_date(an,'YYYY'), 'RRRR'), 'RN') INTO rs FROM dual;
|
||||
RETURN rs;
|
||||
END;
|
||||
RETURN to_char(an, 'RN');
|
||||
END rencode;
|
||||
|
||||
BEGIN
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue