Groups | Blog | Home
all groups > sql server replication > december 2006 >

sql server replication : Distribution Agent Error: Syntax error or access violation


Muhammad Shahzad Saleem
12/13/2006 1:06:06 PM
I am getting this error in the distribution agent that I setup for
transactional replication. The last command which failed is like "CALL
sp_MSins_CompanyName$Trans_ Sales Entry ("

The table name is lengthy and contains spaces too. I believe this is because
of the spaces in the stored procedure name which is causing the syntax
error.
The problem is, I cant rename the tables to ommit the spaces. Isnt there any
way to rename the stored procedures and relink them with the new name so
that the new renamed procedure should be called rather than system keep on
looking for the procedure with the original name?

If there any solution in SQL for this issue that would be great otherwise I
must have to do some workaround if possible.

Muhammad

Hilary Cotter
12/15/2006 5:08:47 PM
When you create your publication you can specify the name of the stored
procedure you wish to use. SQL Server will autogenerate that stored
procedure with the name.

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



[quoted text, click to view]

AddThis Social Bookmark Button