Mar 16, 2005 #1 Tomi Programmer Nov 19, 2001 57 US Hi, Where does SQL server store the stored procedure and its text(code)? Is it possible to retrieve that from a table or view ? Thanks Tomi
Hi, Where does SQL server store the stored procedure and its text(code)? Is it possible to retrieve that from a table or view ? Thanks Tomi
Mar 16, 2005 #2 masds Technical User Mar 3, 2005 100 CA This the SQL: SELECT text FROM syscomments WHERE id = object_id(procedure name) Upvote 0 Downvote
Mar 16, 2005 #3 mrdenny Programmer May 27, 2002 11,595 It's in the syscomments table. However it may be in more than one recored within the syscomments table. Denny MCSA (2003) / MCDBA (SQL 2000) --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com (My very old site) Upvote 0 Downvote
It's in the syscomments table. However it may be in more than one recored within the syscomments table. Denny MCSA (2003) / MCDBA (SQL 2000) --Anything is possible. All it takes is a little research. (Me) http://www.mrdenny.com (My very old site)