|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 12:35 AM
Points: 82,
Visits: 443
|
|
Hi,
i have this strange thing going on. when i create a procedure in the master database it appears in the system stored procedures folder. can anyone explain me how this comes. maybe something to do with the user mapping?? platform: sql server 2005 64-bits enterprise / os : windows 2003 64-bits enterprise
kind regards,
Bryan
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 8:41 AM
Points: 2,562,
Visits: 3,451
|
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 12:35 AM
Points: 82,
Visits: 443
|
|
| the name is random. not a specific name op this SP. let's call it test.
|
|
|
|
|
SSCommitted
      
Group: General Forum Members
Last Login: Yesterday @ 1:56 PM
Points: 1,658,
Visits: 8,564
|
|
Is your problem resolved?
MJ
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 12:35 AM
Points: 82,
Visits: 443
|
|
My problem is not solved yet. i hope someone can help me on this one. maybe it's a user issue?? so normally when you create a stored procedure in the master database it will not end up in the system stored procedures folder, but in my case it is.
kind regards,
Bryan
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Today @ 2:19 AM
Points: 1,257,
Visits: 4,258
|
|
| You're not prefacing the name of your procedure with sp_, are you? That's reserved for system stored procedures.
|
|
|
|
|
SSC Journeyman
      
Group: General Forum Members
Last Login: Monday, April 01, 2013 12:35 AM
Points: 82,
Visits: 443
|
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 8:07 PM
Points: 442,
Visits: 1,301
|
|
I've tested this on my SQL 2005 server and can't get it to save an object in System Stored procs.
Are you sure they are actually defined as system stored procs? In SQL 2005 the view is a bit misleading as there isn't a seperate User Stored Procs folder. All the user stored procs appear under "Stored Procedures", and there is a seperate "System Stored Procedures" folder on the same level, but it's at the top of the list, so it does look a bit like everythin is in that folder.
Cheers
Leo
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: 2 days ago @ 12:03 PM
Points: 412,
Visits: 862
|
|
what is the schema of your SP its not sys. right.
if you give the name with sys. spname it creates in system store proc.
--SQLFRNDZ
|
|
|
|
|
SSC-Addicted
      
Group: General Forum Members
Last Login: Yesterday @ 8:07 PM
Points: 442,
Visits: 1,301
|
|
pavan_srirangam (10/12/2010) what is the schema of your SP its not sys. right.
if you give the name with sys. spname it creates in system store proc.
I tested this and it wouldn't let me create a stored proc with the sys. prefix. Also if you look in System Stored Procs you will see stored procs owned by dbo, so this isn't definitive.
I've looked in sys.sysobjects and can't see any way of identifying a stored proc as belonging to the system stored procs. I'm not sure how SQL determines this, does anyone else?
Leo
|
|
|
|