query 3

Microsoft SQL Server 2005 Express Edition Toolkit

http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&DisplayLang=ko#filelist Microsoft SQL Server Management Studio Express 간략한 설명 SSMSE(Microsoft SQL Server Management Studio Express)는 SQL Server 2005 Express Edition 및 SQL Server 2005 Express Edition with Advanced Services를 관리할 수 있는 사용이 용이한 무료 그래픽 관리 도구입니다. 이 페이지에서 간략한 세부 사항 개요 시스템 요구 사항 다운로드 지침 추가 정보 관련..

Laboratory/MSSQL 2009.07.15

Microsoft SQL Server Management Studio Express

http://www.microsoft.com/downloads/details.aspx?FamilyID=c243a5ae-4bd1-4e3d-94b8-5a0f62bf7796&DisplayLang=ko#filelist Microsoft SQL Server Management Studio Express 간략한 설명 SSMSE(Microsoft SQL Server Management Studio Express)는 SQL Server 2005 Express Edition 및 SQL Server 2005 Express Edition with Advanced Services를 관리할 수 있는 사용이 용이한 무료 그래픽 관리 도구입니다. 이 페이지에서 간략한 세부 사항 개요 시스템 요구 사항 다운로드 지침 추가 정보 관련..

Laboratory/MSSQL 2009.07.15

SQL튜닝기본 과정 요약 DB 튜닝

1.최대값 구하기 최적화- select/*+ index_desc(board board_x1) */NVL(SEQ,0)+1 from BOARD where bbs_gb='AA' and ROWNUM = 1; 차선책- select NVL(MAX(SEQ),0) + 1 from BOARD where bbs_gb='AA'; 2.그룹함수를 사용하거나DECODE함수를 사용할 때 불필요하게NVL함수를 사용하지 않기. 최적화- selectNVL(SUM(DECODE(HOMETEAM_ID, 'K07', HOME_SCORE)),0) from SCHEDULE_T where gubun='S' and (hometeam_id = 'K07' or awayteam_id= 'K07'); 설명 - SUM할 때 널은 빼고 계산해서 굳이 안에서 널..

Laboratory/MSSQL 2007.08.28