TRIM (2024)

TRIM enables you to trim leading or trailing characters (or both) from a character string. If trim_character or trim_source is a character literal, then you must enclose it in single quotation marks.

Both trim_character and trim_source can be VARCHAR2 or any data type that can be implicitly converted to VARCHAR2. The string returned is a VARCHAR2 (NVARCHAR2) data type if trim_source is a CHAR or VARCHAR2 (NCHAR or NVARCHAR2) data type, and a CLOB if trim_source is a CLOB data type. The return string is in the same character set as trim_source.

See Also:

Appendix C in Oracle Database Globalization Support Guide for the collation determination rules, which define the collation TRIM uses to compare characters from trim_character with characters from trim_source, and for the collation derivation rules, which define the collation assigned to the character return value of this function

This example trims leading zeros from the hire date of the employees in the hr schema:

SELECT employee_id, TO_CHAR(TRIM(LEADING 0 FROM hire_date)) FROM employees WHERE department_id = 60 ORDER BY employee_id;EMPLOYEE_ID TO_CHAR(T----------- --------- 103 20-MAY-08 104 21-MAY-07 105 25-JUN-05 106 5-FEB-06 107 7-FEB-07
TRIM (2024)
Top Articles
How to do your Coinbase Taxes | CoinLedger
Top 10 Fastest Growing Cryptocurrencies to Explore in 2022
Creepshotorg
Knoxville Tennessee White Pages
Cappacuolo Pronunciation
Canya 7 Drawer Dresser
Https Www E Access Att Com Myworklife
1TamilMV.prof: Exploring the latest in Tamil entertainment - Ninewall
When Is the Best Time To Buy an RV?
LA Times Studios Partners With ABC News on Randall Emmett Doc Amid #Scandoval Controversy
Umn Biology
Progressbook Brunswick
Spelunking The Den Wow
Slope Unblocked Minecraft Game
Charmeck Arrest Inquiry
What is the difference between a T-bill and a T note?
Cooking Fever Wiki
Ts Lillydoll
Finger Lakes Ny Craigslist
Obsidian Guard's Cutlass
Juicy Deal D-Art
Is A Daytona Faster Than A Scat Pack
Busted News Bowie County
Rimworld Prison Break
8005607994
Academy Sports Meridian Ms
Walgreens 8 Mile Dequindre
F45 Training O'fallon Il Photos
kvoa.com | News 4 Tucson
Vera Bradley Factory Outlet Sunbury Products
4.231 Rounded To The Nearest Hundred
Wheeling Matinee Results
Star News Mugshots
Obsidian Guard's Skullsplitter
Autozone Locations Near Me
Craigs List Stockton
Daily Jail Count - Harrison County Sheriff's Office - Mississippi
Cdcs Rochester
Oxford House Peoria Il
MSD Animal Health Hub: Nobivac® Rabies Q & A
Ig Weekend Dow
All Characters in Omega Strikers
Kate Spade Outlet Altoona
Abigail Cordova Murder
300+ Unique Hair Salon Names 2024
Jeep Forum Cj
Ewwwww Gif
Santa Ana Immigration Court Webex
David Turner Evangelist Net Worth
Noelleleyva Leaks
BYU Football: Instant Observations From Blowout Win At Wyoming
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 6324

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.