Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 102921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T01:02:31+00:00 2026-05-11T01:02:31+00:00

It seems vsize() and length() return the same results. Does anyone know of a

  • 0

It seems vsize() and length() return the same results. Does anyone know of a practical example of when to use vsize instead of length?

select vsize(object_name), length(object_name) from user_objects 

Result:

/468ba408_LDAPHelper    20  20 /de807749_LDAPHelper    20  20 A4201_A4201_UK  14  14 A4201_PGM_FK_I  14  14 A4201_PHC_FK_I  14  14 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T01:02:32+00:00Added an answer on May 11, 2026 at 1:02 am

    Well, Length() takes a character argument (CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB) whereas VSize() takes just about any data type, so if you pass Length() a noncharacter data type there has to be an implicit conversion.

    Length is also sensitive to to character sets.

    drop table daa_test; create table daa_test as select sysdate dt from dual; alter session set nls_date_format = 'YYYY-MM-DD'; select vsize(dt)  from daa_test; select length(dt) from daa_test; alter session set nls_date_format = 'YYYY-MM-DD HH24:mi:ss'; select vsize(dt)  from daa_test; select length(dt) from daa_test; 

    … giving …

    drop table daa_test succeeded. create table succeeded. alter session set succeeded. VSIZE(DT)               ----------------------  7                        1 rows selected  LENGTH(DT)              ----------------------  10                       1 rows selected  alter session set succeeded. VSIZE(DT)               ----------------------  7                        1 rows selected  LENGTH(DT)              ----------------------  19                       1 rows selected 

    VSize is really of use IMHO in understanding internal storage requirements of data.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Seems to me that both does the same thing. Docs: deferred.always() deferred.then()
Seems everyone recommends virtualenv for multiple python versions (on osx), but does it even
Seems so basic, I can't believe I don't know this! I just need a
Seems like it's inconsistent in the lists module. For example, split has the number
Seems Safari is having some problems rendering my SVG, while other browsers does it
Seems you can only use QPropertyAnimation with drop-down style animation , am I wrong
Seems like UITextAlignmentCenter is deprecated in iOS 6. I still use it and works
Seems to me that File.Exists() is much slower when the file does not exist
Seems like the following code should return a true, but it returns false. var
Seems like a simple problem, but can't get this to work. In the example

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.