출처 : http://blog.naver.com/PostView.nhn?blogId=waws01&logNo=60181424769&redirect=Dlog&widgetTypeCall=true ★ Best 실행계획은 Clustered Index Seek (Clustered) 이다!!! ====================================================================================CREATE TABLE tmp_myfan( fan_id INT NOT NULL -- 고유값 , fan_name NVARCHAR(20) NOT NULL -- 날조아하는여학생명 , fan_feel FLOAT NOT NULL DEFAULT 0 -- 호감지수 , fan_gift NVAR..
- 참고: https://madplay.github.io/post/difference-between-dollar-sign-and-sharp-sign-in-mybatis - 참고: https://rh-cp.tistory.com/71 - 참고: https://logical-code.tistory.com/25 ■ mybatis #과 $의 차이 - #을 사용하면, Prepared Statement를 의미한다. 변수 값이 바뀌더라도 같은 쿼리로 인식되어 재활용되기 때문에 성능에 유리하다. 그리고 변수 값 양쪽에 자동으로 따옴표(')가 붙기 때문에 SQL Injection을 방어할 수 있다. - $를 사용하면, 일반 Statement를 의미한다. 변수 값이 바뀔 때마다 다른 쿼리로 인식되어 새로 파싱 과정을 거치기..