Why is there a long column in user_tab_partition?

Hi all

While I was working on a project of partitions, I realize that I had to work with long files.

It turns out I realized that it was quite obsolete:

Convert long to varchar2 or clob pure Oracle SQL

Conversion from long to varchar2

"Why do you have a column of LONG data type?

LONG data type has been deprecated since CLOB were introduced about 10 years ago. Oracle does not recommend you use LONG data type and it is there than to support backward compatibility. »

Not all wrong, by the data dictionary seems full of craft:

http://docs.Oracle.com/CD/B14117_01/server.101/b10755/statviews_1058.htm

So I wonder, because the effort is given to discourage and de-motivate people from using LONG data types, why oracle is not refresh its data was thinking?

Because I wanted to be to operate in this column (do a SHIFT to see the high value and low value of the previous score), I had huge problems to do.

How could have out us of Oracle on the topic?

Not being don't not an Oracle database designer, I can't speak for Oracle, but I see that the user_tab_partitions of view and it relies on the base tables have been designed well before that Oracle introduced the LOB data type.  Change the data type of a database table, we hear all code that refers to this column must be updated.  New SYS objects use LOBS, but most of the time Oracle has not returned and modified existing objects.  Maybe in version 20 (i.e. at some point remote in time).

- -

IMHO - Mark D Powell-

PS - A change to a base table data type would be also means existing data on the upgrade will need to be converted.  Potentially existing a requirement of your time which is another reason to not change the data type.

Tags: Database

Similar Questions

  • Why can I no longer right click to get the NewFolder option? I realize now, there is a button for this, but it does not work.

    Why can I no longer right click to get the NewFolder option? I realize now, there is a button for this, but it does not work.

    Hello

    I understand that you are facing problems with the creation of a "New folder" option in the context menu.

    Have you made changes on the computer before this problem?

    I suggest to follow the methods provided below and we update on the State of the question.

    Method 1: I suggest you to follow the steps suggested by "Linda Yan" and check if it helps.
    http://social.technet.Microsoft.com/forums/en-us/w7itproui/thread/9ee6ecdf-5958-4AF4-B640-c659ada57bc4/

    Registry WARNING: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see this link: http://windows.microsoft.com/en-US/windows7/Back-up-the-registry

    Method 2: If the problem persists, I suggest you follow the steps proposed by "Linda Yan" and check if it helps.
    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/97de8a2a-12f2-4381-A409-a78f4ae551cf/
    Hope this information is useful.

  • How long the images are licensed for a 10 image by / month subscription? Is it 1 month or permanent? Why is there a button next to my picture saying ' license ' again '?

    I would like to learn more about registration terms and conditions:

    -How long the images are licensed for

    -do I need a license

    -Why is there a button next to my picture saying "license again.

    Hi Fiona

    You don't need an extended license if you use the images on a Web site for purposes of decoration and display.

    Yes, a photo credit is required for the mentioned scenarios.

    Thank you

    Bev

  • ORA-01461: can bind to a LONG value only for insert into a LONG column

    Hello

    Oracle XE on RHE dedicated server
    create table cvDetails(
    cd_id number(14) primary key,
    cv_id number(14) constraint education_fk references CvProperties(cv_id),
    nationality varchar2(230),
    objectives varchar2(3900),
    name varchar2(230),
    fatherName varchar2(230),
    motherName varchar2(230),
    dob varchar2(230),
    gender varchar2(230),
    mStatus varchar2(230),
    passportNo varchar2(110),
    email varchar2(230),
    phone varchar2(45),
    mobile varchar2(25),
    address varchar2(2500),
    state varchar2(230),
    zipCode varchar2(230),
    city varchar2(230),
    education clob,
    experience clob,
    skills clob,
    languages varchar2(1400),
    hobbies varchar2(3200),
    achievements varchar2(3900),
    references varchar2(3900)
    );
    
    create sequence cvDetails_seq
    start with 1 increment by 1;
    
    create or replace trigger cvDetails_trig
    before insert on cvDetails
    referencing new as new
    for each row
    begin 
    select cvDetails_seq.nextval into :new.cd_id from dual;
    end;
    /
    Why do I get the error of subject?

    Thank you in anticipation

    >
    in any case, I checked manually according to your instructions and found that this objective column is of character input more than specified.
    >
    Glad you found the problem, but I hope that you learned a lesson that is time consuming.

    It must be remembered that we have no access to your environment. If we do not know which servers, clients, tables and users that you use.
    It may seem simple to you but doesn't realize that you provide us with two slightly different versions of the cvDetails table.

    The original post had this
    >
    objectives varchar2 (3900).
    >
    But when you have provided your 'cvDetails desc' journal text has
    >
    OBJECTIVES VARCHAR2 (3950)
    >
    It is the same table that you started with how the column suddenly grow 50 bytes?
    This means that you did from different parts of the present in the two schemas or on two servers or you change the table between the two.

    You can't address properly when you do this. By chance it is the column that you said is now the problem.
    In SQL, the maximum length of a VARCHAR2 is 4000 bytes; no characters but bytes. Nothing more than 4000 bytes would probably be a LONG in the generic sense.

    If your error
    >
    Re: ORA-01461: can bind to a LONG value only for insert into a LONG column
    >
    means that you try to 'bind a LONG value' to a column VARCHAR2 and you can't you can 'bind a LONG value only for insert in a LONG column.

    In the proper context, the error makes sense.

    You probably have a problem with

     ps.setString(2,  objectives);
    

    because the 'objectives' has a length of more than 4000 bytes.

    Remember this answer from you?
    >
    I have read and found that there may be a problem with the driver JDBC or Characterset. Am I wrong?
    >
    The 'Hello' ASCII string is five characters and five bytes because the ASCII code is a set of characters in a single byte. The same string internally in Java is five characters but ten bytes because Java uses UTF16.

    So, if the character set of the data itself is double-byte character set then anything more than 2000 characters (4000 bytes) is a "LONG". And if your column is defined as VARCHAR2 (3950), which means bytes a doublel-byte character set which are characters of 1975.

    Then you said in a response later
    >
    I checked by the SNA Server and oracle that are both of the same but new thing I found is that oracle does not allow more than one clob column in a table. Is this true?
    >
    Somehow a hypothesis has crept it that the problem was not a driver JDBC or Charaterset, but because you can not have more than one clob column in a table.

    You could have easily tested for yourself by doing what P. Forstmann - tried to create a table and see.

    Then you completely ignored my advice
    >
    I suggest to you isolate the columns actually causing the problem.
    Change your code to insert only a few columns. When it works, add more than a few columns.
    This will then tell you which column or the columns are at the origin of the problem.
    Display the results once you determine a column that causes the error.
    >
    When you have finally made the simplest things, you have found what was causing the problem almost immediately.

    Many times you don't need 'experts' - you must use a rigorous, methodical, process step by step.

    ALWAYS, ALWAYS, ALWAYS reduce the simplest possible code example that illustrates the problem.
    If you had followed this a rule would have probably found you the problem and makes you look like the 'expert '.

    There are no shortcuts.

  • How to retrieve the long column of news from the BBC, which disappeared in FF was last updated?

    Before the last update and on FF is first opened, there was a BBC News Items labeled tab just below the address bar. Clicking on this tab opens a long column of news. By clicking on one of them opened a web page describing this item. After the last update (38.0.5) this tab is gone. How can I get that back?

    Hi, was it a bookmark in the bookmarks may bar? If missing the bookmarks bar, right-click in the bar of tabs - but not on a tab and tick/check bookmarks toolbar.

    It may also be a lack of subscribe (RSS) button - see orders customize Firefox, buttons, and toolbars.

    If your question is resolved by this or another answer, please take a minute to let us know. Thank you.

  • Why does take so long to open a document in microsoft office, imaging files

    Why does take so long to open a document in microsoft office, imaging files. All my scans appear in a .tiff file. I open the .tiff file and it takes about 30 seconds, at the same time, everything freezes and I have to remove the mouse from the usb port wireless. I'm currently running vista

    Hello

    I hope that by "striking" means you actually "Uninstall", as simply delete the files/folders of programs can cause all sorts of issues. Maybe, there is something in the software which has been deleted these files supported? Good luck, Rick Rogers, aka "Crazy" - Microsoft MVP http://mvp.support.microsoft.com Windows help - www.rickrogers.org

  • Why does take so long to load from the time wherever I power up until it takes to get to the login screen? help taking too long

    Why does take so long to load from the time wherever I power up until it takes to get to the login screen? help taking too long

    You should take a look at your startup programs and decide what is really necessary and what is nothing more than useless clutter. There is nothing wrong with the startup programs, some may be really useful or even necessary for your personal needs. But keep in mind that many programs build to start when you start the computer and that most of them must not start when the computer starts, all they do is slow down your boot time and clutter of things when you're trying to solve problems, and some are downright harmful!

    I mean, have you really need things like real Planner and Gadwin Print Screen running all the time? These programs will run very well, even if they are not started automatically every time that you start the computer. Go to these programs and change/disable their boot option. Some may be difficult to kill for public assistance services can be useful when you try to control startup programs. Try CodeStuff Starter, it's safe and easy to use, I think you'll like it, download it here:

    http://CodeStuff.tripod.com/products_starter.html>

    Use AutoRuns to check axis start, Richard:

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx>

    Use Cclenar-> tools-> start

    http://www.CCleaner.com/download/builds.aspx>

    I can't tell you what to keep, startup items it is a personal preference, but pretty well all the startup items indicated by CodeStuff Starter are safe to disable, and changes are easy to reverse if you change your mind. Searches for items it shows you and decide whether or not these things are really useful or necessary. Some programs will be started at startup without your knowledge and over time, that list can expand to include useless parasites, part of good computer maintenance includes regular control of these startup items and the removal of the unnecessary.

    Suggest that you first spread malware as the cause of the problem by following these steps:

    I. - delete your temporary files

    Clean the system (compensation to all temp/tmp folders and included all the content offline, the tif browser, delete the cookies of compensation.)

    Do a disk cleanup. Click the Start button. in the search box, type disk cleanupand then in the list of results, click Disk Cleanup. Better and easier to use - ccleaner.

    Download the basic version (slim) via

    http://www.Piriform.com/CCleaner/builds>

    The basic version (slim) does not contain the toolbar disgusted

    DO NOT USE ANY cleaning of the advanced options. DO NOT TOUCH THE REGISTRY OR TOOLS. At least not for now.

    Reset

    II. - have your system scanned as a result of security/antivirus installed.

    III. - download, install, update and run both of these tools to a-squared free scans:

    MalwareBytes anti-malware (MBAM)

    http://www.Malwarebytes.org/products/malwarebytes_free>

    SUPERAntiSpyware (SAS)

    http://SUPERAntiSpyware.com/superantispywarefreevspro.html>

    UTC/GMT is 18:16 on Wednesday, January 18, 2012

  • Why does take so long to put up a picture of Lr into PS?

    Why does take so long to put up a picture of Lr to PS for editing?  I use the command E.  iMac i7, 32 GB memory, fast graphics card (my Mac is loaded!), 3 TB of storage, etc. etc. Is there a setting I can change to speed things up?

    TomMix salvation,

    Please try and turn off the graphics processor in the Lightroom preferences

    Open Lightroom

    Go to Lightroom preferences in the Edit menu

    Click the performance tab

    Deselect the graphics processor

    Restart Lightroom and try to use it.

    Let us know if that helps.

    Kind regards

    Mohit

  • Why is there an update for the version 17.0.0.134 MSI?

    Why is there an update for the version 17.0.0.134 MSI?  I am authorized to distribute in my company.

    Hi Michael,

    MSI update installation programs are now available on the licenses page.  There is a long thread about this in 17 Flash .msi is not available?.

    --

    Maria

  • What is the problem with this Forum? Why Adobe taking so long to reply to messages?

    What is the problem with this Forum? Why Adobe taking so long to reply to messages?
    It is in fact 'specific' Forum of Photoshop.
    I usually come back another Adobe forum responses quickly.

    Chime.

    Hi people,

    For what it's worth, there are several of us who try, in addition to our regular work, to keep an eye on two other forums.  Quite simply, we care about the product and try to make sure that we give our customers the best experience as possible.  Plus, what better way to hear about your weak points in order to solve them.  But, as Mylenium and Christmas as well stress this, the forums are officially a user experience.  If you need help fast or official, it isn't the best place to do it.

    Regarding your question of Arab, Rahzah, I answered in two different threads and would be happy to help you with your problem.  Please choose a single thread and stick with it. two tabs is a pain.

    Thank you
    David

    PS - some of us do check the forums on our time, as I did last week at the launch while I was on vacation.

  • Why is there space below the copyright on the contact page?

    Why is there space below the copyright on the contact page? all other pages of the site flush down except on contact and the activation page. Anyone know why? Thank you

    http://worldmarketdesign.com/strategic/contact.html

    What I mean is that the footer will always follow the top content.  On some pages, footer may not align with the bottom of the browser window because the content of the page above is not long enough to fill the screen.  As everyone uses different sizes of display, it is a normal behavior and should not be a major concern.

    Nancy O.

  • Why are there no films nigerians iTunes Store?

    Why are there no films on the iTunes Store of nigerian?

    Availability of movies in different countries is decided by the film producers, not by Apple, so the only answer we can give is that the owners have not yet decided to make them available.

  • Why are there not file prefetch for Thunderbird in the \Windows\Prefetch folder?

    Why are there not file prefetch for Thunderbird in the Windows XP SP3 \Windows\Prefetch folder? I use Thunderbird 38.3.0.

    I deleted all the files in the \Windows\Prefetch folder and noticed that no files have been created it there for new programs began. I restarted the Task Scheduler service and the problem was solved.

  • Why are there bars when I go to the YouTube app?

    Why are there bars when I go on the YouTube app, I'm on it and I start a video and there are bars on the bottom and top of the screen, you can solve the problem?

    There is nothing to fix. If the video was recorded in an aspect ratio different that what is the screen of the phone, the difference is filled with back. You can sometimes see the same thing on TVs.

  • Why is there a Selfies folder in my pictures

    Why is there a Selfies folder in my photo app? How can I get rid of him?

    The album of Selfies is created by Photos automatically, just like Panoramas or video albums.

Maybe you are looking for