Skip to content
Advertisement

Concatenate in sql teradata

I have the following code

Where Div gives me 01, Modl = 1 is CS, and Sub_modl=1. I should combine these fields to have:

Where the first 01 comes from Div, CS comes from Modl, and the last 1 in 0101 comes from Sub_modl. How could I get this result using concat function in teradata?

Advertisement

Answer

You can use concat

or you can use ||

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement