Variables in dedicated SQL pool are set using the DECLARE statement or the SET statement. Initializing variables with DECLARE is one of the most flexible ways to set a variable value in SQL pool.