Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
funketekun
Constraint Violating Yak Guru
491 Posts |
Posted - 2007-09-12 : 17:21:59
|
| I found a few SP. Just want to know whether they are sys stored procedures or not? there is not sql job calling it. Any way to find out what application is using it?SET QUOTED_IDENTIFIER ON GOSET ANSI_NULLS ON GOALTER procedure "sp_MSdel_CUSADS" @pkc1 char(4), @pkc2 numeric(8,0), @pkc3 numeric(1,0) asdelete "CUSADS"where "CACONO" = @pkc1 and "CACUSN" = @pkc2 and "CAADTP" = @pkc3if @@rowcount = 0 if @@microsoftversion>0x07320000 exec sp_helptext sp_MSreplraiserror 20598GOSET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GO=============================http://www.sqlserverstudy.com |
|
|
dinakar
Master Smack Fu Yak Hacker
2507 Posts |
Posted - 2007-09-12 : 17:27:23
|
| It is a replication related delete proc on the table CUSADS.Dinakar Nethi************************Life is short. Enjoy it.************************http://weblogs.sqlteam.com/dinakar/ |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2007-09-12 : 17:28:48
|
| This looks like a replication stored procedure. When you setup replication and keep the default of sending the commands via stored procedures rather than through DML statements, it creates these objects for each article:sp_MSdel_ObjectNamesp_MSins_ObjectNamesp_MSupd_ObjectNameDo not delete these objects unless you aren't using replication anymore.Tara KizerMicrosoft MVP for Windows Server System - SQL Serverhttp://weblogs.sqlteam.com/tarad/ |
 |
|
|
|
|
|