Results 1 to 2 of 2

Thread: Rename key inside of column

  1. #1

    Default Rename key inside of column

    Hello,

    I know that if you type "rename as " in the BrainScript you will rename the column name

    But how to rename the key inside the column? For instance rename Apr to April inside a BillingMonth column.

    Thank you in advance

  2. #2
    Lavastorm Employee stonysmith's Avatar
    Join Date
    Nov 2006
    Location
    Grapevine Tx
    Posts
    782

    Default

    You don't "rename" data in a field, you replace it.


    s=BillingMonth.replace("Apr","April")
    emit *
    override emit s as BillingMonth

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •