Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel2
typeflat

Description

Adds a new column field that converts a string to uppercase letters.

How does it work in the search window?

Select Create column field in the search window toolbar, then select the Upper case operation. You need to specify one argument:

Argument

Data type

String to be converted mandatory

string

The data type of the values in the new column field is string.

Example

In the demosiem.logtrust.ecommerceweb.dataactivity table, we want to convert to uppercase the strings of the uri column. To do it, we type field. We will create a new column field using the Upper case case operation to do it.

The arguments needed to create the new column field are:

  • String to be converted - uri columntype field

...

Click Create column and you will see the following result:

...

field.

How does it work in LINQ?

Use the operator select... as...  and add the operation syntax to create the new columnfield. This is the syntax for the Upper case operation:

  • upper(string)

Example

You can copy the following LINQ script and try the above example on the demosiem.logtrust.ecommerceweb.dataactivity table. 

Code Block
from demosiem.logtrust.ecommerceweb.dataactivity
  select upper(uritype) as uppercase_uritype