Re: "Hidden" Replication Stored Procedures?
- From: zerg2k@xxxxxxxxx
- Date: 21 Dec 2006 12:08:36 -0800
Just make a copy of the database files, attach it with a different name
and... 'voila'!
:-)
Chris wrote:
Great, that was exactly what I was looking for and when opening the
aforementioned MDF file in Notepad and doing a quick search, I found the SPs
I had mentioned in my earlier post. Thanks for the good info!
I have one follow up question based on your answer:
Is there a way to have the Resource Database appear in the list of Databases
in SQL Server Management Studio for easy browsing of it's contents, or is the
only browse option to open the MDF file with a text editor such as notepad?
--
Thanks.
Chris Jones
Application Development Consultant
"Hilary Cotter" wrote:
they are in mssqlsystemresource.mdf. Open it in a text editor to read what
this proc does.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Chris" <Chris@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:420DD987-9E55-46AB-8445-82FD01740996@xxxxxxxxxxxxxxxx
In looking thru the code for the replication related stored procedure
sp_addarticle, I noticed that there were 2 stored procedures called from
sp_addarticle that I can't seem to find anywhere on my SQL Server:
sys.sp_MSrepl_getpublisherinfo & sys.sp_MSrepl_addarticle. These are
stored
procedures that appear to be undocumented and I have read comments on
Microsoft sites stating things like: "Undocumented stored procedures are
only
for the use of internal replication components and should not be used to
administer replication.". I just want to know more about these stored
procs
(and others like these) as far as where they live, what they do, how
sp_addarticle calls these Stored Procs without the SP blowing up.....as I
have tried to call sys.sp_MSrepl_getpublisherinfo in a 10 line script I
made
and all I got back was that the sys.sp_MSrepl_getpublisherinfo couldn't be
found no matter what DB I tried to execute against. I don't see anything
helpful about these SPs when I Google (and I am a Google master) or
anywhere
else. If anyone has anything relevant & helpful, I would appreciate the
info.
--
Thanks.
Chris Jones
Application Development Consultant
.
- Follow-Ups:
- Re: "Hidden" Replication Stored Procedures?
- From: Chris
- Re: "Hidden" Replication Stored Procedures?
- References:
- Re: "Hidden" Replication Stored Procedures?
- From: Hilary Cotter
- Re: "Hidden" Replication Stored Procedures?
- From: Chris
- Re: "Hidden" Replication Stored Procedures?
- Prev by Date: Re: "Hidden" Replication Stored Procedures?
- Next by Date: Deadlock between Distribution Agent and Distribution Agent Cleanup
- Previous by thread: Re: "Hidden" Replication Stored Procedures?
- Next by thread: Re: "Hidden" Replication Stored Procedures?
- Index(es):
Relevant Pages
|