November 28, 2008 at 12:48 am
This morning when I created a stored procedure it reflected as a system stored procedure. Till yesterday the sa login was creating user stored procedures..Am not able to understand why this happened?
November 28, 2008 at 2:13 am
Hi,
I don't quite follow; the only way to have a stored procedure "reflect" as a system stored procedure is to run EXECUTE sp_ms_marksystemobject.
Can you give more specific on:
- in what way it is "reflecting" as a system stored procedure
- where does 'sa' enter the picture?
- what is the actual problem?
/Elisabeth
elisabeth@sqlserverland.com
MCITP | MCT
http://sqlblog.com/blogs/elisabeth_redei/
http://linkedin.com/in/elisabethredei
November 28, 2008 at 2:28 am
When I create a stored procedure it is getting marked as a system stored procedure, as in the type is getting reflected as 'System' instead of 'User'.
Is there any setting which might have accidently gotten set which causes this behaviour, because till yesterday this was not so.
Both new tables and procedures are getting marked as system objects.
I thought it was a login issue but I am not sure.
November 28, 2008 at 8:32 am
rosh (11/28/2008)
When I create a stored procedure it is getting marked as a system stored procedure, as in the type is getting reflected as 'System' instead of 'User'.
In what tool are you seeing this and where in that tool?
Also, you aren't naming your stored procedures beginning with "sp_" are you?
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
November 28, 2008 at 8:55 am
Which version of SQL Server are you on and as previously asked, what tool are you looking in or which query are you issuing to get this information?
/Elisabeth
elisabeth@sqlserverland.com
MCITP | MCT
http://sqlblog.com/blogs/elisabeth_redei/
http://linkedin.com/in/elisabethredei
November 30, 2008 at 9:35 pm
SQL Server 2000.
I am viewing this in the enterprise manager.
My sps start with Gsp_
Please see attachment.
November 30, 2008 at 9:54 pm
Its working fine now after restarting the SQL Server Service.
Thanks.
November 30, 2008 at 10:11 pm
Ooo Kay...
?
[font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
Proactive Performance Solutions, Inc. [/font][font="Verdana"] "Performance is our middle name."[/font]
December 1, 2008 at 3:47 pm
Sounds like the tool flaked. I wouldn't worry about it unless it happens again.
December 1, 2008 at 10:24 pm
Hope so, I wanted to restart the service at that moment but was apprehensive as there were releases to be made that day. Didnt want the whole thing to conk out.
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply