Convert strings to UPPERCASE in SQL Server

后端 未结 2 1757
不思量自难忘°
不思量自难忘° 2021-01-01 09:39

What is the T-SQL function for converting strings into upper case in SQL Server?

相关标签:
2条回答
  • 2021-01-01 09:47

    UPPER

    SELECT UPPER(LastName) + ', ' + FirstName AS Name
    FROM Person.Person
    
    0 讨论(0)
  • 2021-01-01 09:47

    Try UPPER function:

    SELECT UPPER('Hello world!!!')
    

    Result:

    HELLO WORLD!!!
    
    0 讨论(0)
提交回复
热议问题