A GUIDE TO SQL
A GUIDE TO SQL
9th Edition
ISBN: 9781305897397
Author: Pratt
Publisher: CENGAGE L
Expert Solution & Answer
Book Icon
Chapter 8, Problem 1RQ

Explanation of Solution

Display letters in uppercase in Oracle, Access, and SQL Server:

Display letters in uppercase using Oracle:

  • User can display the letters in uppercase using “UPPER” function.
  • Syntax for “UPPER” function:

    UPPER(text)

  • From the above syntax, “text” specifies any text or any column name from specific table.

Example:

The example for “UPPER” function is given below:

SELECT * FROM STUDENT_ID, UPPER(STUDENT_NAME) FROM STUDENT;

The above query is used to display student ID and student name with uppercase letters from “STUDENT” table.

  • Using “UPPER” function, user can change the every student name to uppercase letters.

Display letters in uppercase using Access:

  • User can display the letters in uppercase using “UCASE” function.
  • Syntax for “UCASE” function:

    UCASE(text)

  • From the above syntax, “text” specifies any text or any column name from specific table.

Example:

The example for “UCASE” function is given below:

SELECT * FROM STUDENT_ID, UCASE(STUDENT_NAME) FROM STUDENT;

The above query is used to display student ID and student name with uppercase letters from “STUDENT” table.

  • Using “UCASE” function, user can change the every student name to uppercase letters.

Display letters in uppercase using SQL Server:

The SQL Server also uses “UPPER” function to display letters in uppercase. For SQL Server, same procedure as Oracle.

Explanation of Solution

Display letters in lowercase using Oracle:

  • User can display the letters in lowercase using “LOWER” function.
  • Syntax for “LOWER” function:

    LOWER(text)

  • From the above syntax, “text” specifies any text or any column name from specific table.

Example:

The example for “LOWER” function is given below:

SELECT * FROM STUDENT_ID, LOWER(STUDENT_NAME) FROM STUDENT;

The above query is used to display student ID and student name with uppercase letters from “STUDENT” table.

  • Using “LOWER” function, user can change the every student name to lowercase letters.

Display letters in lowercase using Access:

  • User can display the letters in uppercase using “LCASE” function.
  • Syntax for “LCASE” function:

    LCASE(text)

  • From the above syntax, “text” specifies any text or any column name from specific table.

Example:

The example for “LCASE” function is given below:

SELECT * FROM STUDENT_ID, LCASE(STUDENT_NAME) FROM STUDENT;

The above query is used to display student ID and student name with lowercase letters from “STUDENT” table.

  • Using “LCASE” function, user can change the every student name to uppercase letters.

Display letters in lowercase using SQL Server:

The SQL Server also uses “LOWER” function to display letters in lowercase. For SQL Server, same procedure as Oracle.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
In this assignment, you will implement a multi-threaded program (using C/C++) that will check for Prime Numbers and Palindrome Numbers in a range of numbers. Palindrome numbers are numbers that their decimal representation can be read from left to right and from right to left (e.g. 12321, 5995, 1234321). The program will create T worker threads to check for prime and palindrome numbers in the given range (T will be passed to the program with the Linux command line). Each of the threads works on a part of the numbers within the range. Your program should have some global shared variables: • numOfPrimes: which will track the total number of prime numbers found by all threads. numOfPalindroms: which will track the total number of palindrome numbers found by all threads. numOfPalindromic Primes: which will count the numbers that are BOTH prime and palindrome found by all threads. TotalNums: which will count all the processed numbers in the range. In addition, you need to have arrays…
How do you distinguish between hardware and a software problem? Discuss theprocedure for troubleshooting any hardware or software problem. give one reference with your answer.
You are asked to explain what a computer virus is and if it can affect computer’shardware or software. How do you protect your computer against virus? give one reference with your answer.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Cengage Learning
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning