¾È±Ô °øºÎ¹æ

MS-SQL > objects , sysindexes - Å×ÀÌºí ·¹ÄÚµå COUNT ¸¦ »Ì¾Æº¸ÀÚ

µî·ÏÀÏ : 2017-07-03 19:53 Á¶È¸¼ö : 33,618

--½Ã½ºÅÛ Å×À̺íÀ» ÀÌ¿ëÇÑ °¢ Å×À̺íÀÇ COUNTÁ¤º¸
 

		select o.name as TABLE_NAME, i.rows as ROW_COUNT_ALL
		from sysindexes i, sysobjects o
		where o.xtype = 'U'
		and o.name <> 'sysdiagrams'
		and o.id = i.id
		order by o.name



ÀÌ·¸°Ô ±¸ÇÏ¸é ¾Æ¹«¸® ¸¹Àº ¾çÀÇ ·¹Äڵ带 °¡Áø Å×À̺íÀ̶ó ÇÒ Áö¶óµµ count()ÇÔ¼ö º¸´Ù ¿ùµîÈ÷ ºü¸¥ ¼Óµµ·Î

Ä«¿îÆ® Á¤º¸¸¦ °¡Á®¿Ã ¼ö ÀÖ½À´Ï´Ù. 
 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.