Changing column name

Hi Gurus
is it possible(any built in function or commands) changing columns name which moving out the data in the column.
create table xyz(x number);---it contains data
after change column name...it should be...
create table xyz(y number);

sql>create table xyz(x number);
Table created.
sql>insert into xyz values (1);
1 row created.
sql>alter table xyz rename column x to y;
Table altered.
sql>select * from xyz;
        Y
        1
1 row selected.

Similar Messages

  • How to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    how to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    Looks like the presentation column got Alias before your BMM changes, so in your case renaming logical column and deleting alias is not good to go.
    Keep Alias

  • Performancepoint Hierarchy Disable Drill Down Level on changing Column name in MDX query

    Hello All,
    I have created a report in Performance Point dashboard designer but when I change Column name (Measure Name) in MDX query this causes all the built-in ad hoc
    navigation and decomposition tree functionality that PP provides to become disabled. Is there any solution or alternative way to achieve this. Please provide solution for this.
    Thanks in advance.
    Sapna Kshirsagar

    try these links as reference/:
    https://support.office.com/en-nz/article/Getting-acquainted-with-PerformancePoint-Dashboard-Designer-9e014283-afec-4819-87b9-78be6f6ef0d0?ui=en-US&rs=en-NZ&ad=NZ
    https://technet.microsoft.com/en-us/library/ee748644%28v=office.15%29.aspx
    https://support.office.com/en-gb/article/Creating-scorecards-by-using-PerformancePoint-Dashboard-Designer-2faa3bd6-c361-4c26-a7f9-b81227c875d8
    https://msdn.microsoft.com/en-us/library/office/ee557851%28v=office.15%29.aspx
    Please mark answer as correct if it is correct else vote for it if you find it useful Happy SharePointing

  • Changing column names in a local query

    I have several underlying queries in my IR bqy(11.1.2.1). I need to be able to change column names in my final query(as the requirements keep changing constantly). Is there a way to do this without modifying the names in the original query(I don't want to create a bunch of computed items either).
    Thanks.

    I have several underlying queries in my IR bqy(11.1.2.1). I need to be able to change column names in my final query(as the requirements keep changing constantly). Is there a way to do this without modifying the names in the original query(I don't want to create a bunch of computed items either).
    Thanks.

  • Unable to reorder/change column names on interactive single row view

    I have created an interactive report and grouped my columns to display nicely in a single row view report. However, once I initially add the columns to a group, I am unable to reorder them. I can move them up and down the list, but the changes don't save. Also, I have gone through column by column and unchecked the box that says Use Same Text for Single Row View and expanded the column name. However, the single row view still displays what is in the master report. I've tried closing out my browser completely and reopening, but I am still not seeing my changes. Any suggestions?

    I also just stumbled about the "Use Same Text for Single Row View" option actually doing nothing - in Single Row View I still get the label text from "Column Heading", no matter what I enter in "Single Row View Label".
    I had to adjust a column width using a span tag in the heading (as this seems to be the only way to do that - any other suggestions I found adding style information to the region header had no effect), and now that tag is displayed in the Single Row View label.
    I can live with that for now, but it's not really nice.
    Is this a known bug? Didn't find anything else in the forum regarding this problem so far.
    Holger

  • Changing column name in Line chart

    Hello All,
    We are BO 4.0 SP6.
    We are creating WEBI reports which includes charts as well.
    We have two columns " Current Period" and "Last Period" and using them in WEBI report and Line chart.
    In the table I am displaying the column name " Current period " as "Oct-14" using some formula.
    But I am not able to change the name in the chart.
    Can we change the column name in the graph using some formulas? Please advice.
    PFA the screenshot for your reference.
    Regards
    Prasad Ambati

    Hi,
    Do not Drag it inside chart area .
    Align Them above Legend Text ( Current Period ),
    so that Actual Legend Text will be hidden .

  • How can I change column name in ALV table in WebDynpro ABAP?

    Hi Everyone,
    I have created an ALV table in WebDynpro ABAP. I have created a context node and added the required attributes there - for the ALV display.
    Now I want to change one columnn name of the ALV table.... Currently it is showing the description of the data element, which I don't want to show. I cannot create a new DE only for this purpose.
    Please let me know how can I change the name of the column.
    Regards

    Hi,
    This may help you to define your own column text in the ALV Table of webdynpro.
    see the below code.
    Here 'STATUS_ICON' is the column of the the output display of the ALV Table of webdynpro.
    "change the label of the report.
    DATA: lr_weeknum TYPE REF TO cl_salv_wd_column.
    CALL METHOD l_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'STATUS_ICON'
    RECEIVING
    value = lr_weeknum.
    SET THE LABEL OF THE COLUMN
    DATA: hr_weeknum TYPE REF TO cl_salv_wd_column_header.
    CALL METHOD lr_weeknum->get_header
    RECEIVING
    value = hr_weeknum.
    CALL METHOD lr_weeknum->set_resizable
    EXPORTING
    value = abap_false.
    hr_weeknum->set_prop_ddic_binding_field(
    property = if_salv_wd_c_ddic_binding=>bind_prop_text
    value = if_salv_wd_c_ddic_binding=>ddic_bind_none ).
    set the text of the column
    CALL METHOD hr_weeknum->set_text
    EXPORTING
    value = 'C Form'.
    regarads,
    balu

  • How do i change column names in oracle model?

    Hi,
    I am performing a migration from SQL SERVER 7.0 to Oracle 8.1.7.
    I have tables that have tables in SQL SERVER with column names
    that are "TYPE" and "BODY".(These are generally TEXT datatype
    columns that need to be converted to LONG in Oracle.We need
    these to be LONG datatype in Oracle because of an application we
    are using. LOBS cannot be allowed)
    The migration utility renames these columns as "TYPE_"
    and "BODY_" and creates the tables in the Oracle Database.
    I need to have these tables in Oracle with the same column names
    viz. "TYPE" and "BODY" .
    I can create new tables in Oracle with the column names "TYPE"
    and "BODY" but cannot change the options in the migration
    workbench for this.
    Is there any option or any workaround I can use to change the
    column names in the Oracle model?or set the options so that the
    Oracle model tables donot modify these column names?
    Thanks in advance for all the help.
    Mandar

    The words 'TYPE' and 'BODY' are reserved Oracle words. Its best
    to go along with what the workbench has suggested. If you have
    to keep the original names of the columns trying wrapping double
    quotes around them after the data migration is complete. This
    may cause a case sensitivity or referential problem later on
    though.

  • Changing column name in a table

    Is there any option for changing the name of a column of a table, apart from changing the datatype or size? If so, from which version this has been introduced and how it has to be done? Please give the syntax if any.

    A quick check of the online documentation shows RENAME COLUMN was introduced in 9.2 ...
    ALTER TABLE ...
    RENAME COLUMN ... TO ...Richard

  • How to change column names in dimension and cube views?

    whenever AWM creates a view on a dimension or cube, it creates columns for long and short description with full name
    forexanmpel, it creates like
    CREATE OR REPLACE VIEW OLAPTRAIN.CHANNEL_VIEW
    AS
    SELECT
    "DIM_KEY",
    "LEVEL_NAME",
    "MEMBER_TYPE",
    "DIM_ORDER",
    "LONG_DESCRIPTION",
    "SHORT_DESCRIPTION",
    "ALL_CHANNELS_LONG_DESCRI",
    "ALL_CHANNELS_SHORT_DESCR",
    "CLASS_LONG_DESCRIPTION",
    "CLASS_SHORT_DESCRIPTION",
    "CHANNEL_LONG_DESCRIPTION",
    "CHANNEL_SHORT_DESCRIPTIO",
    "CHANNEL_TYPE",
    "CHANNEL_CHANNEL_TYPE",
    "CHANNEL_ALL_CHANNELS_ID",
    "CHANNEL_CLASS_ID",
    "CHANNEL_CHANNEL_ID"
    FROM TABLE(CUBE_TABLE('"OLAPTRAIN"."CHANNEL"') );
    what is the way to customize the column name? for example for class level, how can we say insterad of long_description and short_description, use LONG and SHORT simply?
    i also see the size of long and short descriptions are set to varchar2(60) and varchar2(20), is there a way to change that for each level in AWM?
    Thanks

    Hi there,
    I don't think there is a way to control the column names within the OLAP product itself, but if this is something you really want to do, have you tried creating your own views?
    As you can see, the syntax is pretty simple
    Thanks,
    Stuart Bunby
    OLAP Blog: http://oracleOLAP.blogspot.com
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Change column name in Gridcontrol?

    Greetings:
    Could not figure out how to change displayed name of columns
    in gridcontrol. They always match attributes in the underlying view.
    But that view wizard does not let me specify meaningful names
    (e.g. blanks are not accepted).
    TIA,
    V.

    If it is DAC
    use setLabel on corresponding AttributeInfo
    Assuming you are using JClient, You can set the label using the UI Hint on the corresponding attribute.
    Select the view object, then select the attribute in structure pane and then invoke the attribute editor. Specify 'Label text' control hint.
    Greetings:
    Could not figure out how to change displayed name of columns
    in gridcontrol. They always match attributes in the underlying view.
    But that view wizard does not let me specify meaningful names
    (e.g. blanks are not accepted).
    TIA,
    V.

  • HTML DB Chang column name dynamically

    Can I change the column name dynamically. for instance
    Today run my apply it will display the title of the columns this
    Column title: Wed Thu Fri
    04/22/05 04/23/05 04/24/05
    Data 45 34 34
    54 56 23
    Next week
    Column title: Wed Thu Fri
    05/03/05 05/04/05 05/05/05
    45 34 34
    54 56 23
    The date Change Dynamically?

    Go to your report and open report atributes. There you can choose the options for column names. Click on the pl/sql function and type this in:
    DECLARE v varchar2(20);
    begin
    v := to_char(SYSDATE, 'dd.mm.yy')||':'||to_char(SYSDATE+1, 'dd.mm.yy');
    RETURN v;
    END;
    This will set the first two columns to the specified dates. You can use this as one option.
    If the case is more complicated than you can do the following:
    1. create a number of items on your page - hidden
    2. compute the items with values once the page is loaded
    3. use item substitute string &ITEM. in the column name, which will use the item value as a name for the column.
    This way you are more flexible since you can use the item values for some columns only and have the other columns hardcoded.
    Denes Kubicek

  • Changing column names

    Hi all,
    I have a JTable where I set the column names as...
    String[] columnNames = {"Column 1", "Column 2"};and what i have been tring to do is, if the user clicks on a button i want to change the column Names to say "New Column 1" and "New Column 2"
    all help is much appreciated.

    JTableHeader th = table.getTableHeader();
    TableColumnModel tcm = th.getColumnModel();
    TableColumn tc = tcm.getColumn( int ); // the column to change
    tc.setHeaderValue( "New Value" );
    th.repaint();

  • Change column name

    hi
    is it possible to change the BP_DATA/AccountTaxNumberList column name.
    Thanks

    Hi Jon,
    You can change it with following steps.
    1) Open transaction BSP_WD_CMPWB
    2) Open Component BP_DATA
    3) Double-click 'Browser Component Structure; and open views
    4) Open the view you want to change in the list of views by double-clicking on it
    5) Open configuration (3rd tab) of the view by clicking edit.
    6) Select the field you want to edit in view 'AccountTaxNumberList' and click 'show field properties'.
    7) A pane opens at right side with field properties. Edit the column you want to change
    This solves your problem.
    Regards,
    Amar.

  • Change column names when selecting from a collection

    Anyone know how to change C001,C002...etc to readable column names when selecting from a collection? Aliases don't work!
    Paul Platt

    Paul,
    Edit the report attributes and change the column headings by selecting the "Custom" radio button first.
    Sergio

Maybe you are looking for

  • How do I get a movie purchased on my 3rd gen Apple TV to play on my 1st gen Apple TV?

    I purchased and watched a move on my 3rd gen Apple TV a few weeks ago.  Now I want to watch it in another room where I have an older HD based Apple TV (1st gen I think).  When I look in iTunes on my computer, I can see that it's listed as being avail

  • No data with Web Analytics Reports - SharePoint 2013

    Hello, I have data when I click on the Web analytics reports.  I am using SharePoint 2013, but with sites with the SharePoint 2010 visual interface. What are some of the things to look for to get these working? I have Reports feature enabled at the s

  • TS2551 Missing Info button from iPhoto (version 9.4.2)

    Hello, I am missing the info button from iPhoto (version 9.4.2) so I cannot see any information or manual add location (as shown on the tutorial video: http://www.apple.com/ca/findouthow/photos/#places). Please help!

  • Sharepoint 2007 using sql server 2012 database server

    We still have an old SharePoint 2007 farm that runs on SQL Server 2008 and Reporting Services 2008. I would like to migrate this app over to SQL Server 2012. From what I gather SharePoint 2007 supports SQL 2012 if you are running WSS service pack 3 a

  • Symbol corruption in ibooks

    Hello All,      The symbols in my compositions are not working in ibooks, but they work perfectly in Safari, Firefox and Chrome.  They used to work in ibooks on my ipad until late December, then they suddenly seemed to become corrupt.  When the pages