Contents Index TRANSACTSQL function [Miscellaneous] TRUNCATE function [Numeric]

ASA SQL Reference
  SQL Functions
    Alphabetical list of functions

TRIM function [String]


Function 
Syntax 

TRIM ( string-expression )

Parameters 

string-expression    The string to be trimmed.

Standards and compatibility 
See also 

LTRIM function [String]

RTRIM function [String]

Example 

The following statement returns the value chocolate with no leading or trailing blanks.

SELECT TRIM( '   chocolate   ' )

Contents Index TRANSACTSQL function [Miscellaneous] TRUNCATE function [Numeric]