Member Junction
    Preparing search index...

    Writes T-SQL: bracket quoting, TOP, BIT booleans, ISNULL, + concatenation.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    Methods

    • SQL Server supports COALESCE as an ANSI-standard alternative to its native ISNULL. The two differ subtly in return-type inference and argument arity (COALESCE is n-ary; ISNULL is two-arg only). Use this helper when codegen needs the n-ary form or when caller intent is ANSI-portable rather than T-SQL-native.

      Parameters

      • expr: string
      • fallback: string

      Returns string

    • SQL Server has both ISNULL (T-SQL native, two-arg only) and COALESCE (ANSI, n-ary). For two-argument null-coalescing we emit the native ISNULL form so generated SPs match the conventional T-SQL idiom and the data-type-of-first-argument semantics callers may already rely on.

      Parameters

      • expr: string
      • fallback: string

      Returns string

    • SQL Server identifiers are case-insensitive by default, so a bare alias preserves the requested casing when echoed in result-set column metadata. Bracketed quoting would also work but is unnecessary.

      Parameters

      • aliasName: string

      Returns string