LOWER() function in SQL Server Last Updated : 17 Jun, 2021 Comments Improve Suggest changes Like Article Like Report LOWER() : This function in SQL Server helps to convert all the letters of the given string to lowercase. If the given string contains characters other than alphabets, then they will remain unchanged by this function. Syntax : LOWER( str ) Parameters : str - The string which will be converted to lowercase Result : This function returns the lowercase string. Example-1 : Using LOWER() function with Uppercase string. SELECT LOWER('WAKE UP AND TAKE UP') As New; Output : New wake up and take up Example-2 : Using LOWER() function with Mixed case string. SELECT LOWER('EvERy DAy iS A NEW day') As New; Output : New every day is a new day Example-3 : Using LOWER() function with Select statement. Now, let's Create Players table and Insert value in it. Create table Players ( Firstname varchar(40), Lastname varchar(40), Country varchar(40) ) Inserting Value : Insert into Players values ('VIRAT', 'KOHLI', 'INDIA') Output : The table will look like as follow. FirstnameLastnameCountryVIRATKOHLIINDIA Use of LOWER() function : SELECT LOWER(Firstname) As firstname, Lastname, Country FROM Players; Output : firstnameLastnameCountryviratKOHLIINDIA Example-4 : Using LOWER() function in a Variable. DECLARE @text VARCHAR(45); SET @text = 'LIFE IS AWESOME IF YOU LIVE '; SELECT @text, LOWER(@text) AS Lower; Output : text valueLowerLIFE IS AWESOME IF YOU LIVElife is awesome if you live Comment More infoAdvertise with us Next Article LOWER() function in SQL Server V vanshgaur14866 Follow Improve Article Tags : Technical Scripter SQL Technical Scripter 2020 DBMS-SQL SQL-Server +1 More Similar Reads LOG() Function in SQL Server The LOG() function returns the logarithm of a specified number or the logarithm of the number to the specified base. Syntax : LOG(number, base) Parameter : LOG() function accepts two-parameters as mentioned above and described below. number - This parameter hold a number which is greater than 0. bas 1 min read SQL Server POWER() Function The POWER() function in SQL Server is a mathematical function that computes the result of raising a number (the base) to the power of another number (the exponent). It is a versatile function used for various calculations, such as squaring a number, computing roots or applying exponential growth in 3 min read LOG10() Function in SQL Server This function returns the logarithm of a number to base 10. Syntax : LOG10(number) Parameter : This method accepts a single-parameter as mentioned above and described below. number - This parameter hold a number which is greater than 0. Returns - It returns the base-10 logarithm of the specified num 1 min read LTRIM() Function in SQL Server The LTRIM() function in SQL Server removes all the space characters found on the left-hand side of the string. It removes the leading spaces from a string, SyntaxThe LTRIM function for SQL Server syntax is: LTRIM(string, [trim_string]) Parameter: string - The string from which the leading space char 2 min read RANK() Function in SQL Server The RANK() function is a powerful window function in SQL Server used to assign a rank to each row within a result set. It is particularly useful when we need to assign a rank to a group of rows based on some sorting criteria and want to differentiate between rows that have the same values. Unlike ot 5 min read Like