Can I change a field/column width in a script ?

Can I change a field/column width in a script to be run in SQL Plus? For example, I have a table where field COL1 is a varchar2(200). The table already has data in it. I would like to increase the width of field COL1 to be varchar2(300). Can I do this in a script ? Thank you.

No problem
alter table MYTABLE modify ( col1 varchar2(300) );

Similar Messages

  • How can I dynamically change group field column?

    Hello!
    I need to group data and create group totals for that table. Is
    it possible to dynamically change group field column for
    specific table, depending on data retreived from parameter form?
    Thanks,
    Mario.

    quote:
    Originally posted by:
    ljonny18
    Hi,
    I am using a grid within a component in my Flex application.
    I have an XML dataProvider, and I want to change the row
    colour of my Grid depending on a value coming form my dataProvider
    – but I cant seem to get this to work :(
    can anyone help / advise me on how I can dynamically change the
    colour of my grid row depending on a value coming from my XML
    DataProvider????
    Thanks,
    Jon.
    Hi,
    a few hours ago I stumbled across this cookbook entry - it
    didn't solve MY problem, but maybe it provides a way to solve your
    problem?
    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
    From the article:
    quote:
    Changing the background color of a DataGrid cell is not as
    simple as changing some style because the default renderer for a
    DataGrid cell does not have a backgroundColor. Therefore, to do
    this simple task, you have to create a custom itemRenderer where
    you draw your own background in the updateDisplayList function.
    HTH
    Uwe

  • Changing datasheet view column width prompts for logon

    Hello - I have a SharePoint 2010 farm at work that we are having undesirable logon prompts on at times. A reproducible example is the datasheet view of any library in our site. When a user switches from standard view to datasheet view & then resizes
    a column, a logon dialogue box pops up. They can enter their username or cancel - either way they are allowed to continue. This occurs the first time the user tries to make a change to the column width, but not on subsequent attempts. If the view is reloaded
    & they attempt to change the width again the logon box pops up again. Users only have read-only access to the view, so they cannot modify it. The 'Modify View' control in the ribbon bar is greyed out.
    Background info: Clients are using Windows 7 SP1, Internet Explorer 10 (in compatibility view mode), and MS Office Pro Plus 2010 SP2. SharePoint is 2010 SP1 & June 2011 CU V1 (I know, we need to patch). The site is setup to use NTLM integrated authentication.
    All PCs are configured via GPO to add the site to the local Intranet zone. The intranet zone is configured via GPO with medium-low settings & automatic logon in the intranet zone. I have verified the GPO propagation to client PCs and verified that
    IE settings are correct for windows integrated authentication to take place.
    Any help is appreciated
    ~james

    I am thinking this behavior is not by design. In my environment this is what happens:
    A standard user (no modify view rights) changes a column width & gets prompted for credentials. It does not matter what they do - cancel, use own credentials, or use someone else's credentials (with modify rights) - the results are the same.
    The view is not changed for everyone, just the local user. The change only applies to the current page load.
    Users with modify view rights see no logon prompt.
    I just installed Office 2013 with my test VM & the unwanted logon prompt is gone. My opinion is this is an unresolved issue with the Access Web Datasheet, 2010-version active-x plugin. It appears to have been fixed with Access 2013.
    I'm going to do some more testing, but this is looking like another reason for an upgrade to Office 2013.
    I tried changing the compatibility view settings, user agent string, Browser Mode, and Document Mode. None of the different combinations I tried had any effect on the logon prompt issue.
    Any other ideas?
    thanks

  • Can we change key field values in table maintenance

    Hi,
      I have created Z-table and table maintenance for the same...
    In table maintenance..Can we change key field values??
    Is there any posibility????
    Rayudu

    you can do it in this way.
    open sm30->tablname->edit
    snow select the row(s)->copy->change the keyfield values-back->save.
    no in that sm30, select records with old primary key and delete->save.
    so you got all field similar for those record under modification, only the key field changed.

  • Can not change the field property - 10gR2 reports crashing on Linux :(

    All I want to do, is to change one field's property from NUMBER to DATE in the property palette. It does not allow me to do it (not east like forms). I can not change the field property - 10gR2 reports keep crashing on Linux :(
    I don't know if this is a Linux specific iDS issue, or a generic one.
    What are the proper steps to change one field (in my query, the field name is ptime, it was defined as a number field originally, and now I need to change it to DATE and apply the proper format mask). The matching database field definition was modified from number to date.
    very frustrating...
    Any input is appreciated.
    Message was edited by:
    zaferaktan

    nop, did not change anything in the select statement at all. Just selected the related query under the data model (in the navigator), then selected the related query from within the property panel, connected to the db, then from the related navigor menu selected compile all, when the related query was highlighted (selected). Then I saved it, checked the groups, and bingo - the datatype was changed from number to date. Then I went to the related object under the page layout and applied the format mask (that was another funny story). And it worked. It is not as flexible as the forms for sure - pain in the a.. And I still don't know why Reports Builder keeps crashing on Linux - have no problems with Forms Developer on Linux at all. It is a certified RH platform with all the required libs, rpms, etc installed. I am certain it is not an installation issue. Maybe I should check Metalink and apply if an iDS 10gR2 patch exists for reports.

  • In the final display list how can i change rows to columns and vice versa

    in the final display list how can i change rows to columns and vice versa
    It's Urgent
    Thanks
    Basu

    Hai,
    Check this following Threads,
    converting rows to columns in internal tables
    Re: logic- report to move columns to row in a list
    Regards,
    Padmam.

  • How can i Auto Size the Column width in RDLC Report

    Hi Friend's,
    I have created Windows application with RDLC Report. I am binding(Generating) dynamic columns and data's in RDLC Report Using Matrix control, I need to make Auto size of Column width for each Column in
    Matrix of RDLC report. So Can any one suggest me to make the Auto Size of Column Width in RDLC.
    Thanks in Advance,
    Mohan G

    Hi Mohan,
    In Reporting Services, the column width/height is hard-coded, hence, we cannot set the column width/height dynamically or based on an expression. So is the report size.
    In addition, since it is a RDLC report, we need a ReportViewer control to display this report within a custom application. If you need to change the size of the whole report, we can set the AsyncRendering property of the ReportViewer control to false, and
    set the SizeToReportContent property to true.
    Regards,
    Mike Yin
    TechNet Community Support

  • Changing Sql Report Column width

    Hi,
    I am using Apex 4.1
    Can anyone tell me how we can change the width of Sql report. For IR report we can do it using the following code,
    <style>
    table.apexir_WORKSHEET_DATA td[headers="Col Name"] {
    _width: 500px;
    min-width: 400px;</style>
    Please help me with Sql Report.
    Thanks,
    Shoaib
    Edited by: Shoaib581 on Jan 21, 2013 3:05 AM

    Shoaib581 wrote:
    Hi,
    I am using Apex 4.1
    Can anyone tell me how we can change the width of Sql report. For IR report we can do it using the following code,Always post code using <tt>\...\</tt> tags:
    <style>
    table.apexir_WORKSHEET_DATA td[headers="Col Name"] {
    _width: 500px;
    min-width: 400px;</style>
    Please help me with Sql Report.Either use the same CSS approach by adding a static region ID to the report region and adding the style sheet to the page HTML Header:
    <style>
    #static-region-id td[headers="COL_ALIAS"] {
      width: 400px;
    <style>OR
    Use the Column Definition > Column Width column attribute to set the width in pixels (note that this value is just the number of pixels "400", no unit is specified as in CSS).
    OR
    Use the Column Formatting > CSS Class column attribute to set the width of the column contents:
    display: block; width: 400px;

  • Change Default Finder Column Width

    Is it possible to change the default widths of the columns in Finder windows? I know that I can temporarily change it, and as long as I don't restart, all subsequent windows will open at this width. But is there a way to make the change the new system default?

    This may be it...
    http://www.macosxhints.com/article.php?story=20030329162110811
    I didn't have theNlisv, and can't reboot to test right now.
    If you do not have a Nlsv item, quit Property List Editor, go to the Finder and open a directory window, change View to "as List," select "Select View Options," click on "All windows," change one of the items shown, and close the View Options window. This will write to the Finder's com.apple.finder.plist file within a few seconds.

  • How can I fix the 1st column width (member) in Planning data forms

    Hi all,
    does anybody know a trick, how I can fix the first column width in planning data forms? I need a composite data form (Planning 9.3.1) and the problem is, that in the first form the member names are longer. So Planning sizes the column as it is needed to display the full member name. The member names of the second data form are shorter, so the data entry cells are not exactly among each other for both data forms and that looks terrible....
    Thanks and kind regards
    André

    There are 3 ways of setting the width in webforms:-
    1. There is a global setting for input box length which has a syntax of FormInputBoxLength=30.
    2. When you specify the format for each of the dimensions you can choose to select the width of either a column heading or a row heading. In the following example, each time you specified the dimension ‘Account’ a format would be applied to its header. The syntax for this would be something like… HeaderOptionAccount=Length:50,Style:font-size: 12pt;font-family: calibri
    3. Each column can have its own width specified. The syntax for this can be setting in each of the column’s code. For example C6=Blank,Style:Background-color:rgb(203,218,231);width:3 would just show a thick vertical line as the width is so small.
    You can not set widths in data grids through the normal settings. You can manually change the widths and save the grid though. This can be done in the xml directly. For example… <HDRWIDTH idx=”0″ width=”50″/>.
    Then load the amended xml file back into the system.

  • How can i change a xmltype column's xml schema?

    i create a table that have a xmltype column.this column is schema-based.
    my problem is ,
    now i want to this column's schema will be redefined to a global schema?
    [b]how can i change the column's schema which already have a schema?

    When a schema is registered a lot of additonal annotations are added to the XML schema by the schema registration process - Look at the version of the XML schema under /sys/schemas/... in the XML DB repository. This information is unqiue to that version of the XML schema and is used internally to manage instance level metadata.
    When instance documents are stored in the DB a set of metadata is generated for each document so that we can make sure that we can maintain DOM Fidelity. This metadata is tied directly to the XML schema the document is associated and is only valid in the context of that XML Schema.
    So when the schema is registered locally and instances are stored the generated metadata is only valid in the context of the local schema. If the same schema is now registered globally new values will be generated for the annotations applied to the global version of the XML schema. Consequently the metadata associated with a document belonging to the local version of the XML schema has no meaning when viewed in the context of the global version of the XML schema.
    The net effect of this is that you will need to copy the data in order to get documents where the metadata for each document is based on the global version of the XML SChema.

  • Can I change a field that is displayed on a Purchase Order Message Output

    I have read on a couple message threads that have stated that it is not recommended to change the length of a field on a purchase order.  If I am unable to  change a field length, can I instead use another field that is long enough to fit in the information and then substitute this field on the message (form) that is output for the purchase order?  If so, how do I do this?
    I am on SAP r/3 4.6c.  I want to substitute field unsez - our reference for verkf - salesperson.

    With iTunes Match enabled on your computer and on your iDevices direct sycing is disabled. To add musci to your iDevices it must be in your iTunes library (not necessarily the iTunes Store).
    With iTunes Match enabled you will manage the music directly on the iDevice, instead of via iTunes. If you still wish to sync directly you must disable iTunes Match on the iDevice.

  • Can you change the field names in the address book?

    Can you change the Pager field name to read 2nd cell?

    No.
    This add-on https://freeshell.de//~kaosmos/morecols-en.html allows you to modify the labels of the 4 custom fields of the contact card

  • How can i change zz-field in VA01 transaction using BAPI_SALEORDER_CHANGE

    Hi ,
    i have to change the some customized fields (z-fields ) in transaction va02.
    how can i change the customized fields using bapi. i am using 'BAPI_SALEORDER_CHANGE' .
    i am writing my test program like this :
    wa_extension-structure = 'VBAK-ZZDELVRNO'."'BAPE_VBAK'.
    *"'VBAK-ZZDELVRNO'.
    wa_extension-VALUEPART1 = '100000303810'.
    wa_extension-VALUEPART2 = '123456'.
    append wa_extension to it_extension.
      MOVE: con_upgrade TO l_header_inx-updateflag,
      con_x TO l_header_inx-bill_block.  " Billing.
    l_faksk TO l_header_in-bill_block.  " Billing block.
    *--Call Bapi 'BAPI_SALESORDER_CHANGE' to change billing block
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
           EXPORTING
                salesdocument    = l_vbeln
                order_header_in  = l_header_in
                order_header_inx = l_header_inx
           TABLES
                 EXTENSIONIN    =  it_extension
                return           = it_return2.
    i don't know exactly wat's the value i have to populate into table EXTENSIONIN .
    it's very urgent .
    Thanks,
    kumar.

    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • How can I set JTable's columns width?

    Please, can anyone give me a hint.
    It seems I miss something important.
    I can't set the table columns to an appropriate width.
    Please, help !!!

    In JTable you can get a TableColumn object by supplying the name of the column to the method getColumn in JTable.
    JTable myTable;
    TableColumn tableColumn;
    // Initialise table
    tableColumn = myTable.getColumn("COLUMN NAME");There are methods for the TableColumn such as
    tableColumn.setPreferredWidth(int);
    tableColumn.setMaxWidth(int);
    tableColumn.setMinWidth(int);
    which all deal with setting up the width of the column in terms of pixel width.
    You can look up more info about them in the API

Maybe you are looking for

  • On how many systems can i install dreamweaver cs6

    About a month ago i have format my whole old pc with also dreamweaver cs6 deleted (i had troubles with my whole pc, thats the reason to format the whole pc) I sell the empty pc. only windows 7 on it. Now i have an new pc. and i have installed dreamwe

  • Maintenance Order Settlement Rule Mandatory

    Dear Masters, I want to make the settlement rule to be mandatory at the time of releasing a maintenance order,can anybody tell me how to achieve this? Hope for a sooner reply. Thanks in advance. Chin2

  • Asset PO

    We are trying to post a PO for an asset acquisition.  However, MM consultant says that in addition to the Asset master, a material master is also needed for the asset for posting the PO from MM Side.  Is this correct ?

  • Hold Button Not Working

    The hold button on my iPod video recently stopped working for no reason I can see (I've never dropped my iPod or gotten it wet or anything). Essencially, when I switch the hold button on, nothing happens (it certainly does not lock the buttons and th

  • Field lables changes in ESS iView not reflected on portal

    Hi All, I am trying to customize the SAP ESS Address DC (webdynpro Java) for South Africa region as per the SAP OSS note (No: 1428933). In order to incorporate the changes I have imported the ess/za/addr DC into NWDS. I have changed the label text as