불특정 로우 추출하기
SELECT column FROM table ORDER BY RAND() LIMIT 1
SELECT column FROM table ORDER BY RANDOM() LIMIT 1
SELECT TOP 1 column FROM table ORDER BY NEWID()
SELECT column, RAND() as IDX FROM table ORDER BY IDX FETCH FIRST 1 ROWS ONLY
SELECT column FROM ( SELECT column FROM table ORDER BY dbms_random.value ) WHERE rownum = 1
컬럼에 한글 포함여부 검사 (0) | 2012.05.15 |
---|---|
검색쿼리 (0) | 2012.05.04 |
SQL Server .NET CLR 통합기능 (0) | 2012.03.02 |
Using a .NET assembly in SQL Server 2008 (0) | 2012.03.02 |
트리거 찾기 (0) | 2012.02.28 |