System Stored Procedures

  • 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?

  • 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

  • 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.

  • 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]

  • 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

  • SQL Server 2000.

    I am viewing this in the enterprise manager.

    My sps start with Gsp_

    Please see attachment.

  • Its working fine now after restarting the SQL Server Service.

    Thanks.

  • 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]

  • Sounds like the tool flaked. I wouldn't worry about it unless it happens again.

  • 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