In SQL Server Transactional replication what all changes I can do on subscriber table
In SQL Server Transactional replication what changes I can do on subscriber table
Thanks
Hi Ajay.G,
According to your description, if you want to do some updates at the Subscriber, you need to note the following things.
•If TIMESTAMP or IDENTITY columns are used, and they are replicated as their base data types, values in these columns should not be updated at the Subscriber.
•Subscribers cannot update or insert text, ntext or image values . Instead, you could partition the text and image columns into a separate table and modify the two tables within a transaction.To update large objects at a Subscriber, use the
data types varchar(max), nvarchar(max), varbinary(max) instead of text, ntext, and image data types, respectively.
•Updates to unique keys (including primary keys) that generate duplicates and then they are not allowed and will be rejected because of a uniqueness violation.
•If the Subscriber database is partitioned horizontally and there are rows in the partition that exist at the Subscriber but not at the Publisher, the Subscriber cannot update the pre-existing rows.
For more information, see: Updatable Subscriptions for Transactional Replication
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support
Similar Messages
-
SQL Server Transactional replication, Oracle as Subcriber.
Hi,
I am Raja, I am new to SQL Server Replication(Non-SQL Subscriber). I have to configure SQL Server transactional replication from SQL Server database(Publisher) tables to Oracle(Subscriber) database in my development environment. I tried many times but I
couldn't. Could you please any one send reference link or screen shots? I tried in google and youtube but I didn't get proper screen shots or video.
Thanks,
RajaHi Raja,
According to your description, when you want to configure an Oracle subscriber, you need to install and configure Oracle client networking software
and the Oracle OLE DB provider on the SQL Server distributor. In addition, you also need to create a TNS name for the subscriber and a snapshot or transactional publication for non-SQL Server Subscribers.
For more information, you can review the following articles about Oracle subscribers.
http://technet.microsoft.com/en-us/library/ms151738.aspx
http://technet.microsoft.com/en-us/library/ms151195.aspx
Thanks,
Sofiya Li
Sofiya Li
TechNet Community Support -
I went to install additional items and found that the installation process has that product greyed out meaning it has been already installed. Where can I find it?
Thank you,
Oscar OsorioI went to install additional items and found that the installation process has that product greyed out meaning it has been already installed. Where can I find it?
If its greyed out it means its already installed and what do you mean by additional items can you be specific what you require. To give better look at what is installed on you system please run
Discovery report and post output here
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
SQL Server Transacational Replication Issue while adding a new article
I have a "PULL" transaction replication toplogy (SQL server 2008 R2 - publisher,subscriber & distributor) in place and is working fie. I added a new article (table) using sp_addarticle and it works fine. Then I tried to add subscription
to the new article using sp_adddsubscrition SPROC from the publisher (details below)
EXEC sp_addsubscription @publication = @pub_name, @article = @article_name, @subscriber = @sub_server, @destination_db
= @sub_dbname, @subscription_type = N'pull',@update_mode = N'read only', @sync_type = 'sutomatic', @status = 'active',
@reserved ='Internal'
I tried with all combination of values in the @sync_type parametr,
The above command fails with the following message:
Msg 14100, Level 16, State 1, Procedure sp_MSrepl_addsubscription, Line 533;
Specify all articles when subscribing to a publication using concurrent snapshot processing.
The sync_type value parameter is "replication support type" when the subscrition was added orginally to the publication. This trsnslates into a value of 3 (CONCURRENT) in sync_method
column on the outpout of sp_helppublication SP execution.
What am I doing wrong? Please advise. Your help is much appreciated.
Thanks in advance
KirtiThanks for your reposne, Mr. Cottr.
It was a type-oin the value for @sync_type parameter in the sp_addsubscription call when I posted this article originally. It was actually set to "automatic". I have posted the scripts per your request. These scripts are executed in SQLCMD mode in
SSMS query qindow. Since this is a PULL subscription, thre is another script for pP-addpullsubscription that is not incldued in this post. If you need that also, I will be glald to post that also. Thanks again for your help.
-->>>>>sp_addpublication:
USE [master]
GO
SQL Server Transactional Replication Related Scripts
Function: Configuring publication on the database at the publisher
-- TO DO: Parameters to set before executing this TSQL batch script
:SETVAR pub_dbname TestDB
:SETvar pub_name TestDB-TranPub01
:SETVAR distributor DISTRIBSVR
:SETVAR repl_admin_account <domain>\<account_name>
--replication admin account for non-prod environment
:SETVAR repl_admin_password <pwd>
--password for replication admin account
USE [$(pub_dbname)]
SET NOCOUNT ON
IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
BEGIN
RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
RETURN
END
DECLARE @dynsql sysname
,@repl_ddl int
,@allow_initialize_from_backup varchar(5)
SET @repl_ddl = 1 -- preferred value is 0 (replication of DDL statements prohibited; manually enabled
when needed only)
SET @allow_initialize_from_backup = 'true' -- preferred /do not change this value
-- Adding the transactional publication
DECLARE @desc varchar(255)
SET @desc = 'Transactional replication of database ' + QUOTENAME('$(pub_dbname)') +
' from publisher ' + QUOTENAME(@@servername) + '; Publication: ' + QUOTENAME('$(pub_name)')
PRINT '1. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
EXEC sp_addpublication
@publication = '$(pub_name)',
@description = @desc,
@retention = 0,
@add_to_active_directory = N'false',
@allow_push = N'false', -- push subscription disabled
@allow_pull = N'true', -- pull subscription enabled
@allow_anonymous = N'false',
@allow_sync_tran = N'false',
@allow_queued_tran = N'false',
@allow_dts = N'false',
@allow_initialize_from_backup = @allow_initialize_from_backup,
@allow_subscription_copy = N'false',
@compress_snapshot = N'false',
@enabled_for_internet = N'false',
@enabled_for_p2p = N'false',
@independent_agent = N'true',
@immediate_sync = N'false',
@repl_freq = N'continuous',
@replicate_ddl = @repl_ddl,
@snapshot_in_defaultfolder = N'true',
@status = N'inactive', -- initialy publication is inactive / activated later after articles
are added to the pblication
@sync_method = N'concurrent' -- preferred
IF @@ERROR <> 0 RETURN
PRINT '2. Configureing publication ' + QUOTENAME('$(pub_name)') + ' on database ' + QUOTENAME('$(pub_dbname)') + ' ...'
EXEC sp_addpublication_snapshot
@publication = '$(pub_name)',
@frequency_type = 1,
@frequency_interval = 1,
@frequency_relative_interval = 1,
@frequency_recurrence_factor = 0,
@frequency_subday = 8,
@frequency_subday_interval = 1,
@active_start_time_of_day = 0,
@active_end_time_of_day = 235959,
@active_start_date = 0,
@active_end_date = 0,
@job_login = '$(repl_admin_account)',
@job_password = '$(repl_admin_password)',
@publisher_security_mode = 1, --Windows authentiction
@publisher_login = '$(repl_admin_account)',
@publisher_password = '$(repl_admin_password)'
IF @@ERROR <> 0 RETURN
PRINT 'Executing sp_helppublication for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
EXEC sp_helppublication @publication = '$(pub_name)'
PRINT 'Executing sp_helppublication_snapshot for ' + QUOTENAME('$(pub_dbname)') + '.' + QUOTENAME('$(pub_name)') + ' ...'
EXEC sp_helppublication_snapshot @publication = '$(pub_name)'
--->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-->>>>sp_addsubscription
USE [master]
GO
SQL Server Transactional Replication Related Scripts
Function: Register the (pull) subscription at the subscriber
-- TO DO: Parameters to set before executing this TSQL batch script
:SETVAR publisher_dbname TestDB
:SETvar publication_name TestDB-TranPub01
:SETVAR subs_server SUBSVR
:SETVAR subs_dbname TestDB
:SETVAR distributor DISTRIBSVR
:SETVAR repl_admin_account <domain>\<account_name
--replication admin account for non-prod environment
:SETVAR repl_admin_password <pwd>
--password for replication admin account
USE [$(publisher_dbname)]
SET NOCOUNT ON
IF db_name() IN ('master', 'model', 'msdb', 'tempdb', 'distribution', 'DBA')
BEGIN
RAISERROR('Please set the user database name properly and rerun the script', 15, 100)
RETURN
END
DECLARE @dynsql sysname
,@distibutor sysname
,@subscriber sysname
,@pub_dbname sysname
,@pub_name sysname
,@pub_login sysname
,@pub_password sysname
,@dest_dbname sysname
,@job_login sysname
,@job_password sysname
,@repl_ddl int
,@allow_initialize_from_backup varchar(5)
SET @pub_dbname = '$(publisher_dbname)'
SET @pub_name = '$(publication_name)'
SET @subscriber = '$(subs_server)'
SET @dest_dbname = '$(subs_dbname)'
SET @distibutor = '$(distributor)'
SET @job_login = '$(repl_admin_account)'
-- used by replication agents to connect
to publisher for queued updating subscriptions
-- make sure account has DBO access on subscriber
db
SET @job_password = '$(repl_admin_password)'
PRINT '1. Adding subscriber for pull subsctiption of publication ' + QUOTENAME(@pub_name) + ' on database ' + QUOTENAME(@pub_dbname) + ' ...'
EXEC sp_addsubscription
@publication = @pub_name,
@article = 'all',
@subscriber = @subscriber,
@destination_db = @dest_dbname,
@subscription_type = N'pull',
@update_mode = N'read only',
@sync_type = 'replication support only',
@status = 'active'
IF @@ERROR <> 0 RETURN
Execute sp_helpsubscription @publication = 'FTBTrade_TEST-TranPub01'
--@pub_name -
Is sql server using trigger to capture change data in SQL server CDC?
hi all,
what is the Architecture of SQL server change data capture(CDC)? is sql server using trigger to capture change data in SQL server CDC? for example Change Data Capture (CDC) in SQL Server 2008 using we can capture change Data records INSERTs, UPDATEs, and
DELETEs applied to SQL Server tables.so my question is SQL server using triggers to capture change data like INSERT TRIGGER, UPDATE TRIGGER and DELETED TRIGGER using each tables after enabled CDC...?
Thanks
Tharindu Dhaneenja
Tharindu Dhaneenja http://dhaneenja.blogspot.comIt is not using triggers. The source is the transaction log.
Related link:
Basics of Change Data Capture
...The source of change data for change data capture is the SQL Server transaction log. As inserts, updates, and deletes are applied to tracked source tables, entries that describe those
changes are added to the log. The log serves as input to the change data capture capture process. This reads the log and adds information about changes to the tracked table’s associated change table. Functions are provided to enumerate
the changes that appear in the change tables over a specified range, returning the information in the form of a filtered result set. The filtered result set is typically used by an application process to update a representation of the source in some external
environment. ...
Kalman Toth, SQL Server & Business Intelligence Training; SQL Server 2008 Training -
SQL Server 2000 auditing/tracking DML changes on specific tables.
Hello,
We would like to audit/track all DML activities on couple of tables which reside on SQL Server 2000. Triggers are an option we think but thought that would impact performance because of activity on those tables. Could someone please suggest any other best
options that are possible with SQL Server 2000 to capture these changes.
Thanks,Hello,
You may consider third party tools that may still support SQL Server 2000. The following tool supported SQL Server 2000 a few years
ago, not sure about today:
http://www.apexsql.com/sql_tools_comply.aspx
Server side traces may be another option:
http://msdn.microsoft.com/en-us/library/cc293613.aspx
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Server Restore Full + SQL Server Transaction Log backup
Dear DB Admin,
I would like to restore my SQL Full + SQL Server Transaction Log backup. I tell you my current setup.. we have SQL Server 2005 full backup Time morning 6AM and SQL Server Transaction Log backup time at night 8 PM . I would like to restore
to new server full + SQL Server Transaction Log backup how can i do it please could you explain to us...
Best Regards
SubashDear Boss,
Thanks for your support . I followed your steps and restore full database with "No Recovery" option . it;s done 100% with out error . after i have
seen my database it's say green arrow up mark ( Restoring ) still going on ...
Please could tell my what is the problem ..what i did wrong options...
Best regards
Subash
did you also restore transaction log backup or just full backup??
do you have any transaction log backup taken after the full backup you restored?
do you want to restore transaction log backups as well, how many transaction log backups did you take after the full backup, you just restored. per your explanation, there should be one transaction log backup..
so,you now need to restore the transaction log backup..
Restore log <<RestoreDatabaseName>>
From DISK ='BackupFileLocation\Transaction_log_BackupFileName.bak' With File= <<fileposition>>,
,Recovery
Hope it Helps!! -
SQL Server 2012 Web synchronization option for SQL Server Merge Replication
I have 2 servers for this:
1. WIndows Server 2008 with SQL SERVER 2012
2. Windows Web SErver 2008 With IIS 7 - and SQL Client Conectivity Tools installed
https://192.168.100.8/sqlreplication/replisapi.dll?diag i have the next results:
Class Initialization test:
Class Status
ErrorCode
replisapi.dll classes SUCCESS 0x0
CLSID_SQLReplErrors FAILED 0x80040154
replrec.dll classes FAILED 0x80040154
msxml6.dll classes SUCCESS 0x0
Where replrec.dll is supposed to be? On the WebServer or Database Server? And if the answer is on the Webserver, how can i install it?
Thank you,
biionutHi biionut,
Did you install SQL Server 2012 Replication Components on the IIS server? The steps to install replication components are covered in
How to: Install SQL Server Replication Components.
Also, is your IIS server running 64-bit Windows? If so you will need to allow 32-bit applications to run on the IIS server:
cscript %SystemDrive%\inetpub\AdminScripts\adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1
Brandon Williams (blog |
linkedin) -
Guide to differences between SQL Server Transact SQL and Oracle PL/SQL
Does anyone know of a good book (or online guide) that has an in-depth comparison of the differences between SQL Server Transact SQL and Oracle PL/SQL? (Something more than a beginner's guide)
Hello,
Below links will surely be helpful
Discontinued features in SQL 2012
Depricated features in SQL Server 2012
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
SQL Server 2014 Replication: Peer-to-peer replication
SQL Server 2014 Replication wizard: Peer-to-peer replication -> Agent Security Settings setup only Log Reader Agent Security Settings are available.
After I selected replication type and articles only Log Reader Agent Status was available, the Snapshot Agent Reader Status displays text:
"A Snapshot Agent job has not been created for this publication."
Another issue with replication:
"Peer-to-peer publications only support a '@sync_type' parameter value of 'replication support only', 'initialize with backup' or 'initialize from lsn'.
The subscription could not be found."
Search how to resolve issues in SQL Server 2014?Please check this similar post ..
http://blogs.msdn.com/b/sqljourney/archive/2013/10/01/an-interesting-issue-with-peer-to-peer-replication.aspx
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/15701595-f5b1-4a10-b4aa-c56a94d64785/peertopeer-publications-only-support-a-synctype-parameter-value-of-replication-support-only?forum=sqlreplication
Raju Rasagounder Sr MSSQL DBA -
After all the ideas and help from here and almost 4 hours with a Dell technician, I'm no closer to success.
We went through all the suggested solutions involving registry edits/deletions that I could find. We still come up with "Consistency validation for SQL Server registry keys" failure. There are a series of SQL Server keys (HKEY/LOCAL/Software) that
we can see but we are prohibited from deleting.
I want to call Microsoft. Is there a special SQL Server phone #?
Eric JohnsonThe error is for 5 keys, The literal is "xxxxxxx can not be opened. An error is preventing this key from being opened. Details: Access is denied." where "xxxxx" is the name of the key.
The 5 keys are: CPE, MSSQLServer, Providers, Setup, and SQLServerSCP
Thanks,
Eric
Can you go to start > run > regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server and look for those keys.
On my machine they are located under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL12.SQL2014 (i have SQL 2014 named instance)
Are you able to open those five mentioned keys?
If not, then you can try resetting the permissions
http://answers.microsoft.com/en-us/windows/forum/windows_7-security/how-to-reset-all-user-permissions-to-default/9da312d2-c99b-4283-a275-e74d93dcc366
Balmukund Lakhani
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
This posting is provided "AS IS" with no warranties, and confers no rights.
My Blog |
Team Blog | @Twitter
| Facebook
Author: SQL Server 2012 AlwaysOn -
Paperback, Kindle -
Hii ..
need help on this ..
This what I am doing ..
I am using a DATAEXPORT function to export level0 data from my essbase 11.1.2.2 to Microsoft SQL 2008 tables.
So what I did first I exported the level0 data to a flat file using DATAEXPORT and the created the SQL columns by the same in that order only in my SQL table.
When I run it fails with this error:
ODBC Layer Error: [21S01] ==> [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021014)
ODBC Layer Error: Native Error code [213]
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Error(1012085)
Unable to export data to SQL table [dataexp]. Check the Essbase server log and the system console to determine the cause of the problem.
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021002)
SQL Connection is Freed
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Warning(1080014)
Transaction [ 0x1c50001( 0x51ee7d66.0x80342 ) ] aborted due to status [1012085].
[Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1012579)
Total Calc Elapsed Time for [test.csc] : [1.44] seconds
=============================================================
I did a simple test on my Sample.basic application then ..
loaded the calc data to it and then used the below script to export to a flat file
//ESS_LOCALE English_UnitedStates.Latin1@Binary
SET DATAEXPORTOPTIONS
DataExportLevel "Level0";
DataExportOverwriteFile ON;
DataExportColFormat OFF;
DataExportDimHeader OFF;
FIX(
"Jan",
"Sales",
"Actual"
/*DATAEXPORT "File" "," "/home/hypadmin/samtest.txt";*/
DATAEXPORT "DSN" "Abhitest" "sample" "sa" "welcome1";
ENDFIX
out put as below:
"Sales"
"100-30","California"
"Jan","Actual",145
Now In sql I created only 3 columns with name Jan/Sales/Actual and when I run this script again with comments removed .. I get the same error as what I have got in my first test case with other application ..
but when I create the columns with same name as what its in export
Sales/100-30/Califirnia/Jan/Actual
It created the new rows successfully ..
So with this I think the error which I am getting with my other application might be because of the same column issue .. but then I have created all the columns by looking at the export file only as I did in sample ..
Any idea would be helpful ..
Thanks
Abhishek
IFirst make sure you add
DataExportRelationalFile ON;
to your set commands it is missing
I alwats like to also add
DataExportColHeader dimensionName;
so I am sure what dimension is getting put into the columns.
Then count the number of dimensions in your outline (exclude attribute dimensions). You need at least that many columns in your table -1 + the number of members you will be returning as columns in the export
Taking your example Sample basic has 5 dimensions
Measures
Years
Scenario
Product
Market
Since you did not specify a dataexportcolheader it took the dense dimension Scenario as the columns. Your fix statement is limiting that to one member. Doing the math
5 -1 + 1 = 5 columns in your table which is what you found works. Suppose you fixed on bothe Actual and budget in scenario then you would need 6 columns 5 -1 +2 -
Without Payroll What all Modules I can Implement in SAP HR
Without Payroll What all module I can implement in SAP HR?
Asfar as my knowledge is concerned We can Time Management. Training and Event Management, Performanace Management, Recruitment & E Recruitment.
I guess For Travel Management too Payroll is required?
My Question Can I implement Personal Cost Planning without Payroll? Is it required that i needto configure Basic Wagetype that is 0008 Is that is required to configure Basic Wagetype for Personal Cost Planning?
Could you please throw some light on this?Hi,
According to SAP help you need to implement Organizational management at least in order to be using Personnel Cost Planning.
However, depending on the functions you require you need to implement other HR submodules and integrate with Personnel Cost Planning component. For this integration considerations please check below:
Integration With Other Application Components
aFunction Required
bComponent Required
1a Include all payment-relevant information from HR master data when creating personnel cost plans
1bPersonnel Administration (PA-PA)
2a Include all payroll results when creating personnel cost plans
2b Payroll (PY)
2a Include all training costs when creating personnel cost plans
2a Include personnel cost plans when creating the budget for Training and Event Management
2b Training and Event Management (PE)
3a Include compensation guidelines for employees or planned compensation for jobs and positions when creating personnel cost plans
3a Include personnel cost plans when creating the budget for Compensation Management
3b Compensation Management (PA-CM)
4a Include personnel cost plans when generating commitment or budget data within personnel budget planning
4b Position Budgeting and Control (PA-PM-PB)
5a Include personnel cost plans in planning for the entire company
5b Controlling (CO)
6a Detailed reports, planned/actual comparisons
6b SAP Business Information Warehouse (SAP BW)
Ref: help.sap.com
Regards,
Dilek -
After
sql server 2012 installation, I attached my production db. Because of some reasons, i
changed sql engine account from network service user to system user by means of sql server configuration manager.
Now , there isn’t
a problem at sql server running system. But
I have doubts that
this can produce problems later. Because sql server database engine account must have privileges that listed below;
Log on as a service (SeServiceLogonRight)
Replace a process-level token (SeAssignPrimaryTokenPrivilege)
Bypass traverse checking (SeChangeNotifyPrivilege)
Adjust memory quotas for a process
(SeIncreaseQuotaPrivilege)
Permission to start SQL Writer
Permission to read the Event Log service
Permission to read the Remote Procedure Call service
While sql server installation, setup gives these
privileges to network service user automatically, but changing user by means of sql confugarition manager does not give these
privileges.
Now, system user has privileges listed below. And sql server has been running for 1,5 months without any problems.
Log on as a service (SeServiceLogonRight)
Bypass traverse checking
(SeChangeNotifyPrivilege) (Everyone user has his privileges. So i think that system user has this privilege also)
What problems can occur because of this situation? Shall i give other privileges to system user and restart sql server or not? And how can i give these privileges to system user listed below;
Replace a process-level token (
this can be set from user rights assignments)
Adjust memory quotas for a process
(this can be set from user rights assignments)
Permission to start SQL Writer (
? - give advice )
Permission to read the Event Log service (
? - give advice )
Permission to read the Remote Procedure Call service (
? - give advice )Our server is windows server 2008 r2 enterprise edition. I have looked the bunch of permissions in user rights menu that is in local security policy settings gui.
And i have seen those permissions below were not granted to system user;
Bypass traverse checking (SeChangeNotifyPrivilege)
Adjust memory quotas for a process
(SeIncreaseQuotaPrivilege)
So, briefly you say, don't panic ? -
Transactional Replication: Alter view changes are not reflect on Subscription database
Hi All,
we are configured transactional replication in our environment on sql server 2008 R2 , Yesterday I made a view alter on publisher database the view also present in replicated articles but unfortunately the changes not reflect in subscription, I already have
checked the : Replicate Schema change option in Subscription option its also true, there is not latency exist in replication monitor , i have checked the blocking on subscription and publication. one more thing I tested the changes on replicated table its
working fine
Please help me to fix the issue.
Regards,
Pawan Singh
ThanksHi Pawan,
According to your description, the alter on the view in publication doesn't be reflected in subscription database. As my analysis, the issue could be caused by that the distribution agent job doesn’t run after altering the view.
I make a test on my computer, and set up transactional replication to replicate tables and views. Firstly, when creating subscription, I set the distribution agent job ‘Run continuously’(as the screenshot below), and alter the view in publication database,
then the change is successfully reflected to the corresponding view in subscription database.
However, I also make another test with setting the distribution agent job ‘Run on demand only’(It is determined by you), and find that it is not reflected to subscription database unless I run the distribute agent job manually.
The distribution agent is used to read the updated transactions written to the distribution database and applies the change to the subscription database, so please check if your distribution agent job runs after you alter the view. If not, please run the
job and check if the issue still occurs.
Regards,
Michelle Li
Maybe you are looking for
-
bridge output module isn't working after following the tutorial from: https://helpx.adobe.com/bridge/kb/install-output-module-bridge-cc.html#Possible%20issues also I have no ''Bridge CC Extensions'' folder in my Adobe folder just an ''Bridge CC'' so
-
Hi, Can the following be done using standard SAP customizing or is an enhancement required : 1.Purchase order instead of purchase requisition? Can we use standard customizing or is an exit required. 2.Workflow - instead of an email being sent each ti
-
Any Oracle API to Finally close the PO Shipments
Hi, I have the requirement of Finally close the Number of PO shipments, I know there is a API (PO_ACTIONS.CLOSE_PO API )can be used to Finally close the PO at header level. Is there any sepecific API to finally close the PO shipments or how i can ach
-
Soap- XI- RFC- DB BPM scenario help
Hi, I want to implement a scenario like this. a third party system use the soap adapter to call the ECC RFC via XI.and i want to write the RFC response into another DB using the jdbc adapter.after that i want to send back the DB update_insert result
-
Gift won't download or install
I sent an app as a gift to a friend. It now says she redeemed it but it can't be installed at this time. What am I supposed to do?