* 질문 : http://cafe.daum.net/statsas/B3m/14685
파싱값을 조인 조건에 사용하시려면 아래와 같이 하시면 됩니다, 단, 카테시안조인(다:다) 조인과 대용량 자료 시 속도 문제가 발생 할 수 있습니다.
DATA BACK;
INPUT X $10.;
CARDS;
BOY
GIRL
;
DATA BACK1;
INPUT X $20.;
CARDS;
I AM A BOY
I AM A GIRL
I AM A GIRL2
;
PROC SQL;
CREATE TABLE BACK2 AS
SELECT A.X AS X1,
B.X AS X2
FROM BACK A
LEFT JOIN BACK1 B
ON B.X LIKE '%'||TRIM(A.X)||'%' ;
QUIT;
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.