
DECLARE @local_variable (Transact-SQL) - SQL Server
Nov 18, 2025 · The value can be a constant or an expression, but it must either match the variable declaration type or be implicitly convertible to that type. For more information, see …
about_Variables - PowerShell | Microsoft Learn
Working with variables To create a new variable, use an assignment statement to assign a value to the variable. You don't have to declare the variable before using it. The default value of all …
Set function - Power Platform | Microsoft Learn
Mar 22, 2024 · Use the Set function to set the value of a global variable, which temporarily holds a piece of information, such as the number of times the user has selected a button or the result …
Use variables to improve your DAX formulas - DAX | Microsoft Learn
Oct 31, 2022 · The measure definition can be made more efficient by using a variable, VAR. The following measure definition represents an improvement. It uses an expression to assign the …
Understand variables in canvas apps - Power Apps | Microsoft Learn
Aug 27, 2025 · To declare a variable and its type, just include it in any of these functions anywhere in your app. These functions don't create variables; they only fill variables with …
Task sequence variable reference - Configuration Manager
Jul 17, 2025 · Use the browser Find function (typically CTRL + F) to find a specific variable. The variable notes if it's specific to particular step. The article on task sequence steps includes the …
New-Variable (Microsoft.PowerShell.Utility) - PowerShell
The New-Variable cmdlet creates a new variable in PowerShell. You can assign a value to the variable while creating it or assign or change the value after it is created.
Variables (Transact-SQL) - SQL Server | Microsoft Learn
Nov 18, 2025 · The scope of a variable is the range of Transact-SQL statements that can reference the variable. The scope of a variable lasts from the point it's declared until the end of …
about_Environment_Provider - PowerShell | Microsoft Learn
Sep 29, 2025 · You can also change the value of an environment variable using the $Env: variable prefix. Any changes made only pertain to the current PowerShell session for as long …
Declaring variables (VBA) | Microsoft Learn
Jul 31, 2024 · You can implicitly declare a variable in Visual Basic simply by using it in an assignment statement. All variables that are implicitly declared are of type Variant.