| Title | Under | Posted on |
|---|---|---|
| MD5 - SHA checksum of a file. | PeopleSoft Technical | 02/07/2012 - 5:29am |
| nVision Tabular Report through PIA with prompts | PeopleSoft Technical | 02/02/2012 - 10:07pm |
| Can we create an AE to mass update Position - Jobcode data? | PeopleSoft Technical | 01/18/2012 - 3:11am |
| Pay Components on job data can be defaulted and setup based on the rules? | PeopleSoft Functional | 01/05/2012 - 4:58am |
Not easily NO - just out of curiosity, what version are you on?
I did some googling (gotta love google) and found the following, might be helpful!
This function is from Oracle's site, it can get a SUBSTR of the LONG field. The function is limited to LONGs with fewer than 32,767 characters.
varchar,in_table_name varchar,in_column varchar2)
RETURN varchar AS
/*
CREATE BY: D.Jenkins
Date: 28-Apr02003
Use: Long to varchar2 conversion,
to allow a substring on long column in the table;
Notes:
Errors out with varchar > 32767
ORA-06502: PL/SQL: numeric or value error: character string
buffer too small
Synonyms and Grants:
create public synonym LONG_TO_CHAR for
synergen.CDBF_LONG_TO_CHAR;
grant execute as required
or
grant execute long_to_char to public;
*/
text_c1 varchar2(32767);
sql_cur varchar2(2000);
--
begin
sql_cur := 'select '||in_column||' from
'||in_owner||'.'||in_table_name||' where rowid =
'||chr(39)||in_rowid||chr(39);
dbms_output.put_line (sql_cur);
execute immediate sql_cur INTO text_c1;
text_c1 := substr(text_c1, 1, 4000);
RETURN TEXT_C1;
END;
/
Post new comment