Underlines examples: Identifier declaration Error message Warning message Information message */ CREATE FUNCTION DBO.BOOLEANTOCHAR ...

|  /* Underlines examples:
     Identifier declaration
     Error message
     Warning message
     Information message */
 CREATE 
    FUNCTION DBO.BOOLEANTOCHAR ( @is_true smallint )  RETURNS varchar
    AS
      BEGIN
        IF (@is_true <> /* FALSE */ 0)
          RETURN 'TRUE'
        ELSE
          IF  NOT(@is_true <> /* FALSE */ 0)
            RETURN 'FALSE'
          ELSE
            RETURN CAST(  NULL  AS CHAR)
      END|
English
English (United States)
日本語
Japanese