Content Freeze
As of July 25th, 2023, there is a content freeze on this page.
This API can be used to escape user input for SQL statements.
Parameter
- String
Return Value
- Escaped string
Example
var _stm = pjs.executeDirect("SELECT UPPER ( '" + pjs.escapeString(CharField) + "' ) FROM SYSIBM.SYSDUMMY1"); pjs.fetch(_stm, CharField); pjs.close(_stm);