All Downloads are FREE. Search and download functionalities are using the official Maven repository.

expsigladb.Function.fnc_ccnconcat.fnc Maven / Gradle / Ivy

There is a newer version: 6.6.11
Show newest version
CREATE OR REPLACE FUNCTION FNC_CCNCONCAT (p_cursor IN  SYS_REFCURSOR, p_separator IN Varchar2 default ',')
  RETURN  VARCHAR2
IS
  l_return  VARCHAR2(32767); 
  l_temp    VARCHAR2(32767);
BEGIN
  LOOP
    FETCH p_cursor
    INTO  l_temp;
    EXIT WHEN p_cursor%NOTFOUND;
    l_return := l_return || p_separator || l_temp;
  END LOOP;
  RETURN LTRIM(l_return, p_separator);
END;
/






© 2015 - 2024 Weber Informatics LLC | Privacy Policy