Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Is it possible to drop the first three digits in a name?
I need to drop the SQL in the data.
Field LastModBy
Data sqlrsmith
Data sqljdoe
Data sqlbjones
Example of correct code here:
Table1:
Field1,
Field2,
........,
right(LastModBy,len(LastModBy)-3) as LastModBy;
SQL Select
Field1,
Field2,
........,
LastModBy
From SourceTable;
You can try:
replace(LastModBy,'sql','')
or
right(LastModBy,len(LastModBy)-3)
Sure, try this may be:
Right(LastModBy, Len(LastModBy) - 3)
Try do this in Qlik part of Script (above SQL Select), not in SQL code.
still get error like above
Example of correct code here:
Table1:
Field1,
Field2,
........,
right(LastModBy,len(LastModBy)-3) as LastModBy;
SQL Select
Field1,
Field2,
........,
LastModBy
From SourceTable;
Now my join does not work
Use alias, your field in "Rxs" table must be named as "LastModBy", like in another table.
Try this:
right(LastModBy,len(LastModBy)-3) as LastModBy
I think u missed the rename "as LastModifiedBy" in table RXS