About 17,100,000 results
Open links in new tab
  1. SQL SET Keyword - W3Schools

    The SET command is used with UPDATE to specify which columns and values that should be updated in a table. The following SQL updates the first customer (CustomerID = 1) with a new ContactName and a new City:

  2. SET vs SELECT in SQL - GeeksforGeeks

    Dec 11, 2024 · In SQL, the two most important statements for assigning variables are SET and SELECT. SET is used to assign single values efficiently, while SELECT is used to retrieve data and assign multiple values .

  3. SET Statements (Transact-SQL) - SQL Server | Microsoft Learn

    May 23, 2023 · The Transact-SQL programming language provides several SET statements that change the current session handling of specific information. The SET statements are grouped into the categories shown in the following table.

  4. When to use SET vs SELECT for assigning SQL Server Variables

    Nov 25, 2009 · SET and SELECT may be used to assign values to variables through T-SQL. Both fulfill the task, but in some scenarios unexpected results may be produced. In this tip I elaborate on the considerations for choosing between the SET and SELECT methods for assigning a …

  5. Set Operators in SQL: A Comprehensive Guide - DataCamp

    May 23, 2024 · Set operations in SQL are techniques for combining or comparing the results of two or more SELECT statements. They act like mathematical set operations, letting us find the union, intersection, or difference between the rows returned by our queries. This makes them indispensable when analyzing data from multiple sources or perspectives.

  6. SQL Set Operators: The Complete Guide to UNION, INTERSECT

    Jul 19, 2018 · SQL set operators include UNION, UNION ALL, INTERSECT, MINUS, and EXCEPT. Learn what they are and how to use them in this guide.

  7. 15.2.14 Set Operations with UNION, INTERSECT, and EXCEPT

    SQL set operations combine the results of multiple query blocks into a single result. A query block, sometimes also known as a simple table, is any SQL statement that returns a result set, such as SELECT.MySQL 9.3 also supports TABLE and VALUES statements. See the individual descriptions of these statements elsewhere in this chapter for additional information.

  8. SQL 'SET' Statement: A Detailed Guide | Reintech media

    Sep 25, 2023 · In SQL, the 'SET' statement is a command used to modify the values of specified columns in a table. It's commonly used in conjunction with the UPDATE statement to update existing records within the table.

  9. T-SQL SET Statements syntax and example - T-SQL Tutorial

    T-SQL SET Statements. The SET statements allow you to change the current session handling of specific information.

  10. MySQL SET Command - Online Tutorials Library

    In MySQL, you can update SET elements in various ways: by replacing elements, adding elements, or removing elements from the SET data. Here are examples of each method −. In the following query, we replace the value in the 5 th row with the number 11, which corresponds to Goa + Assam + Kerala (8 + 2 + 1) −.

  11. Some results have been removed