all groups > sql server notification services > march 2005 >
You're in the

sql server notification services

group:

executed an alter proc on database


executed an alter proc on database miriam healy
3/22/2005 11:17:53 AM
sql server notification services:
Out of interest, I have had the following happen and
wondered if anyone had an explanation for the strange
result:

I executed an 'Alter Proc' against one of the FireRule
stored procedures in a SNS database. This stored
procedure was an event rule.

After executing the 'Alter Proc' in SQL Analyser and
recieving a 'Command completed successfully' I ran
sp_helptext giving it the store procedure name and, as
expected, the result was the changed stored procedure.

However when, minutes later, I opened up the stored
procedure directly in SQL Enterprise it was the old
version of the procedure and not the new.

Has anyone else had this? Is there an explanation why it
happened?

Love if any light could be thrown on the matter.

Re: executed an alter proc on database Shyam Pather [MSFT]
3/22/2005 3:22:53 PM
Miriam,
I don't know why you're seeing the old version of the proc in Enterprise
Manager, but I want to point out that you should not be altering database
objects created by NS directly. If you do so, your application will likely
end up in an unusable (and unrecoverable) state. If you want to make changes
to an existing application, edit your ADF/config file and run nscontrol
update.

Thanks
-shyam

--
Learn more about SQL-NS:
http://www.amazon.com/exec/obidos/tg/detail/-/0672326647/
---------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm.
---------------------------------------------
[quoted text, click to view]

Re: executed an alter proc on database Joe Webb
3/24/2005 10:44:22 AM
Miriam -

You didn't by chance rebuild or update the application using NSControl
in the meantime, did you?

HTH...
Joe Webb
SQL Server MVP

~~~
Get up to speed quickly with SQLNS
http://www.amazon.com/exec/obidos/tg/detail/-/0972688811




[quoted text, click to view]
AddThis Social Bookmark Button