Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. 3 wrz 2024 · Imposes conditions on the execution of a Transact-SQL statement. The Transact-SQL statement that follows an IF keyword and its condition is executed if the condition is satisfied: the Boolean expression returns TRUE.

  2. Learn how to use the IF...ELSE statement to control the flow of code execution in SQL Server. See syntax, examples, and nested IF...ELSE statements.

  3. 21 maj 2024 · Imposes conditions on the execution of a Transact-SQL statement. The Transact-SQL statement (sql_statement) following the boolean_expression is executed if the boolean_expression evaluates to TRUE. The optional ELSE keyword is an alternate Transact-SQL statement that is executed when boolean_expression evaluates to FALSE or NULL.

  4. 30 lis 2019 · Transact-SQL IF THEN ELSE to typowa instrukcja warunkowa. Wykonuje blok kodu, jeśli warunek ujęty przed blokiem jest spełniony. Jeśli nie jest spełniony mamy do dyspozycji opcjonalny warunek ELSE. Instrukcję IF THEN ELSE w SQL Server możemy używać w T-SQL m. in. w blokach anonimowych, procedurach, funkcjach, triggerach.

  5. 15 wrz 2008 · The CASE statement is the closest to IF in SQL and is supported on all versions of SQL Server. SELECT CAST ( CASE WHEN Obsolete = 'N' or InStock = 'Y' THEN 1 ELSE 0 END AS bit) as Saleable, * FROM Product. You only need to use the CAST operator if you want the result as a Boolean value.

  6. 12 wrz 2022 · Learn how to use the IF statement in T-SQL to execute code only if certain conditions are met. See examples of single and multiple statement IF, IF with BEGIN and END, and IF with ELSE IF and ELSE.

  7. 28 cze 2024 · IF <Condition> {Statement | Block_of_statement} [ ELSE {Statement | Block_of_statement}] zasady: Warunek powinien być Wyrażenie logiczne , czyli warunek po ocenie daje wartość logiczną.

  1. Ludzie szukają również