Microsoft MVP성태의 닷넷 이야기
SQL Server 2005 에서 반가운 기능 : 재귀 SELECT 와 ROW_NUMBER [링크 복사], [링크+제목 복사],
조회: 11584
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

저는 사실, 오라클은 잘 모릅니다. 물론,,, ^^ 그렇다고 해서 SQL Server 를 잘 아는 것도 아니지만.

그렇긴 해도, 오라클을 보면서 항상 부러웠던 기능이 2개가 있었는데요.
바로 "재귀 SELECT" 와 ROW NUMBER 기능이 그것인데, 이번 SQL Server 2005 에서 마침내 그와 동일한 기능을 제공하게 되었습니다.

"재귀 SELECT" 의 경우, CTE ( Common Table Expression ) 이라는 것으로 해결이 되고, ROW NUMBER 는 ROW_NUMBER() 로 해결이 되었습니다. 자세한 설명을 다음의 토픽을 보시고 예제를 함께 입력해 보시면 금방 이해가 되실 것입니다. ^^

SQL Server 2005 설치 후 제공되는 도움말 "SQL Server Books Online" 을 실행시키고.

ROW_NUMBER() : ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/82fa9016-77db-4b42-b4c8-df6095b81906.htm

CTE 를 이용한 재귀 SELECT : ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/4acf8a3e-6dcc-420c-9088-9c57b976113e.htm

그외에 간략한 소개 차원의 토픽으로 다음을 소개합니다.
http://msdn.microsoft.com/msdnmag/issues/04/02/TSQLinYukon/

아... 정말이지... ^^ 배울 것들이... "쏟아져" 나옵니다.








[최초 등록일: ]
[최종 수정일: 12/25/2004]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...
NoWriterDateCnt.TitleFile(s)
160정성태4/13/200611679MS 인증서버 : 인증서 유효 기간 기본값 변경
157정성태4/13/200611167Converting a managed PDB into a XML file
158정성태4/13/200610518    답변글 [추가]: A SymWriter sample is coming...
156정성태4/13/200611520Method Call Interception (MCI) in C++
155정성태4/13/200611053Web Project Conversion Wizard
154정성태12/21/200511778Interprocess Communication Using the Running Object Table (ROT)파일 다운로드1
153정성태4/13/200611379Assembly loading failure is expensive [1]
152정성태4/13/200611802ASCX 컨트롤을 커스텀 컨트롤로 사용하는 방법.
151정성태4/13/200610708TechNet 세미나 목록
150정성태4/13/200610785SCDL Tool [2]
149정성태4/13/200610855Disk (based) Output Cache
147정성태4/13/200610726CLR Profiler for the .NET Framework 2.0
146정성태4/13/200611698Scriptomatic Version 2.0 by the Microsoft Scripting Guys
145정성태4/13/200611177Windows Server 2003 R2 [2]
144정성태4/13/200611655WTL(Windows Template Library) 7.5
143정성태4/13/200611926.NET 1.1 에서 WebService Client 의 KeepAlive = false; 설정
142정성태4/13/200611093Virtual Server 2005 R2 (x86, x64) EE 180-day Evaluation [2]
141정성태4/13/200611738.NET 표준개발 가이드와 Microsoft.Framework 공개
140정성태4/13/200610212PAINT.NET
139정성태11/30/20051121712월 세미나 행사
137정성태11/17/200510647WSE 3.0 정식 버전
162정성태4/13/200611313    답변글 [추가]: Web Service Security Guide
136정성태11/17/200510946Creating an Outlook My.Blogs Managed Code Add-in
138정성태11/24/200510390    답변글 Ceating an Outlook Business Contact Assistant Add-in with Visual Studio Tools for Office
135정성태11/16/200510725What's port 445 used for in Windows 2000/XP?파일 다운로드1
134정성태11/15/200510703Microsoft SQL Server Management Studio Express - Community Technical Preview (CTP) November 2005 [1]
... 31  32  33  34  35  36  37  38  39  40  [41]  42  43  44  45  ...