Click here to Skip to main content
15,896,348 members
Home / Discussions / Database
   

Database

 
GeneralRe: find store procedure Pin
George_George14-Jan-09 4:49
George_George14-Jan-09 4:49 
GeneralRe: find store procedure Pin
Paddy Boyd14-Jan-09 4:51
Paddy Boyd14-Jan-09 4:51 
GeneralRe: find store procedure Pin
George_George14-Jan-09 4:58
George_George14-Jan-09 4:58 
GeneralRe: find store procedure Pin
Paddy Boyd14-Jan-09 5:29
Paddy Boyd14-Jan-09 5:29 
GeneralRe: find store procedure Pin
George_George14-Jan-09 5:55
George_George14-Jan-09 5:55 
AnswerRe: find store procedure Pin
Wendelius14-Jan-09 3:31
mentorWendelius14-Jan-09 3:31 
GeneralRe: find store procedure Pin
George_George14-Jan-09 4:48
George_George14-Jan-09 4:48 
GeneralRe: find store procedure Pin
Wendelius14-Jan-09 5:12
mentorWendelius14-Jan-09 5:12 
George_George wrote:
could I find the sys.sql_modules as you mentioned?


It depends on the version of your Management Studio, but most likely if you expand the following tree path, you'll find them: YourDatabase/Views/System Views. There's a bunch of views including sys.sql_modules.

Or another way is simply to execute a select statement:
select * from sys.sql_modules

George_George wrote:
You can use Management Studio's ability to script a procedure


Right click on the procedure and select Script Stored Procedure as/Create To/File... (or some other target). If you want to script everything in the database select the database, right click and Tasks/Generate Scripts...
Try to play around with the Management Studio. It has many helfpul features.

George_George wrote:
My understanding is, I merge the code manually and past the code into Management Studio, then execute alter store procedure to take effect the new changes


Exactly. That replaces the information in the system tables and then you can use your new version of the procedure.

The need to optimize rises from a bad design.My articles[^]

GeneralRe: find store procedure Pin
George_George14-Jan-09 5:18
George_George14-Jan-09 5:18 
GeneralRe: find store procedure Pin
Wendelius14-Jan-09 5:43
mentorWendelius14-Jan-09 5:43 
GeneralRe: find store procedure Pin
George_George14-Jan-09 5:59
George_George14-Jan-09 5:59 
GeneralRe: find store procedure Pin
Ashfield14-Jan-09 21:23
Ashfield14-Jan-09 21:23 
GeneralRe: find store procedure Pin
George_George15-Jan-09 22:59
George_George15-Jan-09 22:59 
GeneralRe: find store procedure Pin
J4amieC14-Jan-09 22:37
J4amieC14-Jan-09 22:37 
GeneralRe: find store procedure Pin
George_George15-Jan-09 22:51
George_George15-Jan-09 22:51 
GeneralRe: find store procedure Pin
J4amieC16-Jan-09 1:11
J4amieC16-Jan-09 1:11 
AnswerRe: find store procedure Pin
Hamid_RT15-Jan-09 21:04
Hamid_RT15-Jan-09 21:04 
GeneralRe: find store procedure Pin
George_George15-Jan-09 22:49
George_George15-Jan-09 22:49 
Questionsmarter ways to make a column value unique Pin
George_George14-Jan-09 2:01
George_George14-Jan-09 2:01 
AnswerRe: smarter ways to make a column value unique Pin
Colin Angus Mackay14-Jan-09 2:17
Colin Angus Mackay14-Jan-09 2:17 
GeneralRe: smarter ways to make a column value unique Pin
George_George14-Jan-09 2:30
George_George14-Jan-09 2:30 
AnswerRe: smarter ways to make a column value unique Pin
Hamid_RT15-Jan-09 2:28
Hamid_RT15-Jan-09 2:28 
QuestionHow to generate XML reoprt programmatically using SQL Server Reporting Services Pin
DipaliG13-Jan-09 18:32
DipaliG13-Jan-09 18:32 
AnswerCross-post Pin
Wendelius13-Jan-09 21:54
mentorWendelius13-Jan-09 21:54 
QuestionSQL Server 2005 query execution time Pin
sujithkumarsl13-Jan-09 18:05
sujithkumarsl13-Jan-09 18:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.