Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Add Default Value

Hello Community,

 

I need help in creating a column with default value. I have a dataset with 2 columns and i want to create 3rd column with default value like(Same value for all records).

 

Dataset :
ID     Name
1       Arjun

2       Deep

 

Output:

ID   Name Age

1     Arjun   27

2    Deep    27

 

Thanks,
Paruchuri

  • Hi Anonymous

     

    will new column with constant value help?

     

    Context menu "new column" ->

    Column = 27

    or it's too simple?

    Best regs

  • McCow's avatar
    McCow
    8 years ago

    Fine, Anonymous,

     

    try this:

    Column2 = "https://www.google.com"

    double quotes is important for text value

     

    best regs

4 Replies

  • McCow's avatar
    McCow
    Resolver III

    Hi Anonymous

     

    will new column with constant value help?

     

    Context menu "new column" ->

    Column = 27

    or it's too simple?

    Best regs

      • McCow's avatar
        McCow
        Resolver III

        Fine, Anonymous,

         

        try this:

        Column2 = "https://www.google.com"

        double quotes is important for text value

         

        best regs