Code has been added to clipboard!

Using Ucase in SQL

Reading time 1 min
Published Aug 9, 2017
Updated Oct 11, 2019

SQL UCASE Function: Main Tips

  • This function changes values of a data record to uppercase.

Syntax of UCASE()

Example
SELECT UCASE(col_name) FROM tbl_name;

SQL Server: Syntax

Example
SELECT UPPER(col_name) FROM tbl_name;
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid certificates of completion
Coursera
Pros
  • Professional service
  • Flexible timetables
  • A variety of features to choose from
Main Features
  • Professional certificates of completion
  • University-level courses
  • Multiple Online degree programs
Datacamp
Pros
  • Great user experience
  • Offers quality content
  • Very transparent with their pricing
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable

Demo Database

Below there is a piece of "Customers" table:

ID Name Contact Address City Postal_Code Country
1 Ben Choplinks Ben Choplink Obeesre Str. 51 Rome 11207 Italy
2 Donald Rich Donald Richario Avda. de la Confgfstitución 4122 Tallin 17021 Estonia
3 Lilly Smilkins Lilly Smilkin Matadsderos 2312 Eguero 14023 Mexico
4 Brandinina Tom Hitchins 110 Hanegover Sq. London WB2 2DP UK
5 Carizmos Christiano Kerrys Berguvsesvägen 9 Luleå S-968 43 Sweden

SQL UCASE(): Example

In the code example below we take "Name" and "City". Finally, we change the "Name" column to uppercase:

Example
SELECT UCASE(CustomersName) AS Customers
FROM Customer;

SQLite Syntax: Example

Example
SELECT UPPER(Name) AS Customers
FROM Customers;

Latest Udacity Coupon Found:

Verified STAFF PICK

75% OFF COURSES

Udacity Black Friday Offer

The best time to save on Udacity courses is now - follow this coupon to access a 75% Udacity Black Friday discount & enjoy learning at a very low cost!

Expiration date: 08/03/2021
3176 People Used
Only 97 Left
Rating
5.0