Give me en example to use TRIM function in SQL.. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Give me en example to use TRIM function in SQL..

In SQL string function TRIM. Syntax TRIM(string). I need a Query example of using TRIM function.

2nd Apr 2020, 10:23 AM
Aazad Waf 🌀
Aazad Waf 🌀 - avatar
2 Réponses
+ 1
SELECT TRIM(' This string is padded with spaces '); Result: This string is padded with spaces NOTE: The trailing and leading spaces is removed from the result.
2nd Apr 2020, 10:44 AM
Ipang
+ 1
2nd Apr 2020, 10:49 AM
Aazad Waf 🌀
Aazad Waf 🌀 - avatar