About 7,810 results
Open links in new tab
  1. SQL query to make all data in a column UPPER CASE?

    Oct 10, 2014 · If you want to only update on rows that are not currently uppercase (instead of all rows), you'd need to identify the difference using COLLATE like this: UPDATE MyTable SET MyColumn = UPPER(MyColumn) WHERE MyColumn != UPPER(MyColumn) COLLATE Latin1_General_CS_AS

  2. SQL Server UPPER() Function - W3Schools

    The UPPER() function converts a string to upper-case. Note: Also look at the LOWER() function. Syntax

  3. SQL UPPER() Function - GeeksforGeeks

    Dec 20, 2024 · In this article, we will cover the SQL UPPER () function, including its syntax, examples, and best practices for use. The UPPER function in SQL is an in-built function that changes lowercase characters or strings to capital cases.

  4. SQL changing a value to upper or lower case - Stack Overflow

    Aug 14, 2016 · How do you make a field in a sql select statement all upper or lower case? Example: select firstname from Person. How do I make firstname always return upper case and likewise always return lower case?

  5. SQL UPPER Function Use and Examples - MSSQLTips.com - SQL

    5 days ago · The UPPER function is used to make to a string of characters or character expression all uppercase. Syntax UPPER(expression) Parameters. expression – this is the string or expression used that we require to make uppercase. Simple format example. The following example will make the string all uppercase. SELECT UPPER('hello world') as message ...

  6. sql - Change all Columns data to Upper Case in Table - Stack Overflow

    Aug 14, 2014 · Using a group concat type query like so will produce a single update statement. SELECT ', ' + QUOTENAME(COLUMN_NAME) + ' = UPER(' + QUOTENAME(COLUMN_NAME) + ')' FROM information_schema.columns. WHERE data_type in ('char', 'nchar', 'varchar', 'nvarchar') AND table_name = 'plats' FOR XML PATH('') if it's a one shot action, you may do.

  7. UPPER () function in SQL Server - GeeksforGeeks

    Aug 30, 2024 · UPPER() function in SQL Server. The UPPER() function in SQL Server is used to convert a string to uppercase. It transforms all the characters in the specified string to their uppercase equivalents ; Syntax: UPPER( string) Parameters: str: The string expression or column that you want to convert to uppercase. Result: This function will return ...

  8. UPPER (Transact-SQL) - SQL Server | Microsoft Learn

    Sep 3, 2024 · Returns a character expression with lowercase character data converted to uppercase. Transact-SQL syntax conventions. Syntax UPPER ( character_expression ) Arguments. character_expression Is an expression of character data. character_expression can be a constant, variable, or column of either character or binary data.

  9. SQL UPPER Function - SQL Tutorial

    The UPPER function accepts a string and returns a new string with all characters converted to uppercase. Here’s the syntax of the UPPER function: UPPER(string) Code language: SQL (Structured Query Language) ( sql )

  10. SQL UPPER, LOWER, and INITCAP Function Guide, FAQ & Examples

    Jun 2, 2023 · Learn how to do it with the UPPER, LOWER, and INITCAP functions in this article. The SQL UPPER function converts a string to upper case. It takes a string input value and converts the characters to uppercase versions of each character. In short, it capitalises a string value. The SQL LOWER function converts a string to lowercase.

  11. Some results have been removed
Refresh