Re: Custom Procedure Replication Error with Oracle Subscriber
- From: "Michael Meyer" <michael_meyer@xxxxxxxxxxxxxx>
- Date: Mon, 9 Jul 2007 15:19:53 -0500
The reason we were drawn to the custom procedure is that we have long column
names > 30 characters in SQL Server and Oracle can only handle up to 30.
We are trying to handle the mapping in the custom stored procedure in Oracle
since there is no way to do this in SQL Server that we could come up with.
"Hilary Cotter" <hilary.cotter@xxxxxxxxx> wrote in message
news:O$MTbRmwHHA.4076@xxxxxxxxxxxxxxxxxxxxxxx
Configure the publication to use SQL Statements instead of the stored
procedures. In the Publication Properties, Articles tab, Select the
properties of the article and Insert, Update and delete deliver formats
select insert statements.
--
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
"Michael Meyer" <michael_meyer@xxxxxxxxxxxxxx> wrote in message
news:OSxakFlwHHA.484@xxxxxxxxxxxxxxxxxxxxxxx
The Oracle side is actually the subscriber. It does appear that it is
treating this as a table instead of a stored procedure. I can't see
anything wrong with the article. The article has the insert and update
commands defined as CALL stored procedures and the actual command names
are the correct stored procedure names.
"Hilary Cotter" <hilary.cotter@xxxxxxxxx> wrote in message
news:uIyD82kwHHA.600@xxxxxxxxxxxxxxxxxxxxxxx
Oracle publishers only replicate tables. It looks like here Oracle is
treating the stored procedure as a table, and is trying to return all
the data as opposed to only the columns (where 1=1).
Oracle publications do add the following objects on the Oracle server:
http://msdn2.microsoft.com/en-us/library/ms152557.aspx
--
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
"Michael Meyer" <michael_meyer@xxxxxxxxxxxxxx> wrote in message
news:uoQ%232bjwHHA.4800@xxxxxxxxxxxxxxxxxxxxxxx
The custom procedure was created successfully on Oracle.
The following is the error message that is recieved. What is really
odd is why SQL Server is sending a select of a stored procedure name?
Any ideas as to what is going on here?
SQL> select * from sp_upd_crms_repl where 0 = 1;
select * from sp_upd_crms_repl where 0 = 1
*
ERROR at line 1:
ORA-04044: procedure, function, package, or type is not allowed here
.
- References:
- Custom Procedure Replication Error with Oracle Subscriber
- From: Michael Meyer
- Re: Custom Procedure Replication Error with Oracle Subscriber
- From: Hilary Cotter
- Re: Custom Procedure Replication Error with Oracle Subscriber
- From: Michael Meyer
- Re: Custom Procedure Replication Error with Oracle Subscriber
- From: Hilary Cotter
- Custom Procedure Replication Error with Oracle Subscriber
- Prev by Date: Re: Custom Procedure Replication Error with Oracle Subscriber
- Next by Date: Unable to Connect to server
- Previous by thread: Re: Custom Procedure Replication Error with Oracle Subscriber
- Next by thread: No-Sync Replication and Future Schema changes
- Index(es):
Relevant Pages
|