DB에서 저장프로시저 목록 보기

/*++++++++++++ 저장프로시저 목록 ++++++++++++*/
-- 목록 가져오기

SELECT sysobjects.id SPID, sysobjects.name SPName FROM sysobjects
WHERE sysobjects.xtype='P' AND sysobjects.name NOT LIKE 'dt%' ORDER BY SPName

-- 목록,내용 가져오기

SELECT so.name, sc.text
FROM dbo.sysobjects so
INNER JOIN dbo.syscomments sc ON so.id = sc.id WHERE so.type = 'p'

-- 내용보기

sp_helptext 'sp_add_data_file_recover_suspect_db'
크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기

Posted by 홍반장

2007/05/09 17:44 2007/05/09 17:44
Response
No Trackback , a comment
RSS :
http://tcbs17.cafe24.com/tc/rss/response/2417

Trackback URL : http://tcbs17.cafe24.com/tc/trackback/2417

« Previous : 1 : ... 3995 : 3996 : 3997 : 3998 : 3999 : 4000 : 4001 : 4002 : 4003 : ... 6391 : Next »

블로그 이미지

- 홍반장

Archives

Recent Trackbacks

Calendar

«   2024/11   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Statistics Graph

Site Stats

Total hits:
242205
Today:
735
Yesterday:
1266