Change of field Name

I am having 20 fields in a table and in this table i am having about sis lakhs record. Now i realised that one of the field name is spelt wrongly.I am using oracle 8i now without doing anything to the table i must have to change the field name,
Foe example the wrong field is martialstatus and it should be corrected to maritalstatus.
If any body having any answers can reply to this mailid [email protected]

Suresh,
You have 6 hundred thousand records in a table, You are lucky with 8i this is no problem,
You can solve this in two ways,
1. Create a new table with correct field name and then insert all record into the new table.
2. Create the new field with correct name in
the same table and then copy the data from the old field into new field and then use the DROP COLUM command and drop the old field.
Good Luck
Nisar Tareen.
Canada.
null

Similar Messages

  • Script : how to change the Field name in standard program(ZM_MEDRUCK)

    Hi Experts,
    I am working with SAP SCRIPT. i need to change the Field Name that is PO NO to Document No & PO DATE to Document Date.
    These are assigned in data declaration as gv_name and gv_date.
    Can anyone help me to change this Fields.
    Regards,
    Vijayan.R

    Hi,
    You can archive this by making change in SAP script only. You don't need to touch the standard prgm.
    Debug the script and find it out which fields (In script editor) are printing these text on layout... then just replace them by creating your own text...
    You can create a text in TTDTG table,, like ZZPO_NAME = ( Document Name),, and use this filed in the script editor.
    &ZZPO_NAME&

  • How to change the field name in SUS

    HI,
    In the section view all PO's, I want to change the field name  <b>document number</b> to <b>invoice number</b>.Please do let me know how to go about it.
    Thanks in advance ,
    Manu

    Hi,
    The text ID should be first identified in the BSP (BBP_SUS_UI/DOC_NUMBER?)
    Next execute SOTR_EDIT and use the FInd button. Enter the package of the BSP object (BBP_SUS_U?) and select the language as English. Execute the program and you will a complete list of text used in SUS screen. Locate the text ID as above and double click to change based on what you need.
    Regards.

  • Changing the field name at runtime in rpt file

    Hi everybody
    I'm using C# and Crystal Report XI (Deverlop license) to develop windows application in VS.net 2003.
    Please help me to change the field name of the bounded column of Crystal report file at the runtime.
    (In some case client's database had changed the structure as fieldname, fieldtype. Then they request a utility to change the field names in the .rpt file programmatically )
    Thanks
    GiangSon
    My email address: [email protected]

    user11200661 wrote:
    That's fine but still i want to prefix the schema name within the .sql file. My .sql should contain the name of that parameter only as i want to get that parameter replaced by the schema name at runtime. Some other users are using the same .sql file and they have access to that specific schema only. i want to make the .sql file more general so that it can be used by everyone without altering it every time.Sorry, your requirement no longer makes sense.
    If people have to access a specific schema because they need the script for general use, then you will have to hard code the schema name into it.
    If the script is to prompt for the schema name and connect to that schema and then use that schema name inside the called sql script, then people would not be able to use it generically, as it would be reliant upon the schema name being passed in.
    It sounds as if you're trying to write one generic thing that needs to do two different tasks.
    Just have two scripts and make life simple.

  • Changing the field names in a CFQUERY object

    Hello, I wonder whether you know the answer to this?
    I want to change the names of the fields in a CFQUERY result
    set after I have retrieved the results from the database (ie. I
    can't use "AS" in the original SQL statement). I can think of 2
    ways to do this - use the query-a-query (CFSQL) feature or just
    build and populate a new query object, as set out below:
    <cfquery name="CustList" datasource="name">
    SELECT CustId,CustName,CustAddress FROM Customers
    WHERE OrderStatus='P'
    </cfquery>
    OPTION#1:
    <cfqueryname="GenericList" type="query">
    SELECT CustId AS Id,CustName AS Name,CustAddress AS Address
    FROM CustList
    </cfquery>
    OPTION#2:
    <cfset GenericList = QueryNew("Id,Name,Address")>
    <cfloop query="CustList">
    <cfset unused = QueryAddRow(GenericList)>
    <cfset unused =
    QuerySetCell(GenericList,"Id",CustList.CustId)>
    <cfset unused =
    QuerySetCell(GenericList,"Name",CustList.CustName)>
    <cfset unused =
    QuerySetCell(GenericList,"Address",CustList.CustAddress)>
    </cfloop>
    Do you know which of these would be more efficient? And is
    there a better way, whereby I can maniplulate the names of the
    columns in the original query (ie. so that I can rename the
    "CustName" field to "Name" and then use "CustList.Name" directly)?
    Thanks!

    Thanks guys!
    If there is a close to zero overhead to the simple
    query-a-query then that seems like the way to go, with no need to
    look for a means of manipulating or modifying the original query.
    The reason I want to change the field names is so that the
    rest of my code can contain references to "CustList.Name" whereas
    otherwise I would have to do something like
    "Evaluate('CustList.#NameField#')" which is horribly messy. And the
    way the original query is generated means I can't use "AS" in it,
    but I still want to use the same code to work with that query
    result and other query results that share similar/related data with
    different field names.

  • How to change the field name

    I want to change the field name in Oracle schema
    Can I do ir?
    If yes, please tell me how to type the SQL
    Thanks

    Use ALTTAB command of my freeware SQLPlusPlus to ALTER a table anyway you like including inserting columns within the middle of the table.
    regards,
    M. Armaghan Saqib
    SQL PlusPlus - Add power to command line of SQL Plus
    SQL Link for XL - Integrate Oracle with XL
    Download free: http://www.geocities.com/armaghan/
    null

  • E-recruiting: Requisition management - Possible to change the field names??

    Hi to all e-recruiting experts,
    Need some assistance pertaining to the requisition management portion in e-recruiting.
    We have showed the standard SAP E-recruiting requisition bsp pages to our client and they have requested changes to the field names as they feel that the standard names are not intuitive enough.
    For instance,
    The field - "Hierarchy Level" - They have requested to change to "Job Grade"
    and the field "Functional Area"  to "Type of Work".
    Is there any way that i can change the name of the field through configurations?
    I understand that in a infotype, we can change the field name through translation. But can we change it in BSP? I was told to explore on how to configure via OTR.
    Can anyone share on the steps involved?
    Many thanks in advance.

    Well quite easy,
    create a context for an otr text (E-Recruiting are in package PAOC_RCF_UI). You will find that in SOTR_EDIT.
    Activate this context with implementing BADI BTFR_CONTEXT.
    After doing this, adjust context in SOTR_EDIT with Go To -> Context -> Adjust.
    Eventually refresh otr buffer with Transaction /$otr
    For one text there can be more than one OTR Text in backend, so you might change more than one.
    Regards

  • 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

  • After changing the field name in BM layer, drilldown field is not in order

    We have an organization hierarchy region->branch used in our HBD dashboard report. When we drilldown to branch level report by clicking the region field, the result is OK but branch field is not in order. The branch level order was working fine before we changed this BRANCH field name in BM layer from Team/Branch to Branch.

    I have confirmed that I know the user who originally posted this to Metalink. This issue is no longer a problem. Rebooting resulted in the order displaying properly.

  • Change All Field Names in a Table to have a Lowercase First Letter

    I have an SQL database with many tables.  All of the field names in each table start with an Uppercase letter. I would like to programmatically change all of the field names in each table to start with a lowercase letter.  Can this be done?
    E.g.:  "FieldName" to "fieldname"
    Thanks.

    O.K.  Just in case anyone else runs into this, I used Carl's answer to guide me in the right direction. This is my final code that created the commands I needed to run a batch (where TMaster is my schema name and the WHERE statement contains
    the datatypes in your tables):
    SELECT
    'EXEC SP_RENAME ''TMaster.'+TABLE_NAME+'.'+COLUMN_NAME+''',
    '''+LOWER(SUBSTRING(COLUMN_NAME,1,1))+SUBSTRING(COLUMN_NAME,2,255) 
    +''',
    ''COLUMN'''
    FROMINFORMATION_SCHEMA.COLUMNS
    WHEREDATA_TYPE='int'.

  • Changing the Field Names

    Hi,
    I am dynamically adding rows to a table using the following code
    SheetIndexForm.Page1.tblSheets.trSheet.instanceManager.addInstance(true);
    The rows cells are all text fields for user data input. Rows are getting added perfectly fine along with the text fields. The only issue I am facing is that all the new rows have the same name as the first row. Is there anyway I can change the name of the new row to something else. I tried
    newRow.name = "trSheet" + newRowIndex.toString();
    but it does not work. The XFA field names will still be the same.

    The field name will be the same but the row that they are from will be unique. So If the Row subform is called Row  and the field is called field you will have Row[0].Field, Row{1].Field, Row[2].Field...etc
    Now how do you reference that in an expression seeing as the [ ] are used for arrays in Javascript. You would need teh xfa.resolveNode("string .....") sytax. So if you want to add all three values you woudl use ths sytax:
    Total.rawValue = xfa.resolveNode(Row[0].Field).rawValue + xfa.resolveNode(Row[1].Field).rawValue  + xfa.resolveNode(Row[2].Field).rawValue
    Or if you want to more sophisticated:
    for (i=0;i<Row.instanceManager.count;i++){
         Total.rawValue += xfa.resolveNode("Row[" + i + "].Field).rawValue
    Note that the count is 1 based but th einstances are 0 based!
    Hope that helps
    Paul

  • How to change standard field name?

    Hello Experts,
                  I have copied the whole VA11 program to ZVA11 program here i want to change the name of the standard field name can i know how to change. Please can anyone share the procedure.
    Thnks

    Hi,
    try this u can change the name.
    enter  CMOD transaction code and  in menu bar
    GOTO-->TEXT ENHANCEMENTS->KEYWORDS---->CHANGE.
    in popup screen (next screen) enter the data element as
    BANDDT it will display the field name now u cna change what you like.
    regards.
    sriram.

  • Implications of changing standard field names

    Hi
    We want to rename some of the fields in IMA11 transaction as the purpose for which the fields are being used by us is different from what the standard field names convey.
    Before changing the names, I would like to know if there will be any adverse implications of making that change including impact on upgrades/service packs etc;
    Appreciate all inputs on this.
    Thanks
    Sriram

    Thanks for the reply. These fields whereever they are appearing in other transactions and reports, we are going to use for same purpose and so if they appear with changed names at all places, it is ok with us.
    We are only changing the Field Label and nothing else.
    Want to know of any side effects from others who might have done such changes.
    Also any impact on upgrades.
    Thanks
    Sriram

  • Merge pdf's forms, change text field name and Acrobat x pro closes automatically

    I merged 20 pdfs in one interactive pdf, but when I try to change the name of the text fields (in orden to make the interactive independent from the other fields) the program close automatically. I tried to change the name of the text fields in each pdf before merge and it's the same problem. what can i do?

    I merged 20 pdfs in one interactive pdf, but when I try to change the name of the text fields (in orden to make the interactive independent from the other fields) the program close automatically. I tried to change the name of the text fields in each pdf before merge and it's the same problem. what can i do?

  • How to change a field name in the client web interface

    Hello,
    I need to change name of the field in the Shopping cart Basic data (field Location). Where could I do this?
    Thank you in advance,
    Olga

    Hi
    <u>Which SRM Version are you using ?</u>
    Incase you do not want the storage location fiels displayed in the item details then you can modify the template saplbbp_sc_ui_its_300.html to hide the field.
    By creating screen variant in transcation SHD0 and implementing that screen variant in BBP_screenvariant BADI you can hide the fields.
    Let me know the transaction and fields what you want to hide I can look at it.
    <b>Related links -></b>
    Hide field in SRM"Shopping Cart Status-> Finding shopping cart" html screen
    Re: shide some search criteria in Shopping Cart Status
    Note 974236 - Shopping Cart - Field control
    Regards
    - Atul

Maybe you are looking for

  • Am I the Only One Feeling Let Down by Creati

    I personally believe that I'm not the only one let down by Creative's recent products and support. I was the guy who'd always go around telling other people "Why get an iPod? Everyone has one, they use proprietary connectors for everything, the batte

  • Add form fields dynamically onchange of a select box.

    I have a JSP page with a <h:form>: <h:form id="registrationForm">      <h:outputText value="#{Resource.EmailAddress}" /><br />      <h:inputText label="E-mail Address" id="emailAddress" value="#{RegistrationBean.emailAddress}" required="true" require

  • Safari not working on ipad mini

    Hello, I can"t seem to get Safari working on my ipad mini. The screen is unresponsive and the text input boxes cannot have any text inputted. I have gone thru the various remedys I have found in this and other forums and nothing has worked. I brought

  • Capture is just black screen

    just got fce 4. using sony camcorder to capture. capture area says VTR OK, and controls allow play, stop shuttle---thats working fine, but when i CAPTURE NOW, i just get a black screen. saw other posts that suggested setting view>video to canvas. did

  • X230t usb3.0 failure with win8 pro x64

    I have x230t with win8 64bit. However, somehow both usb3.0 ports cannot identify any usb3.0 device but can identify and install usb2.0 devices. In the device management, it shows Intel  usb 3.0 eXternsible Host Controller - 0100(Microsoft), the drive