튜닝 (2) 썸네일형 리스트형 SQL 튜닝 규칙. 출처 : http://blog.naver.com/windil?Redirect=Log&logNo=43011738 Never do a calculation on an indexed column (e.g., WHERE salary*5 > :myvalue). 인텍스 칼럼에는 수식을 사용치 마라. Whenever possible, use the UNION statement instead of OR conditions. 가능한한 OR 조건문 대신 UNION문을 사용하라. Avoid the use of NOT IN or HAVING in the WHERE clause. Instead, use the NOT EXISTS clause. WHERE절에 NOT IN이나 HAVING사용을 삼가하라. 대신 NOT EXISTS절.. SQL 튜닝 규칙. 출처 : http://blog.naver.com/windil?Redirect=Log&logNo=43011738 Never do a calculation on an indexed column (e.g., WHERE salary*5 > :myvalue). 인텍스 칼럼에는 수식을 사용치 마라. Whenever possible, use the UNION statement instead of OR conditions. 가능한한 OR 조건문 대신 UNION문을 사용하라. Avoid the use of NOT IN or HAVING in the WHERE clause. Instead, use the NOT EXISTS clause. WHERE절에 NOT IN이나 HAVING사용을 삼가하라. 대신 NOT EXISTS절.. 이전 1 다음