SQL LTRIM RTRIM

Опубликовано: 22 Апрель 2023
на канале: SQL Learning Resources: Dr. Cecelia Allison
499
7

SQL LTRIM RTRIM

This video demonstrates how to use the SQL LTRIM RTRIM functions. SQL LTRIM RTRIM are commonly used in SQL Server to remove spaces from the left-hand side or right-hand side of a string. SQL LTRIM RTRIM functions are used to remove leading and trailing spaces, respectively, from a string.

PLEASE SUPPORT THE CHANNEL 🔔 SUBSCRIBE 🔔
╰┈➤    / @sqlchannel  


Learn SQL Skills Fast with a "Practice Database"!
   • Learn SQL Fast 🚀  


▶️ EXAMPLE OF HOW TO USE SQL LTRIM () RTRIM ():

SELECT RTRIM(Firstname)+ ' ' +RTRIM(Lastname) + ' ' +RTRIM(City)+ ',' +LTRIM(State) AS CustomerStateCity
FROM Customer;



🚀 COOL SQL TIPS AND TRICKS!

VIEW All the Tables & Columns in the Database:
   • Show All Tables in Database | Learn SQL Fa...  

ADD Conditional Logic to Queries:
   • SQL Case Statement | Learn SQL Fast 🚀  

FIX Common SQL Errors:
   • SQL Server Errors | Fixes and More ⭐  

COPY Data from One Table to Another:
   • How to Copy Data from One Table to Another...  

COMBINE Multiple Strings:
   • Handy SQL Tips & Techniques! 🚀  

CREATE an SQL Phone Number Format:
   • SQL Phone Number Format | Learn SQL Fast 🚀  

FORMAT Dates in an SQL Query:
   • Format Date in SQL Query | Learn SQL Fast 🚀  

ALTER Tables in SQL:
   • Alter Tables in SQL | Learn SQL Fast 🚀  

ADD Table Constraints to a Table:
   • Add Constraints | Learn SQL Fast 🚀  

Query Multiple Tables Simultaneously:
   • INNER Join SQL | Learn SQL Fast 🚀  

Get Started Using SQL Server:
   • SQL Server | Get Started!  







BOOST YOUR CAREER GROWTH!

🔹 Train for a Career in Data:
https://www.jaffainc.com/Entrepreneur...

🔹 OBTAIN "High-Rated" SQL Book which Simplifies SQL!
https://www.amazon.com/SQL-Simplified...

🔹 Access "Best Selling Tech Products, Books, Music, Movies & More"! https://www.jaffainc.com/hardware-sof...

🔹 Earn "SQL 🏅 Certifications & CEUs" (Continuing Education Units)
https://www.jaffainc.com/SQLCertifica...








#database #data #sql #sqlqueries #sqlforbeginners #sqltutorial #sqlcertificate #learnsql #sqltraining #sqlserver #relational #sqlcourse