Click here to Skip to main content
Rate this: bad
good
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
Vinuzzz475

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 at 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)



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