Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need to add upper

Right(LastModifiedBy, Len(LastModifiedBy) - 3) as LastModifiedBy,

My data has both upper and lower case but the file I am linking it to is all upper case.

Where dos the UPPER clause go?  Tried a few different ways but no luck.

1 Solution

Accepted Solutions
sunny_talwar

You can do this:

Upper(Right(LastModifiedBy, Len(LastModifiedBy) - 3)) as LastModifiedBy,

View solution in original post

4 Replies
agomes1971
Specialist II
Specialist II

Hi,

     Try like this,

     Load Upper(LastModifiedBy) as LastModifiedBy;

     select LastModifiedBy from your_table;

HTH

André Gomes

sunny_talwar

You can do this:

Upper(Right(LastModifiedBy, Len(LastModifiedBy) - 3)) as LastModifiedBy,

Not applicable
Author

Not sure where to put it at

[Rxs]:
LIB CONNECT TO [pharmoresql production (pharmore_rwinkel)];

LOAD
FacID,

Right(LastModifiedBy, Len(LastModifiedBy) - 3) as LastModifiedBy,

PharmID;

SQL SELECT 
FacID,

LastModifiedBy,
PharmID

FROM Rx.dbo.Rxs

agomes1971
Specialist II
Specialist II

Instead of

Right(LastModifiedBy, Len(LastModifiedBy) - 3) as LastModifiedBy,


put


Upper(Right(LastModifiedBy, Len(LastModifiedBy) - 3)) as LastModifiedBy,


HTH


André Gomes