Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » SQL Anywhere Server - SQL Reference » Using SQL » SQL functions » Alphabetical list of functions

 

HTML_ENCODE function [Miscellaneous]

Encodes special characters within strings to be inserted into HTML documents.

Syntax
HTML_ENCODE( string )
Parameters
  • string   Arbitrary string to be used in an HTML document.

Remarks

This function returns the string argument after making the following set of substitutions:

Characters Substitution
" "
' '
& &
< &lt;
> &gt;
codes nn less than 0x20 &#xnn;

This function supports NCHAR inputs and/or outputs.

See also
Standards and compatibility
  • SQL/2003   Vendor extension.