About 1,180,000 results
Open links in new tab
  1. 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 Expressions.

  2. 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 variables is …

  3. 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 of a data …

  4. 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 "same …

  5. 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 values. You never …

  6. 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 list of variables …

  7. 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.

  8. 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 the batch or stored …

  9. 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 as it is active.

  10. 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.