SELECT TOP 1 REPLACE(name, '*Deleted*', '' ) FROM OBJ_R) AS lastname and
SELECT SUBSTRING(NAME FROM 1 FOR POSITION(',' IN NAME)-1) FROM OBJ_R
instead of
Deleted Beyeler,?Nicole it should be
Beyeler only.
I tried this one:
SELECT SUBSTRING(NAME FROM 1 FOR POSITION(',' IN NAME)-1) FROM OBJ_RESOURCE
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…