Click here to Skip to main content
15,920,602 members
Home / Discussions / Database
   

Database

 
AnswerRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 4:39
mentorWendelius14-Jan-09 4:39 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 5:00
George_George14-Jan-09 5:00 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 5:48
mentorWendelius14-Jan-09 5:48 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 5:57
George_George14-Jan-09 5:57 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 6:25
mentorWendelius14-Jan-09 6:25 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 16:34
George_George14-Jan-09 16:34 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 20:01
mentorWendelius14-Jan-09 20:01 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 21:55
George_George14-Jan-09 21:55 
GeneralRe: What is the meaning of the return value and error message? Pin
J4amieC14-Jan-09 22:32
J4amieC14-Jan-09 22:32 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 22:47
George_George14-Jan-09 22:47 
Questionfind store procedure Pin
George_George14-Jan-09 2:44
George_George14-Jan-09 2:44 
AnswerRe: find store procedure Pin
Paddy Boyd14-Jan-09 2:47
Paddy Boyd14-Jan-09 2:47 
GeneralRe: find store procedure Pin
George_George14-Jan-09 4:37
George_George14-Jan-09 4:37 
GeneralRe: find store procedure Pin
Paddy Boyd14-Jan-09 4:41
Paddy Boyd14-Jan-09 4:41 
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 

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.