Programmability

  1. 🚧 Variables & Expressions β€” DECLARE, SET vs SELECT assignment, expressions.
  2. 🚧 Stored Procedures β€” Input/output params, RETURN, OUTPUT.
  3. 🚧 Functions: Scalar vs TVF β€” Scalar UDF, inline TVF, multi-statement TVF (perf notes).
  4. 🚧 TVPs (Table-Valued Parameters) β€” Table types and passing sets to procedures.
  5. 🚧 TRY…CATCH & XACT_STATE() β€” Error handling patterns for robust T-SQL.