|
||
0
0
ºñŸ¹Î¿ö·¯
2¹ø 3¹øÀº À§¿¡¼ ´äº¯ÇØ ÁÖ¼ÌÀ¸´Ï±î 1¹øÀº ±¸±Û¿¡¼ sp_help text °Ë»ö ´ÜÃà±â ¼³Á¤ Çϴ¹ý ¾öû ¸¹ÀÌ ³ª¿Ã²¨¿¡¿ä
|
0
0
JYJF
/*
ÀúÀåÇÁ·Î½ÃÀú/Å×À̺í/ºä ƯÁ¤ ´Ü¾î °Ë»ö */ DECLARE @SRCHTEXT VARCHAR(100) SET @SRCHTEXT = '' SELECT DISTINCT SP_NAME = OBJECT_NAME(ID) , ( SELECT CASE WHEN XTYPE='U' THEN 'TABLE' WHEN XTYPE='P' THEN 'PROCEDURE' WHEN XTYPE='V' THEN 'VIEW' END FROM SYSOBJECTS AS B WHERE A.ID=B.ID ) AS TYPE , TEXT FROM SYSCOMMENTS AS A WHERE CHARINDEX(@SRCHTEXT, TEXT) > 0 /* Çʵå¸íÀÌ Æ÷ÇÔµÈ Å×À̺í¸í ã±â */ SELECT A.NAME, B.NAME FROM DBO.SYSOBJECTS A, DBO.SYSCOLUMNS B WHERE A.ID = B.ID AND B.NAME LIKE '%USERID%' AND A.XTYPE = 'U' ORDER BY A.NAME ASC, B.NAME ASC º¸Åë °Ë»öÇؼ ãÀ»¶© ÀÌ·¸°Ô ã°í¿ä. ÇÁ·Î½ÃÁ®´Â °³Ã¼ Ž»ö±â¿¡¼ ÀúÀå ÇÁ·Î½ÃÀú ¶ó´Â Æú´õ¿¡¼ ¿À¸¥ÂÊ ¹öÆ° -> ÇÊÅÍ -> ÇÊÅͼ³Á¤ Æ˾÷¿¡ °ª¿¡ ÇÁ·Î½ÃÁ®¸í ÀÔ·ÂÇÏ°í ¿£ÅÍ 4¹ø µû´Ù´ç Ä¡¸é ã¾ÆÁÝ´Ï´Ù. |
0
0
Àεð.
F5 º¸´Ù´Â alt+x°¡ ÆíÇÑ 1ÀÎ
|
|
|
¡â ÀÌÀü±Û¡ä ´ÙÀ½±Û | ¸ñ·Ïº¸±â |
3¹ø CTL + SHIT + U ±âº»À¸·Î º¯°æµÇÁø ¾ÊÀ½..