What does data_length  column indicates in user_tab_cols dictionary view

Hi all,
Version details
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE     11.2.0.2.0     Production
TNS for Solaris: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> create table
  2  temp
  3  (
  4   id number(9),
  5   id2 number(22,9),
  6   name varchar2(100),
  7  name2 varchar2(10)
  8  );
Table created.
SQL> ALTER TABLE TEMP ADD ID3 NUMBER(30);
table altered
SELECT table_name, column_name, data_type, data_length LENGTH, data_scale,
    data_precision  PRECISION
  FROM user_tab_cols utc
WHERE utc.table_name = 'TEMP';
output :
TABLE_NAME COLUMN_NAM DATA_TYPE      LENGTH DATA_SCALE  PRECISION
TEMP       ID         NUMBER             22          0          9
TEMP       ID2        NUMBER             22          9         22
TEMP       NAME       VARCHAR2          100                     0
TEMP       NAME2      VARCHAR2           10                     0
TEMP       ID3        NUMBER             22          0         30
SQL> My Question is
Why the length of the column ID is 22 , scale is zero and why the precision is 9 even though i have not mention anything while creation .
If you see name,name2 column it is showing what ever size i have given .
Is oracle requires 22 bytes for storing number data types .
Please clarify this ........
Thanks,
P Prakash
Edited by: prakash on Feb 19, 2012 9:55 PM
Edited by: prakash on Feb 19, 2012 9:56 PM

NVL (data_precision, 0) PRECISION
nvl function replaces all nulls with what ever your given value.
Thanks,
surya

Similar Messages

  • TS1702 Some apps have a "+" symbol on the "free" download button in the apps store. What does the "+" symbol indicate?

    Some apps have a "+" symbol on the "free" download button in the apps store. What does the "+" symbol indicate?

    Means a universal app - one designed to work on both the iPad and iPhone/iPod touch.

  • HT201272 I purchase movie, when I try to view it has error massage this requested ULR not found on server. What does this mean and how can I view this movie?

    I purchase a movie on iTunes, when I tried to view I get error massage, requested ULR is not found on server. What does this mean and how can I view this movie.

    familyfromapo wrote:
    The movies are Dexter that we purchased at a store.  He uses the Air and since it does not have the disk option this is how we were hoping he could view his shows.  We had no idea we would be breaking the law....just wanted to put all of the movies we have purchased  on the external solely for the intent of our viewing. 
    Thank you for your time and help.
    Sorry.
    It is illegal to break the encryption to copy a dvd.
    Judge: DVD-copying software is illegal - CNET News
    Judge Rules DVD-Copying Software Is Illegal | Threat Level | Wired ...
    MPAA Says Making Even "One Copy" of a DVD is Illegal

  • In itunes if "Songs" is selected a column with a Check Sign header is displayed. What does this column mean?

    In itunes with "Songs" selected there is a column labled with a header which is simply a check sign. If you select "View" a pulldown menu titled "View Options" appears and one has the option to either display (or not display) the "Checked" column. I get that. But what does it mean when a song is shown as "Checked" versus not being "Checked" That part I don't understand. Is it used in conjunction with another operator? I understand columns labled "Name", "Artist", "Alumn" but "Check Sign" is new to me. Please help.
    Thanks.

    Diesel,
    Thank you for your response. I never would have figured that out.
    Russ

  • What does the category "Other" refer to when viewing Macbook's storage?

    Less than two months ago I purchased a Macbook Air 13 inch. I already have about 8 gb music and 14 gb of movies. But I have nearly 17 gb of things stored under the "other" category. I can't, to my knowledge, click on this and see what this category contains.
    So how can I have this much stuff in this "other" category?
    What does this "other" category refer to? What kind of files are stored here?
    Is it a backup of some sort? And if so, don't you have to authorize a backup because I don't believe I did, but can't be certain.
    I've downloaded Adobe, Quicktime, Microsoft Office, and Vuze, but aren't these stored under Apps, not the "other" category?
    This seems like a lot and I don't want to take up uncessary space.
    Guidance is very much appreciated.
    Thanks!

    Some of that could be photos deleted from iPhoto but still present on your machine until you empty iPhoto Trash. e-mail attachments deleted from mail, but still on your machine until you empty e-mail trash, iMovie clips deleted but still on your machine until you empty iMovie Trash (all those programs do not put files into the trash can on your desktop... they have an "integrated" trash of their own that must be emptied by the user). iTunes media files that you "deleted" but did not allow iTunes to put in the trash.
    Downloaded files

  • What does "service battery" indicate?

    I just saw that my battery condition is "service battery". Does this mean that I need a replacement, or is it safe to continue to use this battery? I just bought this computer less than 2 years ago and I have already needed to replace my hard drive and now my battery??

    "Service Battery" usually does mean the battery needs replacement, though the message has sometimes been reported to come and go for a while before the battery's performance becomes unacceptably poor. I wouldn't ordinarily expect a two-year-old battery to need replacement, though.
    What are your battery's Full Charge Capacity and Cycle Count as shown in System Profiler/System Report? And is this a 13", 15" or 17" MacBook Pro?

  • What does this error indicate, error=2?

    Hello. I've got a web app working on one computer (dev), but when I move it
    over to the server for external consumption, it gives me this error,
    Compilation of
    'D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\js
    p_servlet\__test.java' failed:
    D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\jsp
    servlet\_test.java error=2
    Full compiler error(s):
    java.io.IOException: CreateProcess: javac -classpath
    D:\webapps\mydomain\myserver\stage\_appsdir_Test_war\Test.war;D:\webapps\myd
    omain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816;d:\bea\jdk131_03\
    jre\lib\rt.jar;d:\bea\jdk131_03\jre\lib\i18n.jar;d:\bea\jdk131_03\jre\lib\su
    nrsasign.jar;d:\bea\jdk131_03\jre\classes;d:\bea\jdk131_03\lib\tools.jar;d:\
    bea\wls\server\lib\weblogic_sp.jar;d:\bea\wls\server\lib\weblogic.jar; -d
    D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816
    D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\jsp
    servlet\_test.java error=2
         at java.lang.Win32Process.create(Native Method)
         at java.lang.Win32Process.<init>(Win32Process.java:61)
         at java.lang.Runtime.execInternal(Native Method)
         at java.lang.Runtime.exec(Runtime.java:546)
         at java.lang.Runtime.exec(Runtime.java:472)
         at java.lang.Runtime.exec(Runtime.java:438)
         at weblogic.utils.Executable.exec(Executable.java:208)
         at weblogic.utils.Executable.exec(Executable.java:133)
         at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
    a:545)
         at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
         at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:406)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
         at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
         at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:44
    7)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :287)
         at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
         at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5360)
         at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
         at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3043)
         at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2468)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
    --------Can anyone comment on what I'm looking at? I know it can't compile
    the code, but why? It can run another webapp I have setup, so I figure the
    classpath is all setup properly.Any ideas would be greatly appreciated.Oh,
    before I go, I also increased the mem_args in the .cmd file to start the
    server cause I read in the support site something about that. But it didn't
    help.Thanks.

    I guess I'm a tad confused (not enough coffee, sorry :>). But do I have to
    log in as the other user and setup their environment variable?
    I have one login user login to monitor the machine and log files, and I run
    WLS as a service (or planning on setting it up that way tonight) to run as
    another user. So do I have to change that user's setting?
    Do I need to setup the user to "run as OS", "do stuff with tokens"? Is that
    important? Will it run with/without it? I'm just wondering cause I read it
    once or twice, but not after that.
    Thanks for your ideas/patience. :>
    "Dimitri I. Rakitine" <[email protected]> wrote in message
    news:[email protected]...
    No, just keep in mind that environment for the user which runs your NT
    service can be different
    from your usual login environment.
    "PHenry" <[RemoveBeforeSending][email protected]> wrote in message
    news:[email protected]...
    DOH! :> I redid my server last night, so I haven't tried it again yet.
    :<
    Sorry about that. I'm running it as an app at the moment. I'm going totry
    to convert it to a service tonight. Any suggestions?
    Thanks.
    "PeterH" <[email protected]> wrote in message
    news:[email protected]...
    Oh, that sounds pretty simple then! :> Thanks. I'm going to try thatnow.
    "Dimitri I. Rakitine" <[email protected]> wrote in message
    news:[email protected]...
    That means that user which runs this service doesn't have javac in
    it's
    PATH. You
    can include it into the system env path and it should work.
    "PeterH" <[email protected]> wrote in message
    news:[email protected]...
    Howdy. I just tried running WLS outside of the NT service stuff
    and
    things
    work fine.:< Is it something as simple as runnig it as a service?
    "PeterH" <[email protected]> wrote in message
    news:[email protected]...
    Hello. I've got a web app working on one computer (dev), but
    when
    I
    move
    it
    over to the server for external consumption, it gives me this
    error,
    >
    Compilation of
    'D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\js
    p_servlet\__test.java' failed:--------------------------------------------------------------------------
    D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\jsp
    servlet\_test.java error=2
    Full compiler error(s):
    java.io.IOException: CreateProcess: javac -classpath
    D:\webapps\mydomain\myserver\stage\_appsdir_Test_war\Test.war;D:\webapps\myd
    >>>>>>
    >>>>>
    >>>>
    >>>
    >>
    >
    omain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816;d:\bea\jdk131_03\
    >>>>>>
    >>>>>
    >>>>
    >>>
    >>
    >
    jre\lib\rt.jar;d:\bea\jdk131_03\jre\lib\i18n.jar;d:\bea\jdk131_03\jre\lib\su
    >>>>>>
    >>>>>
    >>>>
    >>>
    >>
    >
    nrsasign.jar;d:\bea\jdk131_03\jre\classes;d:\bea\jdk131_03\lib\tools.jar;d:\
    >>>>>>
    >>>>
    >>
    bea\wls\server\lib\weblogic_sp.jar;d:\bea\wls\server\lib\weblogic.jar; -d
    >>>>>>
    >>>
    D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816
    >>>>>>
    >>>>>
    >>>>
    >>>
    >>
    >
    D:\webapps\mydomain\myserver\.wlnotdelete\_appsdir_Test_war_Test_4413816\jsp
    servlet\_test.java error=2
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.<init>(Win32Process.java:61)
    at java.lang.Runtime.execInternal(Native Method)
    at java.lang.Runtime.exec(Runtime.java:546)
    at java.lang.Runtime.exec(Runtime.java:472)
    at java.lang.Runtime.exec(Runtime.java:438)
    at weblogic.utils.Executable.exec(Executable.java:208)
    at weblogic.utils.Executable.exec(Executable.java:133)
    at
    weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.jav
    a:545)
    at
    weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:354)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:406)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:206)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:160)
    at
    weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:44
    7)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :287)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :242)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5360)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:721)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3043)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2468)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)--------------------------------------------------------------------------
    --------Can anyone comment on what I'm looking at? I know it
    can't
    compile
    the code, but why? It can run another webapp I have setup, so I
    figure
    the
    classpath is all setup properly.Any ideas would be greatly
    appreciated.Oh,
    before I go, I also increased the mem_args in the .cmd file to
    start
    the
    server cause I read in the support site something about that.
    But
    it
    didn't
    help.Thanks.
    Dimitri
    Dimitri

  • What does "preferred" column heading mean in effects tab of browser?

    Ya gotta choice: no or yes. Did a search in the manual for preferred but didn't see anything that jumped out at me.

    If you want to cut down on the number of effects that show in the Browser window/Effects tab...just place a check mark(s) in the preferred column, then go to MainMenu/Effects/Effect Availability and select 'Only My Preferred Effects'.
    K
    ...such a powerful and creative interface, huh?

  • What does error 17502 indicate?

    When I run my TestStand Sequence, I'm receiving the following error code "-17502: System Level Exception". The step that fails is a call to a DLL and the sytax of the call looks correct. I call the same DLL various other times before the failed call, and those work fine. When I look up the error code in your supplied help, it is only described as a TS_ERR_OS_Exception.
    I have been stuck on this problem for a few days and don't know what else to try. Can you possibly give me any insight into what could possibly be causing this error?
    Thank you, I really appreciate your help.
    Michael

    Hi Mike,
    Some the response from Anand on this message maybe helpful.
    Have you tried stepping into the code?
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • What does the red text mean when I view the Page Source of a page I am developing?

    I am using Dreamweaver 8 to develop a simple web page. When I view the source code in Firefox, it marks mistakes (i think) in red text, like if i forgot to close some code. However, it also marks all the /'s red that Dreamweaver puts before closing a section of code. You can see my page at acoustiyah.com. View the page source in Firefox and you'll see what I mean. I can code this by hand without those slashes, but do I need to do that? Why are those forward slashes red?
    Thanks

    Thanks Scott,
    So those slashes will not cause a problem in Google search rankings or something like that? There must be some reason that Firefox doesn't like them, right? Or is it just because the Firefox dictionary isn't expanded enough yet?
    - ljh

  • What does jws do for me? - your views

    I guess it is a very basic qn that I want people's views and answers.
    Please reply
    Thanks

    I am trying to launch some jini applications using jws. This was a general question posted to know the power of jws and to see what people are using it for. This will make me more creative in using jws.
    Thanks,
    Rama

  • Max wait from a trace file...what does it mean

    Hi,
    following is a part of an extended sql trace file :
    Elapsed times include waiting on following events:
    Event waited on Times Max. Wait Total Waited
    ---------------------------------------- Waited ---------- ------------
    library cache lock 5 0.00 0.00
    row cache lock 7 0.00 0.00
    library cache pin 3 0.00 0.00
    rdbms ipc reply 2 0.00 0.00
    SQL*Net message to client 8185 0.00 0.01
    SQLNet message from client 8185 1671.98 1688.26*
    here what does the column max.wait mean? this is a trace file when a proc was run remotely to a database - it has lots of dbms_output statements, it creates an output file (on the remote pc from which it runs) the proc calls several sql scrips, does lot of query and dml
    Now when teh same script is run locally from the server those sql net waits are not there. and the interesting fact is: when run locally it takes 4 mins
    and remotely it takes 1 hour. How can we interpret this? and what does teh max wait indiccate?
    thanks,

    Can you explain more on this? the same proc when run locally does not have this wait and when run from remote ip it has this wait - so does that mean that this is due to network issue?
    should we for example - remove the dbms_output statements from this and try ? what should we do to be able to run the script from remote ip and run it in 6-7 minutes- when the scritp is run locally from the from server it takes 4 minutes and from a remote ip it takes one hour. the script also has a spool statement as it has to log its output. Is it that spoling that may be causing this?
    Thanks again,
    Edited by: orausern on Jan 18, 2010 7:09 AM

  • TS3899 What does the Preview Section do? Line1, Line2?

    Mail, Contacts Calendar Section; Preview-2 Lines.  What does the 2 Lines mean?

    When viewing email in a mailbox, the number of preview lines you see for each email.

  • + sign before column name - what does it mean?

    Hi all,
    I found a query in the software package I work on today that I don't quite understand. Below is that basic form of the query:
    SELECT * FROM table1 t1, table2 t2 WHERE + t1.id = t2.id;
    I expected this query to fail, but it did not. What does the '+' in front of t1.id indicate?
    Thanks in advance.

    Hi.
    >
    Thanks for your help. I should have mentioned earlier (and I'm apologize for not doing so), is that that id columns are varchar, not number values, so I think that is why the '-' test did not work for me.
    >
    Is still working for me.
    CREATE TABLE aux1
         id VARCHAR2(2)
    INSERT INTO aux1
    SELECT '-1' id FROM DUAL UNION
    SELECT '-2' id FROM DUAL UNION
    SELECT '-3' id FROM DUAL UNION
    SELECT '-4' id FROM DUAL UNION
    SELECT '-5' id FROM DUAL;
    CREATE TABLE aux2
         id VARCHAR2(1)
    INSERT INTO aux2
    SELECT '1' id FROM DUAL UNION
    SELECT '2' id FROM DUAL UNION
    SELECT '3' id FROM DUAL;
    COMMIT;
    SELECT * FROM aux1,aux2
    WHERE -aux1.id=aux2.id;
    ID     ID_1
    -1     1
    -2     2
    -3     3OK, If you use values like 'A' or 'B' it will not work.
    Regards.
    Edited by: sKr on 14-jul-2011 15:34

  • What does a blinking file folder with a question mark indicate?

    What does a blinking file folder with a question mark indicate?  I cannot get past it or do anything with the unit.

    glamiera wrote:
    What does a blinking file folder with a question mark indicate?
    That's the firmware telling you it can't find the operating system it's been assigned to boot from.
    It could be because it forgot somehow, or the operating system is no longer there or readable or the hardware holding the operating system has failed.
    Hold the power button to force a hardware shutdown, then reboot holding the option/alt key held down on the wired or built in keyboard, icons will hopefully load on the screen and if OS X appears, click the arrow to boot from it.
    Once in OS X, head to System Preferences > Startup Disk and select your boot drive so it can remind the firmware.
    If there is no OS X boot volume, just recovery or Bootcamp (if Windows installed) then you need to perform more work.
    Create a data recovery/undelete external boot drive
    To get a copy of your files off the drive.
    Step by Step to fix your Mac
    To fix your machine and find out (hardware test) if it's a hardware issue of some sort.

Maybe you are looking for

  • ITunes wont sync iPhone (unknown error)

    iTunes wont sync iPhone... gives unkown error -50

  • Repository configuration error

    Hello, Does anyone know what might be causing the following exception? We're getting this thrown as soon as we try to establish a connection with the following line of code: repositoryManager = RepositoryManagerFactory.connect(); I greatly appreciate

  • SCEP Historical Data

      1. Are SCEP Historical Data (Threat History) stored on a log on the Server?  or does SCCM 2012 read the data from the SCEP Logs on the client? 2. If I'm looking to keep\pull SCEP historical data for 1 year, do I have to edit the "Delete Aged Threat

  • Unknown Error [PARM]

    Hello, While using Adobe Illustrator CC 2014, the box "The operation cannot complete because of an unknown error. [PARM]" keeps coming up. I've seen lots of solutions for various PARM codes; but there's no error code, so I'm not sure how to fix it ex

  • "  Displaying the Report in PDF file Format "

    Hai Friend's, I have Developed a Report in Web-Intelligence .My Report is having 50 Collums and 600 Rows. The Report is too big Report. when the Save the Report in PDF File format, The PDF file Format Report is Consisting of 10 Pages, The Report Outp