Edit data in a column in the lower to upper case

Hi guys, I was wondering if yous could help out me. I currently have a table in a database with a lot of data on it and one of the columns (column varchar2 and in the interest of this question lets assume the table is called my_table and my_column column) it contains data such as 'a3456', 'b8312', 'fg231' etc what I need to do is to convert all lowercase uppercase letters so that "a3456" now reads from "A3456" and "fg231" now read "FG231" and I was wondering what would be the best way to convert just all these lowercase letters to uppercase.

Any help would be greatly appreciated.

Thank you for taking the time to read this.
update my_table set my_column = upper(my_column);

Tags: Database

Similar Questions

  • Why don't the LOCKING of upper CASE indicator showing when the button?

    Why don't the LOCKING of upper CASE indicator showing when the button?

    A CapsLock indicator should be part of installation Win7 OS normal and here's why.  I use a brand new Microsoft Wireless Keyboard 2000 s/n 0356100416937.  I can send you a photo or the retail sales receipt if you doubt this statement.  It is there no CapsLock indicator on the keyboard itself, probably to extend the life of the battery.  I also use an IOGEAR KVM switch to facilitate the transition between multiple computers.  Emule KVM switch a keyboard of 102 standard keys, so even if I load the last Ko-driver (MS Intellitype 8.2) the pilot reports Microsoft keyboard not detected.  Therefore, there is no way to determine when the CapsLock key is active.  If you have ever tried to enter a long password upper-lower case with the CapsLock key in the wrong state, so you can imagine my frustration with this keyboard.

    So, how do you display CapsLock indicator?

    REMOTELY, HP TECHNICAL SUPPORT TOOK ME AND MY 520TOUCHSMART AS I HAD AN INDICATOR OF CAPS LOCK ON MY SCREEN, NOW HE IS GONE. I GAVE THEM MY MS OFFICE2010 CELA: NOW I FOUND SOMETHING ELSE. I LACK WILLINGNESS TO CONTACT OF COURSE FRIDAY. IF I FIND A SIMPLE SOLUTION TO MY PROBLEM, I'LL POST IT. SOMEONE HAS AN IDEA?

  • How to get only latest date and other columns in the table

    Hello
    Table
     
       id          name        date
      123        a             2/3/2010
      124        b            15/2/2010
      125        c             1/1/2010
      123        a             12/4/2010
      125        c             17/2/2010
    
     
    It's a table, id, name, date here is the composite key.
    I want to select id, name, and date so that date (e.g., 123 date 04/12/2010 be selected for the id) is selected for each id and each id and name should be selected once.
    So, what will be its application?
    Thank you
    select
       id,
       name,
       date
    from
    (
       select
          id,
          name,
          date,
          max(date) over (partition by id, name) as max_date
       from your_table
    )
    where date = max_date;
    

    Would do assuming you do not have duplicates (all 3 columns) in the table.

  • Editing video or audio in increments the LOWER frame to 1?

    Case #0183085485



    Update

    Wednesday, March 21, 2012 19:59:24 PDT

    Open

    Thursday, March 15, 2012 16:54:02 PDT

    Status

    Open - response pending Adobe

    Product

    Production Premium 5.5

    Support contract

    Adobe support program

    Object

    Premiere Pro CS5.5: Audio editing

    NOTES & RESPONSES

    Customer notes

    Wednesday, March 21, 2012 19:59:24 PDT
    Once upon a time there was a princess who was very sad. She had discovered that her first animal experiment of company preferred had been kidnapped by a
    n Chihuahua misnamed 'El Diablo'. You see, it turns out that El Diablo cannot get a direct response from Technical Support to Adobe® Systems
    map what seemed to be a very simple question. So after countless attempts to get the answer to this question, it went quite insan
    e and the pigs of India of kidnapping began with the diabolical plan to launch its own software company support led by pigs of India as the
    There could eventually offer worse support that he had received benefits. Unfortunately, if someone has barely responded to his futile I question
    n a way specific and meaningful. But they did not. And if Guinea Pigs - they must suffer. Be continued?

    Notes on the client

    Wednesday, March 21, 2012 1:06:19 PM PDT
    Hi Christophe,

    Please contact Adobe Technical Support. We respond to
    the reference to your case for Adobe Premiere Pro.
    We would be happy to help and to ensure the best possible service
    Help about the case.

    We also tried to call you at 01:05 pm PST, but you were not available
    . So feel free to come back to us, or if you wish to give us
    you a call according to your availabilities, please let us know of a
    best time to call.

    Would like to know how you could change the audio and video
    less than a frame in the previous versions of adobe first pro.

    You can also visit www.adobe.com/go/supportportal for assistance
    What about Adobe products. You can also visit www.forums.adobe.com as
    It? s a useful resource for the Self-Help.

    We are always here to help you. Please contact us at the 800 833 6687 IVR
    Options 2 and 3 If you have any questions or need an update on your case.

    Thank you and best regards,

    Anish
    Adobe technical support

    Customer notes

    Tuesday, March 20, 2012 11:21:19 AM PDT
    REALLY? I spent an hour on the phone with your support of top staff and still can not give me a definitive answer on this unless I have
    post in other forums? WHAT is so hard to answer this simple question? Thank you!


    Please confirm that it is currently IMPOSSIBLE to edit audio or video in Premiere Pro 5.5 in the framework of measure LESS THAN 1.

    Notes on the client

    Monday, March 19, 2012 3:36:49 PM PDT
    Hi Christophe,

    Please contact Adobe Technical Support. We respond to
    the reference to your case about Premiere Pro.

    We would be happy to help and to ensure the best possible service
    Help about the case.

    We also tried to call you at 03:35 pm PST, but you were not available. Then
    Please do not hesitate to come back to us, or if you want that we give you a
    compose according to your availability, please let us know of timely
    to call.

    You can also visit www.adobe.com/go/supportportal for assistance
    What about Adobe products. You can also visit www.forums.adobe.com as
    It? s a useful resource for the Self-Help.

    We are always here to help you. Please contact us at the 800 833 6687 IVR
    Options 2 and 3 If you have any questions or need an update on your case.

    Thank you and best regards,

    Anish
    Adobe technical support

    Customer notes

    Sunday, March 18, 2012 8:12:20 AM PDT
    Please confirm that it is currently IMPOSSIBLE to edit audio or video in Premiere Pro 5.5 in the framework of measure LESS THAN 1.

    He appears in versions prior to CS5.0 we could choose the AUDIO DEVICES by right clicking display time code for editing audio (and no doubt
    video for that matter) to the accuracy of the FREQUENCY of SAMPLING.

    Despite a phone call from long and complex support including the takeover of our computer remotely, it seems that it is NOT currently
    possible.

    If it is indeed so - we adjust our workflow to edit the audio to the OUTSIDE of the first.

    Thank you... Please confirm and advise.

  • Changes of data type of column between the local and remote database

    Please point me the proper documentation, so I can understand what is happening.and how to solve the problem in the short term until we can change the database character set to match the remote database.

    Details:

    Remote database: set of 12 c CARS characters AL32UTF8

    Database local 11g 11.2.0.4 as UTF8 character.

    CREATE TABLE local_table_t AS (SELECT NAME FROM reference_table_t@remotedb)

    the NAME column in reference_table_t to remotedb is varchar2 (10 byte), it creates this column in local_table_t as varchar2 (30 bytes)

    CREATE TABLE local_table2_t AS (SELECT NAME FROM reference_table2_t@remotedb)

    the NAME column in reference_table_t to remotedb is varchar2 (10 char), it creates this column in local_table_t as varchar2 (30 char)

    This same problem also happens with views materialized from the remotedb.

    Thank you

    Dave.

    Found note size double or triple column when using (materialized) views / DEC in a db AL32UTF8 and the dblink pointing to a non-AL32UTF8 db (or vice versa). (Doc ID 1592514.1)

    that answers my question.

    Dave.

  • Difficulty in updating a spatial column in the database. Can insert, simply not up to date

    I work on Oracle spatial and can insert data into a column of the GEOMETRY, but I'm having trouble to update a... Here's my insert statement:

    MDSYS. SDO_GEOMETRY (2001,262159, MDSYS. SDO_POINT_TYPE (11743.1168,10264.3158,0), NULL, null),

    the structure of the column is as follows:

    GEOM (SDO_GTYPE, SDO_SRID, SDO_POINT_TYPE (X, Y, Z), ANSDO_ELEM_INFO, SDO_ORDINATES)

    How can I update only a handful of items in the geometry column? I am trying to use this statement and errors columns complaining...

    GEOM SET = MDSYS. SDO_GEOMETRY (SDO_GTYPE, SDO_SRID, MDSYS. SDO_POINT_TYPE(X + 10,Y + 10,Z), NULL, NULL)

    Thank you
    SCOTT@orcl_11gR2> CREATE TABLE your_table
      2    (id    NUMBER,
      3       geom  MDSYS.SDO_GEOMETRY)
      4  /
    
    Table created.
    
    SCOTT@orcl_11gR2> INSERT INTO your_table (id, geom)
      2  VALUES (1,
      3            MDSYS.SDO_GEOMETRY
      4              (2001,
      5            262159,
      6            MDSYS.SDO_POINT_TYPE
      7              (11743.1168,
      8               10264.3158,
      9               0),
     10            null,
     11            null))
     12  /
    
    1 row created.
    
    SCOTT@orcl_11gR2> SELECT * FROM your_table
      2  /
    
            ID
    ----------
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    --------------------------------------------------------------------------------
             1
    SDO_GEOMETRY(2001, 262159, SDO_POINT_TYPE(11743.1168, 10264.3158, 0), NULL, NULL
    )
    
    1 row selected.
    
    SCOTT@orcl_11gR2> UPDATE your_table t
      2  SET    t.geom.sdo_point.x = t.geom.sdo_point.x + 10,
      3           t.geom.sdo_point.y = t.geom.sdo_point.y + 10
      4  WHERE  id = 1
      5  /
    
    1 row updated.
    
    SCOTT@orcl_11gR2> SELECT * FROM your_table
      2  /
    
            ID
    ----------
    GEOM(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
    --------------------------------------------------------------------------------
             1
    SDO_GEOMETRY(2001, 262159, SDO_POINT_TYPE(11753.1168, 10274.3158, 0), NULL, NULL
    )
    
    1 row selected.
    
    SCOTT@orcl_11gR2>
    
  • The "Date added" on every song (files) has been reset to an incorrect date. Can I get the correct dates?

    MBP Retna 10.11.02 ~ iTunes 12.3.2.35

    The "Date added" on all the songs (records) have been restored to the wrong date. Is it possible to recover the correct date?

    Turingtest2 CSA user help document: empty/corrupted iTunes after upgrade/crash library - https://discussions.apple.com/docs/DOC-6561

    If you do not see your content after updating to iTunes - https://support.apple.com/kb/HT203225

    If the above methods are too extreme for you, then no, there is not any way to edit "date added" unless you reset the clock of the computer to an earlier date and add the tracks for a new library.

  • snap to objetcs, hang on to the lower layers

    Hi, I use 2015.2 animate on win 7.

    I edited my preferences Slam, turning all off the snap.

    The only asset is the "snap to objects", the small magnet in the toolbar.

    I need to keep it activated in order to attach the 2 lines when they are close. (with lines I mean lines created with the tool "line".)

    I have a problem when I try to drag one of the corner of my line; It's "snap" at work on the layer below.

    To avoid this, I have to disable temporary 'wink to the objects' and later allow him once again, but this in slow down my work flow.

    Is there a way to say animate to ignore the lower or upper layer and snap things ONLY on the layer where I am?

    I ' v even try to lock the layer below, but it does not change.

    any help please?

    Thank you

    Luca

    Hide/show according to the needs.

  • How to display rows of data in different columns?

    I'm new to SQL and currently, that's what I try to do:

    Display multiple lines of data in different columns in the same row

    I have a table like this:

    CREATE TABLE TRIPLEG)

    T # NUMBER (10) NOT NULL,

    STEP # NUMBER (2) NOT NULL,

    DEPARTURE VARCHAR (30) NOT NULL,

    VARCHAR (30) DESTINATION NOT NULL,.

    CONSTRAINT TRIPLEG_PKEY PRIMARY KEY (T #, LEG #).

    TRIPLEG_UNIQUE UNIQUE CONSTRAINT (T #, DEPARTURE, DESTINATION).

    CONSTRAINT TRIPLEG_FKEY1 FOREIGN KEY (T #) REFERENCES TRIP(T#));

    INSERT INTO TRIPLEG VALUES (1, 1, 'Sydney', 'Melbourne');

    INSERT INTO TRIPLEG VALUES (1, 2, 'Melbourne', 'Adélaïde');

    The result should be something like this:

    > T # | ORIGIN | DESTINATION1 |  DESTINATION2

    > 1 | SYDNEY | MELBORUNE | ADELAIDE

    The request must include the ' COUNT(T#) < 3' since I only need to display the records of less than 3. How can I get the results I want to use relational views?

    Thank you!!!

    I replaced the syntax "where" with the syntax 'account '. The reason why I do this is because I want to only display records with a number of travel of less than 3. By defining where the legs #.<=3, the="" result="" will="" be="" all="" the="" records="" of="" the="" tripleg="" table="" since="" each="" record="" could="" also="" have="" leg#="" is="">

    The answer is:

    with t as (SELECT t #,)

    REGEXP_REPLACE)

    LISTAGG (start |) '->' || destination, ' ')

    THE Group (ORDER BY t #, leg #).

    '([^ ]+) \1+',

    "\1") str

    OF tripleg

    HAVING COUNT (T #)<>

    GROUP BY t #)

    Select T #, regexp_substr (str, ' [^->] +', 1, 1) departure

    , regexp_substr (str, ' [^->] +', 1, 2) destination_1

    , regexp_substr (str, ' [^->] +' 1, 3) destination_2

    , regexp_substr (str, ' [^->] +' 1, 4) destination_3

    Thanks to Marty and knani!

  • How to create a report (timesheet) with columns as the row values?

    Hello

    I created a table in APEX 4.2.2.00.11...

    CREATE TABLE "TRIAL_3_DETAILS"
      ( "CONSULTANT" VARCHAR2(20),
    "CLIENT" VARCHAR2(10),
    "PROJECT" VARCHAR2(20),
    "BILLABLE" VARCHAR2(10),
    "TASK" VARCHAR2(50),
    "DATE_" DATE,
    "EFFORT" NUMBER
      )
    /

     

    now, I want to create a report "Time Sheets" where the date values are columns in the weekly timesheet with other columns like customer name, project name, etc...

    also, I want the value of the estimated effort to the title of the column date of...

    Task

    Customer

    Project

    Bill (Y/N)

    < date >

    < date >

    < date >

    < date >

    < date >

    < date >

    < date >

    Hours

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >.

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    < Job description >

    < empty >

    < project >

    < empty >

    < Estimated effort >

    < Estimated effort >

    Is it possible to create this type of report?

    Syed

    MikeKutz wrote:

    Use TO_CHAR() to 'calculate' the day of the week.  Then, use this value.

    1. WITH e
    2. (
    3. SELECT consultant, client, project
    4. the task, effort
    5. TO_CHAR(date_,'Day') day_of_week
    6. billable
    7. OF trial_3_details
    8. -WHERE date_ between ____ and ____
    9. )
    10. SELECT *.
    11. E
    12. PIVOT (sum (effort)
    13. FOR that day_of_week IN ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday')
    14. )

    Note that you actually need to use 'fmDay' as the mask of format of date with this approach. Using of 'Day' will result in all the day_of_week values be padded with blanks to the length of the longest value (Wednesday), then this will be the only match value in the pivot:

    SQL> with t as (
      2    select
      3        to_char(trunc(sysdate) + (level - 1), 'Day') d
      4      , round(dbms_random.value(0, 100), 2) z
      5    from
      6        dual
      7          connect by level <= 10)
      8  select
      9      *
    10  from
    11      t
    12  pivot (
    13      sum(z)
    14      for d in ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'));
    
      'Monday'  'Tuesday' 'Wednesday' 'Thursday'  'Friday' 'Saturday'  'Sunday'
    ---------- ---------- ----------- ---------- ---------- ---------- ----------
                                83.23
    

    Using "fmDay" avoids filling and the pivot works according to the needs:

    SQL> with t as (
      2    select
      3        to_char(trunc(sysdate) + (level - 1), 'fmDay') d
      4      , round(dbms_random.value(0, 100), 2) z
      5    from
      6        dual
      7          connect by level <= 10)
      8  select
      9      *
    10  from
    11      t
    12  pivot (
    13      sum(z)
    14      for d in ('Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'));
    
      'Monday'  'Tuesday' 'Wednesday' 'Thursday'  'Friday' 'Saturday'  'Sunday'
    ---------- ---------- ----------- ---------- ---------- ---------- ----------
        60.16    125.09      44.17      77.5      3.63      82.89      26.22
    
  • get data from two columns in a column

    Hello

    I need to display the data in two columns in a column, that I would also like to insert a space between the data in two columns in the output

    can I use something like this?

    (IMPORTER_NAME +' ' + IMPORTER_ADDRESS) as a 'place '.

    Your fence.

    to concatenate in oracle using pipes:

    (IMPORTER_NAME||' '||IMPORTER_ADDRESS) as "Location"
    
  • Static value in a column of the report

    Hi all

    I have a problem with the data displayed in a column in the report. I'll explain with an example.

    I have two tables A, B. And I associate myself with B on A extract the data of a column in the table b. data looks like in below after that I joined.


    Table A - table B

    Adam - Oracle

    Bill - Java

    Kevin - Oracle

    Kevin - Java


    so my report shows that Kevin has 2 records. where a single record and because of the property of the join, it displays in the form 2.

    Is there a way to show, Kevin as a record and the data in column (B) like "Java - Oracle?

    I use 9i db, apex 3.1


    Thank you in advance,
    Daniel

    Published by: Daniel on August 17, 2011 13:28

    Published by: Daniel on August 17, 2011 13:29

    Published by: Daniel on August 17, 2011 13:30

    With the help of 9i, you have to code your own pivot function... There are SEVERAL version of this out there:

    Uses the sample table emp that comes with Oracle...
    
    select
       deptno,
       rtrim (xmlagg (xmlelement (e, ename || ',')).extract ('//text()'), ',') enames
    from
       emp
    group by
       deptno;
    
        DEPTNO ENAMES
    ---------- ----------------------------------------
            10 CLARK,MILLER,KING
            20 SMITH,FORD,ADAMS,SCOTT,JONES
            30 ALLEN,JAMES,TURNER,BLAKE,MARTIN,WARD    
    
    Hint.. Try replacing the call to select from emp to wrap a select around your select from a & b..
    
    Or this one:
    
    select
       deptno,
       substr(SYS_CONNECT_BY_PATH(lname, ','),2) name_list
    from
       (
       select
         lname,
         deptno,
         count(*) OVER ( partition by deptno ) cnt,
         ROW_NUMBER () OVER ( partition by deptno order by lname) seq
       from
         emp
       where
         deptno is not null)
    where
       seq=cnt
    start with
       seq=1
    connect by prior
       seq+1=seq
    and prior
       deptno=deptno;
    
    DEPTNO NAME_LIST
    1      Komers,Mokrel,Stenko
    2      Hung,Tong
    3      Hamer
    4      Mansur 
    

    Thank you

    Tony Miller
    Webster, TX

    If vegetable oil is made from vegetables, then what is baby oil?

    If you answer this question, please mark the thread as closed and give points where won...

  • How to add scroll bar to the field in the column of the report

    Hello again,

    I need to add a scroll bar to the field in the column of the report in my application "form.

    There is a table with columns of text and sometimes a lot of information must be filled in these areas, and thus the overview of the report becomes unreadable, because all rows have different heights according to the amount of text has been filled.

    What I want is to make all lines with the same height, and if there is more text in a field that can allow a height - a scroll bar appears so for this specific domain.
    Is it possible to do?

    Thank you in advance.

    Hello

    OK - it is important that tell you what type of report that you use like this makes a difference to what is possible!

    For interactive reports, you cannot use a CSS stylesheet in the same way with respect to normal relations. The easiest way is probably to include a complete div in your SQL statement directly. Something like:

    select      ID as "ID",
          '
    ' || "MY_BIG_FIELD" || '
    ' as "DETAILS" from TABLEX

    This will put the data in this column in the individual DIV tags, and then apply the style from the example of the Dene.

    Andy

  • Edit/view (data or Table column) value - cannot change the data, but it can be updated

    Hello

    According to the help of Oracle SQL Developer Center, the dialog ' Change/see value (data or Table column)' should "change the value of data" if we "are allowed to change the data." We strive to use this dialog box to modify/update data without having to write an Update statement, but is not to leave us. Us are not allowed to update the data, we can update via update statements. Even as the owner of the schema.table, it don't will change us the value in the dialog box "Edit/see value (data or Table column).

    Any ideas?

    We are on SQL Developer Version 3.0.0.4 build HAND - 04.34 and Oracle 11 GR 1 material (11.1.0.7) database.

    Thank you

    Alex Larzabal.

    You can still vote on the existing demand for this developer SQL to add Exchange of weight for implementation as soon as possible:
    https://Apex.Oracle.com/pls/Apex/f?p=43135:7:3974986722753169:no:RP, 7:P7_ID:4902

    Kind regards
    K.

  • Select the lines with the maximum value for a date where another column is different from 0

    Hello

    I need to write a query on a table (called DEPRECIATION) that returns only the rows whose date maximum (PERENDDAT_0 column) for a specific record (identified by AASREF_0), and where the other column in the table called DPRBAS_0 is different from 0.

    If DPRBAS_0 is equal to 0 in all the lines of a specific record, then return the line with date maximum (PERENDDAT_0 column).

    To be clearer, I give the following example:

    Suppose we have the following data in the table of DEPRECIATION:

    AASREF_0 PERENDDAT_0 DPRBAS_0
    I2011001074331/12/20150
    I2011001074331/12/20140
    I2011001074331/12/20130
    I2011001085612/31/20160
    I2011001085631/12/20150
    I2011001085631/12/2014332
    I2014001223812/31/2016445
    I2014001223831/12/2015445
    I2014001223831/12/20140

    The query must return only the following lines:

    AASREF_0 PERENDDAT_0 DPRBAS_0
    I2011001074331/12/20150
    I2011001085631/12/2014332
    I2014001223812/31/2016445

    Thanks a lot for your help!

    This message was edited by: egk

    Hello Egk,

    The following query works for you.

    SELECT AASREF_0, PERENDDAT_0, DPRBAS_0

    FROM (SELECT AASREF_0,

    PERENDDAT_0,

    DPRBAS_0,

    ROW_NUMBER)

    DURING)

    AASREF_0 PARTITION

    ORDER BY

    CASE WHEN DPRBAS_0 <> 0 THEN 1 OTHER 0 END DESC,.

    PERENDDAT_0 DESC)

    RN

    DEPRECIATIONS)

    WHERE rn = 1

Maybe you are looking for