Click here to Skip to main content
12,396,230 members (68,997 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Oracle
Hi Friends,

I am totally unfamiliar with Oracle.I want to add a column with datatype nvarchar(100 bytes).
I used
ALTER TABLE PH_MASTER_STORE Add ADDRESS1 nvarchar2(100) NOT NULL;
It added that column with nvarchar2(100 Char).How to get size in bytes of a nvarchar2 column in Oracle? Please help me.....


Thanks in advance.....

Vineetha.K.R
Posted 30-Jan-13 18:12pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

select Sum(DATALENGTH(col)) FROM Table
  Permalink  
Comments
Jörgen Andersson 2-Feb-13 15:59pm
   
On Oracle it's just LENGTH

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100