DoubleApos (public, deprecated)
DoubleApos string
Defined in packages/acs-tcl/tcl/deprecated-procs.tcl
Deprecated. Invoking this procedure generates a warning.
When the value "O'Malley" is inserted int an SQL database, the single quote can cause troubles in SQL, one has to insert 'O''Malley' instead. Deprecated: in general, one should be using bind variables rather than calling DoubleApos.
- Parameters:
- string (required)
- Returns:
- string with single quotes converted to a pair of single quotes
- See Also:
- ns_dbquotevalue
- bind variables
- Testcases:
- No testcase defined.