Page 1 of 1

Publishing a special character into oracle database

Posted: Tue Sep 24, 2013 8:25 am
by ram123
We need help or suggestions for publishing a string value
STR1= "Characterization of the effect of surface area on testosterone gel 1.62% absorption";
into oracle data base through TI process.presently we are using directly ODBCOUTPUT

sqry = 'Insert into table1 (column1)
'|' Values ('''|str1|'''')';
odbcoutput(....)

please note the string STR1 has special character %

Re: Publishing a special character into oracle database

Posted: Tue Sep 24, 2013 10:34 am
by David Usherwood
This isn't a TM1 specific issue - you are building a string for Oracle to execute.
A quick google found lots of articles about special characters in Oracle:
http://docs.oracle.com/cd/F49540_01/DOC ... cqspcl.htm
http://stackoverflow.com/questions/9325 ... -an-insert

Re: Publishing a special character into oracle database

Posted: Tue Sep 24, 2013 12:17 pm
by ram123
Do you mean I have to change orcle column?please give me some clarity on the changes I need to do at database level.
presently column type is varchar2(500byte).

Re: Publishing a special character into oracle database

Posted: Tue Sep 24, 2013 12:21 pm
by David Usherwood
No.