My Oracle Support Banner

How To Convert Char column To Varchar2 and remove blanks (Doc ID 329807.1)

Last updated on JANUARY 29, 2024

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 to 10.1.0.4 [Release 8.1.7 to 10.1]
Oracle Database - Enterprise Edition - Version 10.1.0.4 and later
Information in this document applies to any platform.
Information in this document applies to any platform.

Goal

NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.

This note explains how to convert a char column and data to a varchar2 column and remove the blanks.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.