Title SQL FUNCTION

The title() function will title the case of each word e.g. This Is A Statement of Sql. The second optional parameter require name of culture like fr-FR, en-US, zh-CN and uses that culture information to do the conversion.

SELECT title('SQLDatabase.Net') /* returns : Sqldatabase.Net */;

SELECT title('SQLDatabase.Net', 'en-GB') /* returns : Sqldatabase.Net */;
    

Both statements above will produce the same result of Sqldatabase.Net. Notice the SQLDatabase was converted to Sqldatabase with only S capital.