Results 1 to 3 of 3

Thread: Varchar 2 - change length semantics

  1. #1
    Junior Member
    Join Date
    Apr 2008
    Answers
    2

    Varchar 2 - change length semantics

    Hi,
    I have got a question:
    Imagine situation you have got a huge DB, where all tables are created with nls_length_semantics set as BYTE (The default). Then you find out, you in fact need all of the Varchar2 columns to have the specified length in CHARs. Is there any simple way how to update all existing columns to length as if it was defined with the CHAR setting, or do I have to alter each table separately?

    Thanks


  2. #2
    Moderator
    Join Date
    Jun 2007
    Answers
    2,074

    Re: Varchar 2 - change length semantics

    Create a script for alter and run it .


  3. #3
    Junior Member
    Join Date
    Apr 2008
    Answers
    2

    Re: Varchar 2 - change length semantics

    Thanks a lot.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact