Oracle9i SQL Reference
Release 1 (9.0.1)

Part Number A90125-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

Functions, 140 of 166


TO_NCHAR (number)

Syntax

to_nchar_number::=


Text description of functions103a.gif follows
Text description of to_nchar_number

Purpose

The TO_NCHAR (number) function converts a number to a string in the NVARCHAR2 character set. The optional fmt and nlsparam corresponding to n can be of DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE, INTERVAL MONTH TO YEAR, or INTERVAL DAY TO SECOND datatype.

Example

SELECT TO_NCHAR(CUSTOMER_ID) "NCHAR_Customer_ID"  FROM ORDERS 
   WHERE ORDER_STATUS > 9 
  
NCHAR_Customer_ID 
-----------------
102 
103 
148 
149 
148 

Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback